Skip to content

Commit cb73d1c

Browse files
committed
TOX: Drop h5py and indexed_gzip dependencies for dev
Allow pillow and matplotlib to be built from sdist in dev environments.
1 parent 6efd41a commit cb73d1c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ description = Pytest with coverage
5151
labels = test
5252
install_command =
5353
python -I -m pip install -v \
54-
--only-binary numpy,scipy,h5py,pillow,matplotlib \
54+
dev: --only-binary numpy,scipy,h5py \
55+
!dev: --only-binary numpy,scipy,h5py,pillow,matplotlib \
5556
pre,dev: --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
5657
{opts} {packages}
5758
pip_pre =
@@ -90,15 +91,15 @@ deps =
9091
# Numpy 2.0 is a major breaking release; we cannot put much effort into
9192
# supporting until it's at least RC stable
9293
pre: numpy <2.0.dev0
93-
dev: numpy >=2.0.dev0
94+
dev: numpy >=2.1.dev0
9495
# Scipy stopped producing win32 wheels at py310
9596
py3{8,9}-full-x86,x64,arm64: scipy >=1.6
9697
# Matplotlib depends on scipy, so cannot be built for py310 on x86
9798
py3{8,9}-full-x86,x64,arm64: matplotlib >=3.4
9899
# h5py stopped producing win32 wheels at py39
99-
py38-full-x86,x64,arm64: h5py >=2.10
100+
py38-full-x86,{full,pre}-{x64,arm64}: h5py >=2.10
100101
full,pre,dev: pillow >=8.1
101-
full,pre,dev: indexed_gzip >=1.4
102+
full,pre: indexed_gzip >=1.4
102103
full,pre,dev: pyzstd >=0.14.3
103104
full,pre: pydicom >=2.1
104105
dev: pydicom @ git+https://github.com/pydicom/pydicom.git@main

0 commit comments

Comments
 (0)