Skip to content

Commit 4af0fd7

Browse files
authored
Remove EOL python version, add newer python versions (#385)
Signed-off-by: Asher Foa <[email protected]>
1 parent e680338 commit 4af0fd7

File tree

5 files changed

+19
-24
lines changed

5 files changed

+19
-24
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.9"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
1919
os: [ubuntu-latest, macos-latest, windows-latest]
2020
exclude:
2121
- os: macos-latest
22-
python-version: "pypy3.9"
23-
- os: macos-latest
24-
python-version: "3.7"
22+
python-version: "pypy3.9"
2523
- os: windows-latest
2624
python-version: "pypy3.9"
2725
runs-on: ${{ matrix.os }}
@@ -36,8 +34,8 @@ jobs:
3634
python-version: ${{ matrix.python-version }}
3735
- name: Install dependencies
3836
run: |
39-
pip install -U "pip>=23.1.2"
40-
pip install -U "tox-gh-actions==3.1.0" coverage
37+
pip install -U "pip>=25.1.1"
38+
pip install -U "tox-gh-actions==3.3.0" coverage
4139
- name: Log python & pip versions
4240
run: |
4341
python --version
@@ -56,11 +54,11 @@ jobs:
5654
- uses: actions/checkout@v4
5755
- uses: actions/setup-python@v5
5856
with:
59-
python-version: "3.10"
57+
python-version: "3.12"
6058
- name: Install dependencies
6159
run: |
6260
pip install -U setuptools
63-
pip install -U "tox>=4.5.1,<5"
61+
pip install -U "tox>=4.26.0,<5"
6462
- run: tox -e lint
6563
package:
6664
name: Build & verify package
@@ -69,7 +67,7 @@ jobs:
6967
- uses: actions/checkout@v4
7068
- uses: actions/setup-python@v5
7169
with:
72-
python-version: "3.9"
70+
python-version: "3.12"
7371
- name: Install build, check-wheel-content, and twine
7472
run: "python -m pip install build twine check-wheel-contents"
7573
- name: Build package

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
[build-system]
2-
requires = [
3-
"setuptools >= 39.2.0",
4-
"wheel >= 0.29.0",
5-
]
2+
requires = ["setuptools >= 39.2.0", "wheel >= 0.29.0"]
63
build-backend = 'setuptools.build_meta'
74

85

@@ -18,4 +15,4 @@ line_length = 120
1815

1916
[tool.black]
2017
line-length = 120
21-
target-version = ["py38"]
18+
target-version = ["py311", "py312", "py313"]

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PyYAML==5.4.1
22
cov-core==1.15.0
33
coverage==5.5
44
coveralls==1.5.1
5-
cryptography==43.0.1
5+
cryptography==45.0.3
66
docopt==0.6.2
77
pytest==6.2.3
88
pytest-cov==2.11.1

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ classifiers =
2020
License :: OSI Approved :: MIT License
2121
Programming Language :: Python
2222
Programming Language :: Python :: 3
23-
Programming Language :: Python :: 3 :: Only
24-
Programming Language :: Python :: 3.7
25-
Programming Language :: Python :: 3.8
23+
Programming Language :: Python :: 3 :: Only
2624
Programming Language :: Python :: 3.9
2725
Programming Language :: Python :: 3.10
2826
Programming Language :: Python :: 3.11
27+
Programming Language :: Python :: 3.12
28+
Programming Language :: Python :: 3.13
2929
Programming Language :: Python :: Implementation :: PyPy
3030
Topic :: Utilities
3131

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[tox]
22
min_version = 4.4
33
envlist =
4-
py{37,38,39,310,311,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
4+
py{39,310,311,312,313,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
55
lint
66
skip_missing_interpreters = True
77

88
[gh-actions]
9-
python =
10-
3.7: py37-{base,cryptography-only,pycryptodome-norsa,compatibility}
11-
3.8: py38-{base,cryptography-only,pycryptodome-norsa,compatibility}
9+
python =
1210
3.9: py39-{base,cryptography-only,pycryptodome-norsa,compatibility}
1311
3.10: py310-{base,cryptography-only,pycryptodome-norsa,compatibility}
1412
3.11: py311-{base,cryptography-only,pycryptodome-norsa,compatibility}
13+
3.12: py312-{base,cryptography-only,pycryptodome-norsa,compatibility}
14+
3.13: py313-{base,cryptography-only,pycryptodome-norsa,compatibility}
1515
pypy-3.9: pypy3-{base,cryptography-only,pycryptodome-norsa,compatibility}
1616

1717
[testenv:basecommand]
@@ -56,7 +56,7 @@ extras =
5656
compatibility: {[testenv:compatibility]extras}
5757

5858
[testenv:lint]
59-
basepython = python3.10
59+
basepython = python3.12
6060
skip_install= True
6161
deps =
6262
flake8
@@ -69,7 +69,7 @@ commands =
6969

7070

7171
[testenv:lintfix]
72-
basepython = python3.10
72+
basepython = python3.12
7373
skip_install= True
7474
deps =
7575
isort

0 commit comments

Comments
 (0)