Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.12 support #370

Merged
merged 3 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
)