Skip to content

Commit aaea514

Browse files
committed
MNT: Better sort of minimal dependencies
1 parent 719ecf7 commit aaea514

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,21 @@ pass_env =
6565
NIPY_EXTRA_TESTS
6666
extras = test
6767
deps =
68+
# General minimum dependencies: pin based on API usage
69+
min: packaging ==17
70+
min: importlib_resources ==1.3; python_version < '3.9'
6871
# NEP29/SPEC0 + 1yr: Test on minor release series within the last 3 years
6972
# We're extending this to all optional dependencies
7073
# This only affects the range that we test on; numpy is the only non-optional
7174
# dependency, and will be the only one to affect pip environment resolution.
7275
min: numpy ==1.20
73-
min: packaging ==17
74-
min: importlib_resources ==1.3; python_version < '3.9'
75-
min: scipy ==1.6
76-
min: matplotlib ==3.4
7776
min: h5py ==2.10
78-
min: pillow ==8.1
7977
min: indexed_gzip ==1.4
78+
min: matplotlib ==3.4
79+
min: pillow ==8.1
80+
min: pydicom ==2.1
8081
min: pyzstd ==0.14.3
82+
min: scipy ==1.6
8183
# Numpy 2.0 is a major breaking release; we cannot put much effort into
8284
# supporting until it's at least RC stable
8385
pre: numpy <2.0.dev0
@@ -91,7 +93,6 @@ deps =
9193
full,pre,dev: pillow >=8.1
9294
full,pre,dev: indexed_gzip >=1.4
9395
full,pre,dev: pyzstd >=0.14.3
94-
min: pydicom ==2.1
9596
full,pre,dev: pydicom >=2.1
9697
# pydicom master seems to be breaking things
9798
# pre: pydicom @ git+https://github.com/pydicom/pydicom.git@main

0 commit comments

Comments
 (0)