Skip to content

Commit eaa1489

Browse files
committed
update supported Python versions
remove EOL Python versions
1 parent 2730c5b commit eaa1489

File tree

4 files changed

+35
-18
lines changed

4 files changed

+35
-18
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@ jobs:
1313
max-parallel: 5
1414
matrix:
1515
python-version:
16-
- "3.6"
17-
- "3.7"
18-
- "3.8"
1916
- "3.9"
2017
- "3.10"
2118
- "3.11"
19+
- "3.12"
20+
- "3.13"
2221
- "pypy3.9"
2322

2423
steps:
2524
- uses: actions/checkout@v2
26-
- uses: actions/setup-python@v4
25+
- uses: actions/setup-python@v5
2726
with:
2827
python-version: ${{ matrix.python-version }}
2928
- name: Install tox

CHANGELOG.rst

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
Release History
22
===============
33

4+
dev
5+
---
6+
7+
**API Changes (Backward Incompatible)**
8+
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.11 has been added.
16+
- Support for Python 3.12 has been added.
17+
- Support for Python 3.13 has been added.
18+
- Added typing information.
19+
20+
**Bugfixes**
21+
22+
-
23+
424
4.1.0 (2021-10-05)
525
------------------
626

setup.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,19 @@
3131
packages=find_packages(where="src"),
3232
package_data={'h2': []},
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',
4643
'Programming Language :: Python :: 3.10',
4744
'Programming Language :: Python :: 3.11',
45+
'Programming Language :: Python :: 3.12',
46+
'Programming Language :: Python :: 3.13',
4847
'Programming Language :: Python :: Implementation :: CPython',
4948
'Programming Language :: Python :: Implementation :: PyPy',
5049
],

tox.ini

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
2-
envlist = py36, py37, py38, py39, py310, py311, pypy3, lint, docs, packaging
2+
envlist = py39, py310, py311, py312, py13, 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, h2spec
107
3.10: py310
118
3.11: py311
9+
3.12: py312
10+
3.13: py313
1211
pypy3: pypy3
1312

1413
[testenv]
@@ -33,7 +32,7 @@ commands = flake8 src/ test/
3332

3433
[testenv:docs]
3534
deps =
36-
sphinx>=5.0.2,<6
35+
sphinx>=7.4.7,<9
3736
allowlist_externals = make
3837
changedir = {toxinidir}/docs
3938
commands =
@@ -43,9 +42,9 @@ commands =
4342
[testenv:packaging]
4443
basepython = python3.9
4544
deps =
46-
check-manifest==0.49
47-
readme-renderer==37.3
48-
twine>=3.4.1,<4
45+
check-manifest==0.50
46+
readme-renderer==44.0
47+
twine>=5.1.1,<6
4948
allowlist_externals = rm
5049
commands =
5150
rm -rf dist/
@@ -63,14 +62,14 @@ commands =
6362
twine upload dist/*
6463

6564
[testenv:graphs]
66-
basepython = python3.8
65+
basepython = python3.9
6766
deps =
6867
graphviz==0.14.1
6968
commands =
7069
python visualizer/visualize.py -i docs/source/_static
7170

7271
[testenv:h2spec]
73-
basepython = python3.8
72+
basepython = python3.9
7473
deps =
7574
twisted[tls]==20.3.0
7675
allowlist_externals = {toxinidir}/test/h2spectest.sh

0 commit comments

Comments
 (0)