Skip to content

Commit 889a564

Browse files
committed
Clarify which Python versions are supported
Following on from 4746b0a Python 3.5 is not supported (has reached EoL) and 3.9 is (has been released).
1 parent 4746b0a commit 889a564

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

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.5-3.8) and PyPy 3.
115+
Currently it supports Python 3 (testing on 3.6-3.9) 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.5+ (PyPy works great)
47+
* Requirements: Python 3.6+ (PyPy works great)
4848

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

newsfragments/114.removal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Python 2.7 and PyPy 2 support is removed. h11 now requires Python>=3.5 including PyPy 3.
1+
Python 2.7 and PyPy 2 support is removed. h11 now requires Python>=3.6 including PyPy 3.
22
Users running `pip install h11` on Python 2 will automatically get the last Python 2-compatible version.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# This means, just install *everything* you see under h11/, even if it
1818
# doesn't look like a source file, so long as it appears in MANIFEST.in:
1919
include_package_data=True,
20-
python_requires=">=3.5",
20+
python_requires=">=3.6",
2121
classifiers=[
2222
"Development Status :: 3 - Alpha",
2323
"Intended Audience :: Developers",
@@ -26,10 +26,10 @@
2626
"Programming Language :: Python :: Implementation :: PyPy",
2727
"Programming Language :: Python :: 3",
2828
"Programming Language :: Python :: 3 :: Only",
29-
"Programming Language :: Python :: 3.5",
3029
"Programming Language :: Python :: 3.6",
3130
"Programming Language :: Python :: 3.7",
3231
"Programming Language :: Python :: 3.8",
32+
"Programming Language :: Python :: 3.9",
3333
"Topic :: Internet :: WWW/HTTP",
3434
"Topic :: System :: Networking",
3535
],

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist = format, py36, py37, py38, pypy3
2+
envlist = format, py36, py37, py38, py39, pypy3
33

44
[gh-actions]
55
python =
66
3.6: py36
77
3.7: py37
88
3.8: py38, format
9+
3.9: py39
910
pypy3: pypy3
1011

1112
[testenv]

0 commit comments

Comments
 (0)