Bug#1080123: Fallout from setuptools dropping the test command

Christoph Berg myon at debian.org
Tue Feb 11 20:15:04 GMT 2025


Re: Gregor Riepl
> Here's a patch that fixes both issues and more:
> 
> 1. Fixes setup.py so the unit test data files are copied during the installation stage. This makes the unit tests work again.
> 
> 2. Removes unit tests from python3-collada package. I'm not sure why they were included in the first place. Feel free to add them back if this was done on purpose. The data files are also excluded, as well as a __pycache__ directory that caused dh_missing errors.
> 
> 3. Replaces deprecated numpy types with appropriate ones. This makes pycollada compatible with numpy 2.0. I also reported this upstream: https://github.com/pycollada/pycollada/issues/153

I just uploaded an NMU with these changes, diff at
https://salsa.debian.org/science-team/pycollada/-/merge_requests/2 .

Christoph



More information about the debian-science-maintainers mailing list