Describe the bug
Conda packages and wheels are shipping tests and test data.
Unless that's an intentional choice, those should be removed. Smaller packages are cheaper to transmit and store and faster to install.
Steps/Code to reproduce bug
mkdir -p ./delete-me
pushd ./delete-me
# conda packages
wget \
https://api.anaconda.org/download/rapidsai-nightly/libcucim/26.04.00a18/linux-64/libcucim-26.04.00a18-cuda13_260306_ghg18b16e3_gn50_phf3d4060.conda
wget \
https://api.anaconda.org/download/rapidsai-nightly/cucim/26.04.00a18/linux-64/cucim-26.04.00a18-cuda13_py313_260306_ghg18b16e3_gn50_phc494990.conda
# wheels
pip download \
--no-deps \
--extra-index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/ \
'cucim-cu13>=26.04.00a18'
pip install 'pydistcheck>=0.11.3'
pydistcheck --inspect *
For example:
$ unzip -l *.whl
5709 2026-03-03 21:14 cucim/skimage/color/tests/ciede2000_test_data.txt
3025 2026-03-03 21:14 cucim/skimage/color/tests/test_adapt_rgb.py
39809 2026-03-03 21:14 cucim/skimage/color/tests/test_colorconv.py
11692 2026-03-03 21:14 cucim/skimage/color/tests/test_colorlabel.py
7867 2026-03-03 21:14 cucim/skimage/color/tests/test_delta_e.py
0 2026-03-03 21:14 cucim/skimage/color/tests/data/
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_a_10.npy
200 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_a_2.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_a_r.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_b_10.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_b_2.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_b_r.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_c_10.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_c_2.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_c_r.npy
200 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_d50_10.npy
200 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_d50_2.npy
248 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_d50_r.npy
200 2026-03-03 21:14 cucim/skimage/color/tests/data/lab_array_d55_10.npy
Expected behavior
Tests and test data should be excluded from these packages (unless there is a compelling reason to include them).
Environment details (please complete the following information):
N/A
Additional context
Approaches for excluding the test data here might include
- modifying
MANIFEST.in
- modifying CMake
install() rules
- changes to build scripts
- moving
tests/ directories out of the cucim/ directory
Thanks for your time and consideration.
Describe the bug
Conda packages and wheels are shipping tests and test data.
Unless that's an intentional choice, those should be removed. Smaller packages are cheaper to transmit and store and faster to install.
Steps/Code to reproduce bug
For example:
Expected behavior
Tests and test data should be excluded from these packages (unless there is a compelling reason to include them).
Environment details (please complete the following information):
N/A
Additional context
Approaches for excluding the test data here might include
MANIFEST.ininstall()rulestests/directories out of thecucim/directoryThanks for your time and consideration.