Skip to content

Commit 0a74272

Browse files
hugovkpgjones
authored andcommitted
Drop support for EOL Python 3.7
1 parent bddc91c commit 0a74272

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ jobs:
1313
max-parallel: 7
1414
matrix:
1515
python-version:
16-
- 3.7
1716
- 3.8
1817
- 3.9
1918
- "3.10"
2019
- "3.11"
2120
- "3.12"
22-
- pypy-3.7
23-
- pypy-3.8
21+
- pypy-3.9
22+
- pypy-3.10
2423

2524
steps:
2625
- uses: actions/checkout@v4

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.7-3.10) and PyPy 3.
115+
Currently it supports Python 3 (testing on 3.8-3.12) 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

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ whatever. But h11 makes it much easier to implement something like
4444
Vital statistics
4545
----------------
4646

47-
* Requirements: Python 3.7+ (PyPy works great)
47+
* Requirements: Python 3.8+ (PyPy works great)
4848

4949
The last Python 2-compatible version was h11 0.11.x.
5050

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818
# This means, just install *everything* you see under h11/, even if it
1919
# doesn't look like a source file, so long as it appears in MANIFEST.in:
2020
include_package_data=True,
21-
python_requires=">=3.7",
22-
install_requires=[
23-
"typing_extensions; python_version < '3.8'",
24-
],
21+
python_requires=">=3.8",
2522
classifiers=[
2623
"Development Status :: 3 - Alpha",
2724
"Intended Audience :: Developers",
@@ -30,7 +27,6 @@
3027
"Programming Language :: Python :: Implementation :: PyPy",
3128
"Programming Language :: Python :: 3",
3229
"Programming Language :: Python :: 3 :: Only",
33-
"Programming Language :: Python :: 3.7",
3430
"Programming Language :: Python :: 3.8",
3531
"Programming Language :: Python :: 3.9",
3632
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[tox]
2-
envlist = format, py{37, 38, 39, 310, 311, 312, py3}, mypy
2+
envlist = format, py{38, 39, 310, 311, 312, py3}, mypy
33

44
[gh-actions]
55
python =
6-
3.7: py37
76
3.8: py38
87
3.9: py39
98
3.10: py310
109
3.11: py311, format, mypy
1110
3.12: py312
12-
pypy-3.7: pypy3
13-
pypy-3.8: pypy3
11+
pypy-3.9: pypy3
12+
pypy-3.10: pypy3
1413

1514
[testenv]
1615
deps = -r{toxinidir}/test-requirements.txt

0 commit comments

Comments
 (0)