Skip to content

Commit 933e382

Browse files
authored
Merge pull request #2430 from DanielNoord/drop-39
Drop support for Python 3.9
2 parents 9f1be49 + 8b6e00c commit 933e382

File tree

13 files changed

+92
-252
lines changed

13 files changed

+92
-252
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222

2323
steps:

docs/configuration/black_compatibility.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ A demo of how this would look like in your _.travis.yml_
3333
language: python
3434
python:
3535
- "3.10"
36-
- "3.9"
3736

3837
install:
3938
- pip install -r requirements-dev.txt

docs/contributing/1.-contributing-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Account Requirements:
1414

1515
Base System Requirements:
1616

17-
- Python3.9+
17+
- Python3.10+
1818
- uv
1919
- bash or a bash compatible shell (should be auto-installed on Linux / Mac)
2020
- WSL users running Ubuntu may need to install Python's venv module even after installing Python.

example_isort_formatting_plugin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.1"
44
description = "An example plugin that modifies isort formatting using black."
55
authors = [{name = "Timothy Crosley", email = "timothy.crosley@gmail.com"}, {name = "staticdev", email = "staticdev-support@proton.me"}]
66
license = "MIT"
7-
requires-python = ">=3.9.0"
7+
requires-python = ">=3.10.0"
88
dependencies = [
99
"isort>=5.13.2",
1010
"black>=24.3.0",

example_isort_formatting_plugin/uv.lock

Lines changed: 69 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example_isort_sorting_plugin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "An example plugin that modifies isorts sorting order to provide an even more natural sort by utilizing natsort."
55
authors = [{name = "Timothy Crosley", email = "timothy.crosley@gmail.com"}, {name = "staticdev", email = "staticdev-support@proton.me"}]
66
license = "MIT"
7-
requires-python = ">=3.9.0"
7+
requires-python = ">=3.10.0"
88
dependencies = [
99
"natsort>=7.1.1"
1010
]

example_isort_sorting_plugin/uv.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example_shared_isort_profile/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "An example shared isort profile"
55
authors = [{name = "Timothy Crosley", email = "timothy.crosley@gmail.com"}, {name = "staticdev", email = "staticdev-support@proton.me"}]
66
license = "MIT"
7-
requires-python = ">=3.9.0"
7+
requires-python = ">=3.10.0"
88

99
[project.entry-points."isort.profiles"]
1010
example = "example_shared_isort_profile:PROFILE"

example_shared_isort_profile/uv.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers = [
2020
"License :: OSI Approved :: MIT License",
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
2625
"Programming Language :: Python :: 3.12",
@@ -37,15 +36,9 @@ include = [
3736
{ path = "ACKNOWLEDGEMENTS.md", format = "sdist" },
3837
{ path = "LICENSE", format = "sdist" },
3938
]
40-
requires-python = ">=3.9.0"
41-
42-
dependencies = [
43-
# we only need the entry_points() function, which appeared in the stdlib
44-
# in Python 3.10.
45-
# importlib_metadata 4.6 is the version matching stdlib 3.10
46-
# See grid at https://pypi.org/project/importlib-metadata/
47-
"importlib_metadata >= 4.6.0; python_version < '3.10'",
48-
]
39+
requires-python = ">=3.10.0"
40+
41+
dependencies = []
4942

5043
[project.urls]
5144
Homepage = "https://pycqa.github.io/isort/index.html"
@@ -163,7 +156,7 @@ per-file-ignores = [
163156
]
164157

165158
[tool.mypy]
166-
python_version = 3.9
159+
python_version = "3.10"
167160
strict = true
168161
follow_imports = "silent"
169162
exclude = "isort/_vendored|tests/unit/example_projects|tests/unit/example_crlf_file.py"

0 commit comments

Comments
 (0)