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 554fcad commit 8174dfd
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 23 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ jobs:
max-parallel: 5
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
- pypy3
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.9"

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ 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.10 has been added.
- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.

**Bugfixes**

Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@
packages=find_packages(where="src"),
package_data={'hyperframe': ['py.typed']},
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
23 changes: 12 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py36, py37, py38, py39, pypy3, lint, docs, packaging
envlist = py39, py310, py311, py312, py313, pypy3, lint, docs, packaging

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

[testenv]
Expand All @@ -33,8 +34,8 @@ commands =

[testenv:docs]
deps =
sphinx>=4.0.2,<5
whitelist_externals = make
sphinx>=7.4.7,<9
allowlist_externals = make
changedir = {toxinidir}/docs
commands =
make clean
Expand All @@ -43,10 +44,10 @@ commands =
[testenv:packaging]
basepython = python3.9
deps =
check-manifest==0.46
readme-renderer==29.0
twine>=3.4.1,<4
whitelist_externals = rm
check-manifest==0.50
readme-renderer==44.0
twine>=5.1.1,<6
allowlist_externals = rm
commands =
rm -rf dist/
check-manifest
Expand All @@ -57,7 +58,7 @@ commands =
basepython = {[testenv:packaging]basepython}
deps =
{[testenv:packaging]deps}
whitelist_externals = {[testenv:packaging]whitelist_externals}
allowlist_externals = {[testenv:packaging]allowlist_externals}
commands =
{[testenv:packaging]commands}
twine upload dist/*

0 comments on commit 8174dfd

Please sign in to comment.