Skip to content

Commit

Permalink
Add python 3.12 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Mar 5, 2024
1 parent c873239 commit dddce12
Show file tree
Hide file tree
Showing 14 changed files with 919 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-20.04"]
qt_backend: ["PyQt5"]
tox_args: [ "" ]
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.8", "3.9", "3.10"]
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-20.04", "macos-11", "windows-2019"]
qt_backend: ["PySide2", "PyQt5"]
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-dependencies.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
pip install -U uv
flags=(--extra pyqt5 --extra pyqt6 --extra pyside2 --extra pyside6 --extra test --extra pyinstaller)
for pyv in 3.8 3.9 3.10 3.11; do
for pyv in 3.8 3.9 3.10 3.11 3.12; do
uv pip compile --python-version ${pyv} --upgrade --output-file requirements/constraints_py${pyv}.txt pyproject.toml requirements/version_denylist.txt "${flags[@]}"
uv pip compile --python-version ${pyv} --upgrade --output-file requirements/constraints_py${pyv}_pydantic_1.txt pyproject.toml requirements/version_denylist.txt "${flags[@]}" --constraint requirements/pydantic_1.txt
done
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing",
Expand Down
14 changes: 8 additions & 6 deletions requirements/constraints_py3.10.txt
Expand Up @@ -20,7 +20,7 @@ attrs==23.2.0
# referencing
babel==2.14.0
# via sphinx
build==1.0.3
build==1.1.1
# via npe2
cachey==0.2.1
# via napari
Expand Down Expand Up @@ -81,7 +81,9 @@ imageio==2.34.0
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.1
# via dask
# via
# build
# dask
in-n-out==0.1.9
# via app-model
iniconfig==2.0.0
Expand All @@ -90,7 +92,7 @@ ipykernel==6.29.3
# via
# napari-console
# qtconsole
ipython==8.22.1
ipython==8.22.2
# via
# ipykernel
# napari-console
Expand Down Expand Up @@ -124,7 +126,7 @@ local-migrator==0.1.10
locket==1.0.0
# via partd
lxml==5.1.0
magicgui==0.8.1
magicgui==0.8.2
# via napari
mahotas==1.4.13
markdown-it-py==3.0.0
Expand Down Expand Up @@ -258,7 +260,7 @@ pygments==2.17.2
# sphinx
# superqt
pyinstaller==6.4.0
pyinstaller-hooks-contrib==2024.1
pyinstaller-hooks-contrib==2024.2
# via pyinstaller
pyopengl==3.1.7
# via napari
Expand Down Expand Up @@ -289,7 +291,7 @@ pytest==8.0.2
# pytest-timeout
pytest-qt==4.4.0
pytest-timeout==2.2.0
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# jupyter-client
# pandas
Expand Down
14 changes: 8 additions & 6 deletions requirements/constraints_py3.10_pydantic_1.txt
Expand Up @@ -18,7 +18,7 @@ attrs==23.2.0
# referencing
babel==2.14.0
# via sphinx
build==1.0.3
build==1.1.1
# via npe2
cachey==0.2.1
# via napari
Expand Down Expand Up @@ -79,7 +79,9 @@ imageio==2.34.0
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.1
# via dask
# via
# build
# dask
in-n-out==0.1.9
# via app-model
iniconfig==2.0.0
Expand All @@ -88,7 +90,7 @@ ipykernel==6.29.3
# via
# napari-console
# qtconsole
ipython==8.22.1
ipython==8.22.2
# via
# ipykernel
# napari-console
Expand Down Expand Up @@ -122,7 +124,7 @@ local-migrator==0.1.10
locket==1.0.0
# via partd
lxml==5.1.0
magicgui==0.8.1
magicgui==0.8.2
# via napari
mahotas==1.4.13
markdown-it-py==3.0.0
Expand Down Expand Up @@ -254,7 +256,7 @@ pygments==2.17.2
# sphinx
# superqt
pyinstaller==6.4.0
pyinstaller-hooks-contrib==2024.1
pyinstaller-hooks-contrib==2024.2
# via pyinstaller
pyopengl==3.1.7
# via napari
Expand Down Expand Up @@ -285,7 +287,7 @@ pytest==8.0.2
# pytest-timeout
pytest-qt==4.4.0
pytest-timeout==2.2.0
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# jupyter-client
# pandas
Expand Down
10 changes: 5 additions & 5 deletions requirements/constraints_py3.11.txt
Expand Up @@ -20,7 +20,7 @@ attrs==23.2.0
# referencing
babel==2.14.0
# via sphinx
build==1.0.3
build==1.1.1
# via npe2
cachey==0.2.1
# via napari
Expand Down Expand Up @@ -86,7 +86,7 @@ ipykernel==6.29.3
# via
# napari-console
# qtconsole
ipython==8.22.1
ipython==8.22.2
# via
# ipykernel
# napari-console
Expand Down Expand Up @@ -120,7 +120,7 @@ local-migrator==0.1.10
locket==1.0.0
# via partd
lxml==5.1.0
magicgui==0.8.1
magicgui==0.8.2
# via napari
mahotas==1.4.13
markdown-it-py==3.0.0
Expand Down Expand Up @@ -254,7 +254,7 @@ pygments==2.17.2
# sphinx
# superqt
pyinstaller==6.4.0
pyinstaller-hooks-contrib==2024.1
pyinstaller-hooks-contrib==2024.2
# via pyinstaller
pyopengl==3.1.7
# via napari
Expand Down Expand Up @@ -285,7 +285,7 @@ pytest==8.0.2
# pytest-timeout
pytest-qt==4.4.0
pytest-timeout==2.2.0
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# jupyter-client
# pandas
Expand Down
10 changes: 5 additions & 5 deletions requirements/constraints_py3.11_pydantic_1.txt
Expand Up @@ -18,7 +18,7 @@ attrs==23.2.0
# referencing
babel==2.14.0
# via sphinx
build==1.0.3
build==1.1.1
# via npe2
cachey==0.2.1
# via napari
Expand Down Expand Up @@ -84,7 +84,7 @@ ipykernel==6.29.3
# via
# napari-console
# qtconsole
ipython==8.22.1
ipython==8.22.2
# via
# ipykernel
# napari-console
Expand Down Expand Up @@ -118,7 +118,7 @@ local-migrator==0.1.10
locket==1.0.0
# via partd
lxml==5.1.0
magicgui==0.8.1
magicgui==0.8.2
# via napari
mahotas==1.4.13
markdown-it-py==3.0.0
Expand Down Expand Up @@ -250,7 +250,7 @@ pygments==2.17.2
# sphinx
# superqt
pyinstaller==6.4.0
pyinstaller-hooks-contrib==2024.1
pyinstaller-hooks-contrib==2024.2
# via pyinstaller
pyopengl==3.1.7
# via napari
Expand Down Expand Up @@ -281,7 +281,7 @@ pytest==8.0.2
# pytest-timeout
pytest-qt==4.4.0
pytest-timeout==2.2.0
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# jupyter-client
# pandas
Expand Down

0 comments on commit dddce12

Please sign in to comment.