Skip to content

Commit

Permalink
update supported Python versions
Browse files Browse the repository at this point in the history
remove EOL Python versions
  • Loading branch information
Kriechi committed Nov 16, 2024
1 parent 2730c5b commit eaa1489
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 18 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ jobs:
max-parallel: 5
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.9"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Release History
===============

dev
---

**API Changes (Backward Incompatible)**

- Support for Python 3.6 has been removed.
- Support for Python 3.7 has been removed.
- Support for Python 3.8 has been removed.

**API Changes (Backward Compatible)**

- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.
- Added typing information.

**Bugfixes**

-

4.1.0 (2021-10-05)
------------------

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@
packages=find_packages(where="src"),
package_data={'h2': []},
package_dir={'': 'src'},
python_requires='>=3.6.1',
python_requires='>=3.9.0',
license='MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Expand Down
19 changes: 9 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tox]
envlist = py36, py37, py38, py39, py310, py311, pypy3, lint, docs, packaging
envlist = py39, py310, py311, py312, py13, pypy3, lint, docs, packaging

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, lint, docs, packaging, h2spec
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy3: pypy3

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

[testenv:docs]
deps =
sphinx>=5.0.2,<6
sphinx>=7.4.7,<9
allowlist_externals = make
changedir = {toxinidir}/docs
commands =
Expand All @@ -43,9 +42,9 @@ commands =
[testenv:packaging]
basepython = python3.9
deps =
check-manifest==0.49
readme-renderer==37.3
twine>=3.4.1,<4
check-manifest==0.50
readme-renderer==44.0
twine>=5.1.1,<6
allowlist_externals = rm
commands =
rm -rf dist/
Expand All @@ -63,14 +62,14 @@ commands =
twine upload dist/*

[testenv:graphs]
basepython = python3.8
basepython = python3.9
deps =
graphviz==0.14.1
commands =
python visualizer/visualize.py -i docs/source/_static

[testenv:h2spec]
basepython = python3.8
basepython = python3.9
deps =
twisted[tls]==20.3.0
allowlist_externals = {toxinidir}/test/h2spectest.sh
Expand Down

0 comments on commit eaa1489

Please sign in to comment.