Skip to content

Commit a23432e

Browse files
Deprecate Python 3.9 support (#138)
* Initial plan * Deprecate Python 3.9 support Co-authored-by: adrien-berchet <11536226+adrien-berchet@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: adrien-berchet <11536226+adrien-berchet@users.noreply.github.com>
1 parent 028b95d commit a23432e

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.github/workflows/run-tox.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.10", "3.11", "3.12"]
1717
min_versions: ["min_versions", "latest_versions"]
1818
exclude:
1919
- min_versions: "min_versions"
2020
include:
21-
- python-version: "3.9"
21+
- python-version: "3.10"
2222
min_versions: "min_versions"
2323

2424
steps:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ local_scheme = "no-local-version"
1111
[tool.black]
1212
line-length = 100
1313
target-version = [
14-
"py39",
1514
"py310",
1615
"py311",
1716
"py312",

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
license="Apache License 2.0",
5454
packages=find_namespace_packages(include=["luigi_tools*"]),
55-
python_requires=">=3.9",
55+
python_requires=">=3.10",
5656
use_scm_version=True,
5757
setup_requires=[
5858
"setuptools_scm",
@@ -71,7 +71,6 @@
7171
"License :: OSI Approved :: Apache Software License",
7272
"Programming Language :: Python",
7373
"Programming Language :: Python :: 3",
74-
"Programming Language :: Python :: 3.9",
7574
"Programming Language :: Python :: 3.10",
7675
"Programming Language :: Python :: 3.11",
7776
"Programming Language :: Python :: 3.12",

tox.ini

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ envlist =
88
lint
99
docs
1010
min_versions
11-
py{39,310,311,312}
11+
py{310,311,312}
1212
coverage
1313

1414
minversion = 3.18
@@ -45,7 +45,7 @@ commands =
4545
twine check {envtmpdir}/dist/*
4646

4747
[testenv:min_versions]
48-
basepython = python3.9
48+
basepython = python3.10
4949
deps =
5050
Requirements-Builder
5151
commands_pre =
@@ -54,7 +54,7 @@ commands_pre =
5454
pip freeze
5555

5656
[testenv:lint]
57-
basepython = python3.9
57+
basepython = python3.10
5858
deps =
5959
mock
6060
pre-commit
@@ -65,7 +65,7 @@ commands =
6565
pylint -j {env:PYLINT_NPROCS:1} {[base]files}
6666

6767
[testenv:format]
68-
basepython = python3.9
68+
basepython = python3.10
6969
skip_install = true
7070
deps =
7171
codespell
@@ -84,7 +84,6 @@ commands = make html SPHINXOPTS=-W
8484

8585
[gh-actions]
8686
python =
87-
3.9: py39, lint
88-
3.10: py310, check-packaging
87+
3.10: py310, lint, check-packaging
8988
3.11: py311, docs
9089
3.12: py312

0 commit comments

Comments
 (0)