Skip to content

Commit f5cf6b9

Browse files
committed
update supported Python versions
remove EOL Python versions
1 parent 02afcab commit f5cf6b9

File tree

4 files changed

+36
-23
lines changed

4 files changed

+36
-23
lines changed

.github/workflows/ci.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ jobs:
1313
max-parallel: 5
1414
matrix:
1515
python-version:
16-
- 3.6
17-
- 3.7
18-
- 3.8
19-
- 3.9
20-
- pypy3
16+
- "3.9"
17+
- "3.10"
18+
- "3.11"
19+
- "3.12"
20+
- "3.13"
21+
- "pypy3.9"
2122

2223
steps:
2324
- uses: actions/checkout@v2
24-
- uses: actions/setup-python@v2
25+
- uses: actions/setup-python@v5
2526
with:
2627
python-version: ${{ matrix.python-version }}
2728
- name: Install tox

CHANGELOG.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ dev
66

77
**API Changes (Backward Incompatible)**
88

9-
-
9+
- Support for Python 3.6 has been removed.
10+
- Support for Python 3.7 has been removed.
11+
- Support for Python 3.8 has been removed.
12+
13+
**API Changes (Backward Compatible)**
14+
15+
- Support for Python 3.9 has been added.
16+
- Support for Python 3.10 has been added.
17+
- Support for Python 3.11 has been added.
18+
- Support for Python 3.12 has been added.
19+
- Support for Python 3.13 has been added.
1020

1121
**Bugfixes**
1222

setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,19 @@
3131
packages=find_packages(where="src"),
3232
package_data={'hpack': []},
3333
package_dir={'': 'src'},
34-
python_requires='>=3.6.1',
34+
python_requires='>=3.9.0',
3535
license='MIT License',
3636
classifiers=[
3737
'Development Status :: 5 - Production/Stable',
3838
'Intended Audience :: Developers',
3939
'License :: OSI Approved :: MIT License',
4040
'Programming Language :: Python',
4141
'Programming Language :: Python :: 3',
42-
'Programming Language :: Python :: 3.6',
43-
'Programming Language :: Python :: 3.7',
44-
'Programming Language :: Python :: 3.8',
4542
'Programming Language :: Python :: 3.9',
43+
'Programming Language :: Python :: 3.10',
44+
'Programming Language :: Python :: 3.11',
45+
'Programming Language :: Python :: 3.12',
46+
'Programming Language :: Python :: 3.13',
4647
'Programming Language :: Python :: Implementation :: CPython',
4748
'Programming Language :: Python :: Implementation :: PyPy',
4849
],

tox.ini

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[tox]
2-
envlist = py36, py37, py38, py39, pypy3, lint, docs, packaging
2+
envlist = py39, py310, py311, py312, py313, pypy3, lint, docs, packaging
33

44
[gh-actions]
55
python =
6-
3.6: py36
7-
3.7: py37
8-
3.8: py38
96
3.9: py39, lint, docs, packaging
7+
3.10: py310
8+
3.11: py311
9+
3.12: py312
10+
3.13: py313
1011
pypy3: pypy3
1112

1213
[testenv]
@@ -31,8 +32,8 @@ commands = flake8 src/ test/ utils/
3132

3233
[testenv:docs]
3334
deps =
34-
sphinx>=4.0.2,<5
35-
whitelist_externals = make
35+
sphinx>=7.4.7,<9
36+
allowlist_externals = make
3637
changedir = {toxinidir}/docs
3738
commands =
3839
make clean
@@ -41,10 +42,10 @@ commands =
4142
[testenv:packaging]
4243
basepython = python3.9
4344
deps =
44-
check-manifest==0.46
45-
readme-renderer==29.0
46-
twine>=3.4.1,<4
47-
whitelist_externals = rm
45+
check-manifest==0.50
46+
readme-renderer==44.0
47+
twine>=5.1.1,<6
48+
allowlist_externals = rm
4849
commands =
4950
rm -rf dist/
5051
check-manifest
@@ -55,7 +56,7 @@ commands =
5556
basepython = {[testenv:packaging]basepython}
5657
deps =
5758
{[testenv:packaging]deps}
58-
whitelist_externals = {[testenv:packaging]whitelist_externals}
59+
allowlist_externals = {[testenv:packaging]allowlist_externals}
5960
commands =
6061
{[testenv:packaging]commands}
6162
twine upload dist/*
@@ -68,7 +69,7 @@ commands =
6869
pytest {toxinidir}/bench/ --benchmark-only --benchmark-group-by=name --benchmark-autosave --benchmark-compare --benchmark-min-rounds=500000
6970

7071
[testenv:create_test_output]
71-
basepython = python3.7
72+
basepython = python3.9
7273
; rm -rf hpack-test-case/
7374
; git clone https://github.com/http2jp/hpack-test-case.git
7475
commands = python {toxinidir}/utils/create_test_output.py {posargs}

0 commit comments

Comments
 (0)