Skip to content

Commit 8174dfd

Browse files
committed
update supported Python versions
remove EOL Python versions
1 parent 554fcad commit 8174dfd

File tree

4 files changed

+31
-23
lines changed

4 files changed

+31
-23
lines changed

.github/workflows/ci.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ 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
2425
with:
2526
submodules: recursive
26-
- uses: actions/setup-python@v2
27+
- uses: actions/setup-python@v5
2728
with:
2829
python-version: ${{ matrix.python-version }}
2930
- name: Install tox

CHANGELOG.rst

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ 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.
1012

1113
**API Changes (Backward Compatible)**
1214

13-
-
15+
- Support for Python 3.10 has been added.
16+
- Support for Python 3.11 has been added.
17+
- Support for Python 3.12 has been added.
18+
- Support for Python 3.13 has been added.
1419

1520
**Bugfixes**
1621

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={'hyperframe': ['py.typed']},
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

+12-11
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]
@@ -33,8 +34,8 @@ commands =
3334

3435
[testenv:docs]
3536
deps =
36-
sphinx>=4.0.2,<5
37-
whitelist_externals = make
37+
sphinx>=7.4.7,<9
38+
allowlist_externals = make
3839
changedir = {toxinidir}/docs
3940
commands =
4041
make clean
@@ -43,10 +44,10 @@ commands =
4344
[testenv:packaging]
4445
basepython = python3.9
4546
deps =
46-
check-manifest==0.46
47-
readme-renderer==29.0
48-
twine>=3.4.1,<4
49-
whitelist_externals = rm
47+
check-manifest==0.50
48+
readme-renderer==44.0
49+
twine>=5.1.1,<6
50+
allowlist_externals = rm
5051
commands =
5152
rm -rf dist/
5253
check-manifest
@@ -57,7 +58,7 @@ commands =
5758
basepython = {[testenv:packaging]basepython}
5859
deps =
5960
{[testenv:packaging]deps}
60-
whitelist_externals = {[testenv:packaging]whitelist_externals}
61+
allowlist_externals = {[testenv:packaging]allowlist_externals}
6162
commands =
6263
{[testenv:packaging]commands}
6364
twine upload dist/*

0 commit comments

Comments
 (0)