Skip to content

Commit

Permalink
chore: add Python 3.10-3.13 (#40)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jennifer-richards authored Oct 16, 2024
1 parent e02f36d commit edb25a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9']

python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
include:
- platform: ubuntu-20.04
python-version: 3.6
- platform: ubuntu-22.04
python-version: 3.7

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down
10 changes: 7 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

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

[gh-actions]
python =
Expand All @@ -13,7 +13,11 @@ python =
3.7: py37
3.8: py38
3.9: py39

3.10: py310
3.11: py311
3.12: py312
3.13: py313

[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
Expand All @@ -36,5 +40,5 @@ max-line-length = 280
ignore =
W191,E101,E127,E202,W293,W391,W291,E201,E203,E124,E128,E222,E226,E221,
E228,E241,E261,E265,E266,E302,E303,E306,W605,E711,E713,E731

exclude = .git,.venv,.tox,.github

0 comments on commit edb25a8

Please sign in to comment.