Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
33 changes: 31 additions & 2 deletions .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", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- name: Checkout source
Expand Down Expand Up @@ -52,7 +52,11 @@ jobs:
test-minimal:
# Verify dask-image works without the optional `dataframe` extras
# (i.e. without pandas and dask[dataframe]).
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
Comment on lines +52 to +56

Copilot AI Apr 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deploy (and potentially coveralls) still only depends on test. With the new test-minimal and test-latest-all-extras jobs, a tagged release could publish even if those new test jobs fail, since they are not included in deploy.needs. Update the workflow so deploy.needs (and any other gating jobs) includes the new test jobs.

Copilot uses AI. Check for mistakes.
fail-fast: true
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
steps:
- name: Checkout source
uses: actions/checkout@v6
Expand All @@ -70,6 +74,31 @@ jobs:
- name: Run tests (find_objects tests are skipped automatically)
run: pytest -v

test-latest-all-extras:
# Verify dask-image works with the latest unfixed dependencies, including
# optional `dataframe` extras so find_objects is also tested.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
steps:
- name: Checkout source
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"

- name: Install dask-image with all extras
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dataframe,test]

- name: Run tests
run: pytest -v

coveralls:
needs: test
runs-on: ubuntu-latest
Expand Down
24 changes: 24 additions & 0 deletions continuous_integration/environment-3.13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: dask-image-testenv

channels:
- conda-forge

dependencies:
- python=3.13.*
- pip==24.3.1
- coverage==7.6.1
- flake8==7.1.1
- pytest==8.3.4
- pytest-cov==6.0.0
- pytest-flake8==1.3.0
- pytest-timeout >=2.3.1
- dask==2025.1.0
- numpy==2.2.0
- scipy==1.15.0
- scikit-image==0.25.0
- pims==0.7
- slicerator==1.1.0
- pandas==2.2.3
- twine==6.0.1
- pip:
- build==1.2.2
24 changes: 0 additions & 24 deletions continuous_integration/environment-3.9.yml

This file was deleted.

2 changes: 1 addition & 1 deletion continuous_integration/environment-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge

dependencies:
- python=3.9.*
- python=3.10.*
- pip==22.3
- jinja2<3.1
- dask==2024.4.1
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ keywords = ["dask-image", "dask", "image"]
readme = "README.rst"
license = { text = "BSD-3-Clause" }
dynamic = ["version"]
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
Comment thread
m-albert marked this conversation as resolved.
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"dask[array] >=2024.4.1",
Expand Down
Loading