Skip to content

Commit edb25a8

Browse files
chore: add Python 3.10-3.13 (#40)
* ci: exclude paths from flake8 checks * test: add modern python versions * ci: update GHA test matrix * ci: drop 2.7 from GHA test matrix No longer available for arm64 * ci: use ubuntu-22.04 for py36/37 tests * ci: ubuntu 20.04 for 3.6, drop mac/win tests of 3.6-3.7
1 parent e02f36d commit edb25a8

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/pr-checks.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ jobs:
4141
strategy:
4242
matrix:
4343
platform: [ubuntu-latest, macos-latest, windows-latest]
44-
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9']
45-
44+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
45+
include:
46+
- platform: ubuntu-20.04
47+
python-version: 3.6
48+
- platform: ubuntu-22.04
49+
python-version: 3.7
50+
4651
steps:
4752
- name: Checkout repository
4853
uses: actions/checkout@v2

tox.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{27,36,37,38,39}-{linux,macos,windows}
7+
envlist = py{27,36,37,38,39,310,311,312,313}-{linux,macos,windows}
88

99
[gh-actions]
1010
python =
@@ -13,7 +13,11 @@ python =
1313
3.7: py37
1414
3.8: py38
1515
3.9: py39
16-
16+
3.10: py310
17+
3.11: py311
18+
3.12: py312
19+
3.13: py313
20+
1721
[gh-actions:env]
1822
PLATFORM =
1923
ubuntu-latest: linux
@@ -36,5 +40,5 @@ max-line-length = 280
3640
ignore =
3741
W191,E101,E127,E202,W293,W391,W291,E201,E203,E124,E128,E222,E226,E221,
3842
E228,E241,E261,E265,E266,E302,E303,E306,W605,E711,E713,E731
39-
43+
exclude = .git,.venv,.tox,.github
4044

0 commit comments

Comments
 (0)