Skip to content

Commit fe26b62

Browse files
committed
Compatibility with Python 3.8 and 3.9 has been removed
### Changed - Removed support for Python 3.8 and 3.9 from `pyproject.toml` and updated the `requires-python` field to require Python 3.10 or higher. - Adjusted the `target-version` in the Black configuration to reflect the removal of older Python versions. - Updated the CI workflow to only include Python versions 3.10 and above in the matrix.
1 parent c26e274 commit fe26b62

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
15+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1616
beta: [false, true]
1717
steps:
1818
- name: Checkout repository

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ classifiers = [
4848
"License :: OSI Approved :: MIT License",
4949
"Operating System :: OS Independent",
5050
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.8",
52-
"Programming Language :: Python :: 3.9",
5351
"Programming Language :: Python :: 3.10",
5452
"Programming Language :: Python :: 3.11",
5553
"Programming Language :: Python :: 3.12",
@@ -59,7 +57,7 @@ classifiers = [
5957
"Topic :: Text Processing :: General",
6058
"Typing :: Typed",
6159
]
62-
requires-python = ">=3.8"
60+
requires-python = ">=3.10"
6361
dependencies = []
6462

6563
[project.optional-dependencies]
@@ -92,7 +90,7 @@ agent_docstrings = ["py.typed", "bin/*"]
9290

9391
[tool.black]
9492
line-length = 88
95-
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
93+
target-version = ['py310', 'py311', 'py312', 'py313']
9694
include = '\.pyi?$'
9795
extend-exclude = '''
9896
/(
@@ -109,7 +107,7 @@ extend-exclude = '''
109107
'''
110108

111109
[tool.mypy]
112-
python_version = "3.8"
110+
python_version = "3.10"
113111
warn_return_any = true
114112
warn_unused_configs = true
115113
disallow_untyped_defs = true

0 commit comments

Comments
 (0)