[Debian-astro-maintainers] Bug#1122955: pynpoint: incompatible with numpy 2.x

Stuart Prescott stuart at debian.org
Sun Mar 15 00:13:03 GMT 2026


Hi Arian

> I have spoken to upstream about this and the problem is that the pytests of 
> pynpoint all require external assets which cannot be reproduced by us. 
> 
> https://github.com/PynPoint/PynPoint/issues/432

There are a few options for the Debian packaging.

- Build-time tests can't download data, and so some minimalist smoke 
tests would be handy.

- If it's only some of the tests that need the remote data files, then 
skipping them at build time and running the test would work. That is 
most often done from debian/rules (such as PYBUILD_TEST_ARGS) or with a 
patch to mark them as skip/skipif on some condition that you can set 
from d/rules.

- autopkgtest test _can_ download data for the purposes of running 
tests; the test needs to decleare a 'needs-internet' restriction.

A common pattern is that a subset of non-internet-using tests are run on 
the buildd but then all tests are run in autopkgtests.

regards
Stuart


-- 
Stuart Prescott   http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer  http://www.debian.org/       stuart at debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



More information about the Debian-astro-maintainers mailing list