Skip to content

Commit 5497a73

Browse files
committed
Drop support for EOL Python 3.9
1 parent c799028 commit 5497a73

4 files changed

Lines changed: 12 additions & 19 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
name: [
33-
"windows-py39",
33+
"windows-py310",
3434
"windows-py314",
3535
"windows-pypy3",
3636

3737
"ubuntu-py310-pytestmain",
38-
"ubuntu-py39",
3938
"ubuntu-py310",
4039
"ubuntu-py311",
4140
"ubuntu-py312",
@@ -46,10 +45,10 @@ jobs:
4645
]
4746

4847
include:
49-
- name: "windows-py39"
50-
python: "3.9"
48+
- name: "windows-py310"
49+
python: "3.10"
5150
os: windows-latest
52-
tox_env: "py39"
51+
tox_env: "py310"
5352
- name: "windows-py313"
5453
python: "3.13"
5554
os: windows-latest
@@ -59,19 +58,14 @@ jobs:
5958
os: windows-latest
6059
tox_env: "py314"
6160
- name: "windows-pypy3"
62-
python: "pypy3.9"
61+
python: "pypy3.11"
6362
os: windows-latest
6463
tox_env: "pypy3"
6564
- name: "ubuntu-py310-pytestmain"
6665
python: "3.10"
6766
os: ubuntu-latest
6867
tox_env: "py310-pytestmain"
6968
use_coverage: true
70-
- name: "ubuntu-py39"
71-
python: "3.9"
72-
os: ubuntu-latest
73-
tox_env: "py39"
74-
use_coverage: true
7569
- name: "ubuntu-py310"
7670
python: "3.10"
7771
os: ubuntu-latest
@@ -97,12 +91,12 @@ jobs:
9791
tox_env: "py314"
9892
use_coverage: true
9993
- name: "ubuntu-pypy3"
100-
python: "pypy3.9"
94+
python: "pypy3.11"
10195
os: ubuntu-latest
10296
tox_env: "pypy3"
10397
use_coverage: true
10498
- name: "ubuntu-benchmark"
105-
python: "3.9"
99+
python: "3.10"
106100
os: ubuntu-latest
107101
tox_env: "benchmark"
108102

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ repos:
2828
rev: v3.21.0
2929
hooks:
3030
- id: pyupgrade
31-
args: [--py39-plus]
31+
args: [--py310-plus]
3232
- repo: https://github.com/asottile/blacken-docs
3333
rev: 1.20.0
3434
hooks:
3535
- id: blacken-docs
36-
additional_dependencies: [black==24.2.0]
36+
additional_dependencies: [black==25.9.0]
3737
- repo: local
3838
hooks:
3939
- id: rst

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers = [
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
3029
"Programming Language :: Python :: 3.12",
@@ -33,7 +32,7 @@ classifiers = [
3332
]
3433
description = "plugin and hook calling mechanisms for python"
3534
readme = {file = "README.rst", content-type = "text/x-rst"}
36-
requires-python = ">=3.9"
35+
requires-python = ">=3.10"
3736

3837
dynamic = ["version"]
3938
[project.optional-dependencies]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=docs,py{39,310,311,312,313,314,py3},py{39}-pytestmain
2+
envlist=docs,py{310,311,312,313,314,py3},py{310}-pytestmain
33

44
[testenv]
55
commands=
@@ -40,7 +40,7 @@ filterwarnings =
4040

4141
[flake8]
4242
max-line-length=99
43-
min-python-version = 3.9
43+
min-python-version = 3.10
4444

4545
[testenv:release]
4646
description = do a release, required posarg of the version number

0 commit comments

Comments
 (0)