Skip to content

Commit

Permalink
feat: support python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Apr 23, 2024
1 parent 72bb6bc commit d70bd2b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python-version: ["3.7", "3.8", "3.9"]
include:
- os: ubuntu-latest
path: ~/.cache/pip
- os: windows-latest
path: ~\AppData\Local\pip\Cache

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stubgen:
stubgen "src/clickgen" -o src

tox: clean
pyenv local 3.7.5 3.8.0 3.9.0 3.10.0 3.11.0
pyenv local 3.7.5 3.8.0 3.9.0 3.10.0 3.11.0 3.12.0
tox
pyenv local system

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Multimedia :: Graphics
Topic :: System :: Operating System
Topic :: Scientific/Engineering :: Image Processing
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.8.0
envlist = py{37,38,39,310,311}, flake8, mypy
envlist = py{37,38,39,310,311,312}, flake8, mypy
isolated_build = true

[gh-actions]
Expand All @@ -10,6 +10,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
setenv =
Expand Down

0 comments on commit d70bd2b

Please sign in to comment.