Skip to content

Commit 4ce6a08

Browse files
committed
Merge branch 'main' into sk2-gray-morph-followup
2 parents 5d184ef + 862aaf6 commit 4ce6a08

21 files changed

Lines changed: 89 additions & 141 deletions

.coderabbit.yaml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,7 @@ reviews:
55
high_level_summary: false
66
request_changes_workflow: false
77
estimate_code_review_effort: true
8-
labeling_instructions:
9-
- label: ":scroll: type: API"
10-
instructions: >-
11-
For backward-incompatible changes to the API and deprecations.
12-
Only apply if no "type:" label is already assigned.
13-
- label: ":baby: type: New feature"
14-
instructions: >-
15-
For new features that previously did not exist.
16-
New features for tooling, infrastructure and such shouldn't use this label.
17-
Only apply if no "type:" label is already assigned.
18-
- label: ":wrench: type: Maintenance"
19-
instructions: >-
20-
For internal code changes and cleanups.
21-
Only apply if no "type:" label is already assigned.
22-
- label: ":adhesive_bandage: type: Bug fix"
23-
instructions: >-
24-
For bug fixes that apply to user facing API.
25-
Fixes for tooling, infrastructure and such shouldn't use this label.
26-
Only apply if no "type:" label is already assigned.
27-
- label: ":page_facing_up: type: Documentation"
28-
instructions: >-
29-
For changes dedicated to documentation (i.e., not as part of a new feature).
30-
Only apply if no "type:" label is already assigned.
31-
- label: ":robot: type: Infrastructure"
32-
instructions: >-
33-
Fixes to CI and other infrastructure.
34-
Only apply if no "type:" label is already assigned.
35-
- label: ":fast_forward: type: Enhancement"
36-
instructions: >-
37-
Improvements made to an existing feature.
38-
Improvements for tooling, infrastructure and such shouldn't use this label.
39-
Only apply if no "type:" label is already assigned.
40-
- label: ":chart_with_upwards_trend: type: Performance"
41-
instructions: >-
42-
For changes intended to improve performance.
43-
Only apply if no "type:" label is already assigned.
44-
auto_apply_labels: true
8+
auto_apply_labels: false
459
in_progress_fortune: false
4610
poem: false
4711
enable_prompt_for_ai_agents: false

.github/workflows/label-check.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/test-pyodide.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
# The appropriate version combinations can be found in the Pyodide repodata.json
3333
# "info" field, or in Makefile.envs:
3434
# https://github.com/pyodide/pyodide/blob/main/Makefile.envs#L2
35-
PYODIDE_VERSION: ["0.29.0"]
35+
PYODIDE_VERSION: ["0.29.3"]
3636
PYTHON_VERSION: ["3.13"]
3737
EMSCRIPTEN_VERSION: ["4.0.9"]
3838
NODE_VERSION: ["24"]
39-
PYODIDE_BUILD_VERSION: ["0.30.8"]
39+
PYODIDE_BUILD_VERSION: ["0.33.0"]
4040

4141
steps:
4242
- name: Checkout scikit-image

environment.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ channels:
33
- conda-forge
44
dependencies:
55
# base
6-
- numpy>=1.24
7-
- scipy>=1.11.4
6+
- numpy>=2.1
7+
- scipy>=1.15
88
- networkx>=3.0
99
- pillow>=10.1
1010
- imageio>=2.33,!=2.35.0
11-
- tifffile>=2022.8.12
12-
- packaging>=21
13-
- lazy-loader>=0.4
11+
- tifffile>=2025.1.10
12+
- packaging>=24
13+
- lazy-loader>=0.5
1414
# build
1515
- meson-python>=0.16
1616
- ninja>=1.11.1.1
@@ -33,33 +33,33 @@ dependencies:
3333
- numpydoc>=1.7
3434
- sphinx-copybutton
3535
- sphinx-togglebutton
36-
- matplotlib-base>=3.7
37-
- dask>=2023.2.0
36+
- matplotlib-base>=3.10
37+
- dask>=2025.1.0
3838
- pandas>=2.0
3939
- seaborn>=0.11
4040
- pooch>=1.6
41-
- tifffile>=2022.8.12
41+
- tifffile>=2025.1.10
4242
- myst-parser
4343
- intersphinx-registry>=0.2411.14
4444
- ipywidgets
4545
- ipykernel
4646
- plotly>=5.20
4747
- python-kaleido==0.2.1
48-
- scikit-learn>=1.2
48+
- scikit-learn>=1.6
4949
- sphinx-design>=0.5
5050
- pydata-sphinx-theme>=0.16
51-
- PyWavelets>=1.6
51+
- PyWavelets>=1.7
5252
- pytest-doctestplus>=1.6.0
5353
# optional
5454
- SimpleITK
55-
- scikit-learn>=1.2
55+
- scikit-learn>=1.6
5656
- pyamg>=5.2
5757
# optional_free_threaded
58-
- astropy-base>=6.0
59-
- dask>=2023.2.0
60-
- matplotlib-base>=3.7
58+
- astropy-base>=6.1
59+
- dask>=2025.1.0
60+
- matplotlib-base>=3.10
6161
- pooch>=1.6.0
62-
- PyWavelets>=1.6
62+
- PyWavelets>=1.7
6363
# test
6464
- numpydoc>=1.7
6565
- pooch>=1.6.0

