Skip to content

Commit dc611df

Browse files
committed
TOX: h5py is not unique, handle scipy likewise
1 parent 7d796a8 commit dc611df

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tox.ini

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,28 +68,25 @@ deps =
6868
min: importlib_resources ==1.3; python_version < '3.9'
6969
min: scipy ==1.6
7070
min: matplotlib ==3.4
71+
min: h5py ==2.10
7172
min: pillow ==8.1
7273
min: indexed_gzip ==1.4
7374
min: pyzstd ==0.14.3
7475
# Numpy 2.0 is a major breaking release; we cannot put much effort into
7576
# supporting until it's at least RC stable
7677
pre: numpy <2.0.dev0
77-
x64,pre: scipy >=1.6
78+
# Scipy stopped producing win32 wheels at py310
79+
py3{8,9}-full-x86,x64: scipy >=1.6
7880
full,pre: matplotlib >=3.4
81+
# h5py stopped producing win32 wheels at py310, has yet to produce py312 wheels
82+
py3{8,9}-full-x86,py3{8,9,10,11}-x64: h5py >=2.10
7983
full,pre: pillow >=8.1
8084
full,pre: indexed_gzip >=1.4
8185
full,pre: pyzstd >=0.14.3
8286
min: pydicom ==2.1
8387
full,pre: pydicom >=2.1
8488
# pydicom master seems to be breaking things
8589
# pre: pydicom @ git+https://github.com/pydicom/pydicom.git@main
86-
# h5py is a pain. They dropped win32 wheels at 3.0, which only supports
87-
# thru py39. Add a special -x64 environment to limit tests to x64. We
88-
# will exclude this environment for none/min in GitHub actions.
89-
min: h5py ==2.10
90-
x64: h5py >=2.10
91-
# h5py missing 3.12 wheels, so disable from pre for now
92-
# pre: h5py >=2.10
9390

9491
commands =
9592
pytest --doctest-modules --doctest-plus \

0 commit comments

Comments
 (0)