Skip to content

Commit

Permalink
Add python 3.12 support (#370)
Browse files Browse the repository at this point in the history
* Add python 3.12 support
  • Loading branch information
GenevieveBuckley authored May 15, 2024
1 parent bb11938 commit 243fb0a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.9, 3.10 and 3.11.
3. The pull request should pass all our continuous integration checks before it is merged.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: true
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout source
Expand Down
21 changes: 21 additions & 0 deletions continuous_integration/environment-3.12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: dask-image-testenv

channels:
- conda-forge

dependencies:
- python=3.12.*
- pip==24.0
- wheel==0.43.0
- coverage==7.5.1
- flake8==7.0.0
- pytest==8.2.0
- pytest-cov==5.0.0
- pytest-flake8==1.1.1
- dask==2024.4.1
- numpy==1.26.4
- scipy==1.13.0
- scikit-image==0.22.0
- pims==0.6.1
- slicerator==1.1.0
- pandas==2.2.2
2 changes: 1 addition & 1 deletion continuous_integration/environment-latest.yml
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
tests_require=test_requirements
)

0 comments on commit 243fb0a

Please sign in to comment.