meson.options

Lines changed: 0 additions & 6 deletions
This file was deleted.

pyproject.toml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ classifiers = [
2626
]
2727
dynamic = ['version']
2828
dependencies = [
29-
'numpy>=1.24',
30-
'scipy>=1.11.4',
29+
'numpy>=2.1',
30+
'scipy>=1.15; sys_platform != "emscripten"',
31+
'scipy>=1.14; sys_platform == "emscripten"',
3132
'networkx>=3.0',
3233
'pillow>=10.1',
3334
'imageio>=2.33,!=2.35.0',
34-
'tifffile>=2022.8.12',
35-
'packaging>=21',
36-
'lazy-loader>=0.4',
35+
'tifffile>=2025.1.10',
36+
'packaging>=24',
37+
'lazy-loader>=0.5',
3738
]
3839

3940
[[project.maintainers]]
@@ -71,36 +72,36 @@ docs = [
7172
'numpydoc>=1.7',
7273
'sphinx-copybutton',
7374
'sphinx-togglebutton',
74-
'matplotlib>=3.7',
75-
'dask[array]>=2023.2.0',
75+
'matplotlib>=3.10',
76+
'dask[array]>=2025.1.0',
7677
'pandas>=2.0',
7778
'seaborn>=0.11',
7879
'pooch>=1.6',
79-
'tifffile>=2022.8.12',
80+
'tifffile>=2025.1.10',
8081
'myst-parser',
8182
'intersphinx-registry>=0.2411.14',
8283
'ipywidgets',
8384
'ipykernel', # needed until https://github.com/jupyter-widgets/ipywidgets/issues/3731 is resolved
8485
'plotly>=5.20',
8586
'kaleido==0.2.1',
86-
'scikit-learn>=1.2',
87+
'scikit-learn>=1.6',
8788
'sphinx_design>=0.5',
8889
'pydata-sphinx-theme>=0.16',
89-
'PyWavelets>=1.6',
90+
'PyWavelets>=1.7',
9091
'pytest-doctestplus>=1.6.0',
9192
]
9293
optional = [
9394
'SimpleITK; sys_platform != "emscripten"',
94-
'scikit-learn>=1.2',
95+
'scikit-learn>=1.6',
9596
'pyamg>=5.2; sys_platform != "emscripten" and python_version < "3.14"', # not packaged for Pyodide yet
9697
'scikit-image[optional_free_threaded]'
9798
]
9899
optional_free_threaded = [
99-
'astropy>=6.0',
100-
'dask[array]>=2023.2.0',
101-
'matplotlib>=3.7',
100+
'astropy>=6.1',
101+
'dask[array]>=2025.1.0',
102+
'matplotlib>=3.10',
102103
'pooch>=1.6.0; sys_platform != "emscripten"', # requires stack switching with alternative pytest runner
103-
'PyWavelets>=1.6',
104+
'PyWavelets>=1.7',
104105
]
105106

