Skip to content

Commit 5a422e0

Browse files
committed
Drop support for EOL Python 3.9
1 parent 91ada99 commit 5a422e0

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
max-parallel: 7
1414
matrix:
1515
python-version:
16-
- 3.9
1716
- "3.10"
1817
- "3.11"
1918
- "3.12"

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build:
55
apt_packages:
66
- graphviz
77
tools:
8-
python: "3.9"
8+
python: "3.10"
99

1010
sphinx:
1111
configuration: docs/source/conf.py

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ library.
112112
It has a test suite with 100.0% coverage for both statements and
113113
branches.
114114

115-
Currently it supports Python 3 (testing on 3.9-3.14) and PyPy 3.
115+
Currently it supports Python 3 (testing on 3.10-3.14) and PyPy 3.
116116
The last Python 2-compatible version was h11 0.11.x.
117117
(Originally it had a Cython wrapper for `http-parser
118118
<https://github.com/nodejs/http-parser>`_ and a beautiful nested state

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
packages=find_packages(exclude=["h11.tests"]),
1616
package_data={'h11': ['py.typed']},
1717
url="https://github.com/python-hyper/h11",
18-
python_requires=">=3.9",
18+
python_requires=">=3.10",
1919
classifiers=[
2020
"Development Status :: 3 - Alpha",
2121
"Intended Audience :: Developers",
@@ -24,7 +24,6 @@
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",

tox.ini

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

44
[gh-actions]
55
python =
6-
3.9: py39, format, mypy
7-
3.10: py310
6+
3.10: py310, format, mypy
87
3.11: py311
98
3.12: py312
109
3.13: py313
@@ -16,14 +15,14 @@ deps = -r{toxinidir}/test-requirements.txt
1615
commands = pytest --cov=h11 --cov-config=.coveragerc h11
1716

1817
[testenv:format]
19-
basepython = python3.9
18+
basepython = python3.10
2019
deps = -r{toxinidir}/format-requirements.txt
2120
commands =
2221
black --check --diff h11/ bench/ examples/ fuzz/
2322
isort --check --diff --profile black --dt h11 bench examples fuzz
2423

2524
[testenv:mypy]
26-
basepython = python3.9
25+
basepython = python3.10
2726
deps =
2827
mypy==1.8.0
2928
pytest

0 commit comments

Comments
 (0)