106107
test = [
@@ -127,7 +128,7 @@ requires = [
127128
'meson-python>=0.16',
128129
'Cython>=3.0.10,!=3.2.0b1',
129130
'pythran>=0.16',
130-
'lazy_loader>=0.4',
131+
'lazy_loader>=0.5',
131132
'numpy>=2.0',
132133
]
133134

@@ -226,7 +227,9 @@ filterwarnings = [
226227
# https://github.com/joblib/threadpoolctl/pull/201 is released
227228
"ignore:.*JsProxy\\.as_object_map.*:RuntimeWarning",
228229
# Warning caused by matplotlib 3.7.0 because it uses deprecated API of pyparsing 3.3.1
229-
"ignore:.*(parseString|resetCache|enablePackrat).*:DeprecationWarning:matplotlib",
230+
"ignore:.*(parseString|resetCache|enablePackrat|oneOf).*:DeprecationWarning:matplotlib",
231+
# tifffile (v2025.12.20) uses deprecated NumPy API
232+
"ignore:Setting the shape on a NumPy array:DeprecationWarning:tifffile",
230233
]
231234
norecursedirs = ["io/_plugins"]
232235

@@ -266,7 +269,6 @@ build-verbosity = 0
266269
enable="cpython-freethreading"
267270

268271
[tool.cibuildwheel.config-settings]
269-
setup-args = "-Dinclude-v2=false"
270272
# Could be overwritten using CIBW_CONFIG_SETTINGS environment variable
271273

272274
[[tool.cibuildwheel.overrides]]

requirements/default.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Generated via tools/generate_requirements.py and pre-commit hook.
22
# Do not edit this file; modify pyproject.toml instead.
3-
numpy>=1.24
4-
scipy>=1.11.4
3+
numpy>=2.1
4+
scipy>=1.15; sys_platform != "emscripten"
5+
scipy>=1.14; sys_platform == "emscripten"
56
networkx>=3.0
67
pillow>=10.1
78
imageio>=2.33,!=2.35.0
8-
tifffile>=2022.8.12
9-
packaging>=21
10-
lazy-loader>=0.4
9+
tifffile>=2025.1.10
10+
packaging>=24
11+
lazy-loader>=0.5

requirements/docs.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ sphinx-gallery[parallel]>=0.18
55
numpydoc>=1.7
66
sphinx-copybutton
77
sphinx-togglebutton
8-
matplotlib>=3.7
9-
dask[array]>=2023.2.0
8+
matplotlib>=3.10
9+
dask[array]>=2025.1.0
1010
pandas>=2.0
1111
seaborn>=0.11
1212
pooch>=1.6
13-
tifffile>=2022.8.12
13+
tifffile>=2025.1.10
1414
myst-parser
1515
intersphinx-registry>=0.2411.14
1616
ipywidgets
1717
ipykernel
1818
plotly>=5.20
1919
kaleido==0.2.1
20-
scikit-learn>=1.2
20+
scikit-learn>=1.6
2121
sphinx_design>=0.5
2222
pydata-sphinx-theme>=0.16
23-
PyWavelets>=1.6
23+
PyWavelets>=1.7
2424
pytest-doctestplus>=1.6.0

requirements/optional.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Generated via tools/generate_requirements.py and pre-commit hook.
22
# Do not edit this file; modify pyproject.toml instead.
33
SimpleITK; sys_platform != "emscripten"
4-
scikit-learn>=1.2
4+
scikit-learn>=1.6
55
pyamg>=5.2; sys_platform != "emscripten" and python_version < "3.14"
6-
astropy>=6.0
7-
dask[array]>=2023.2.0
8-
matplotlib>=3.7
6+
astropy>=6.1
7+
dask[array]>=2025.1.0
8+
matplotlib>=3.10
99
pooch>=1.6.0; sys_platform != "emscripten"
10-
PyWavelets>=1.6
10+
PyWavelets>=1.7
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Generated via tools/generate_requirements.py and pre-commit hook.
22
# Do not edit this file; modify pyproject.toml instead.
3-
astropy>=6.0
4-
dask[array]>=2023.2.0
5-
matplotlib>=3.7
3+
astropy>=6.1
4+
dask[array]>=2025.1.0
5+
matplotlib>=3.10
66
pooch>=1.6.0; sys_platform != "emscripten"
7-
PyWavelets>=1.6
7+
PyWavelets>=1.7

0 commit comments

Comments
 (0)