#1122955 pynpoint: incompatible with numpy 2.x

#1122955#5
Date:
2025-12-14 23:44:19 UTC
From:
To:
Dear Maintainer,

pynpoint is not compatible with numpy 2.x - it makes use of methods that
are long-since removed from numpy. Running the upstream test suite
shows that the package is quite broken at present:

The Debian packaging for pynpoint doesn't run any tests at build time and,
as noted in #1035214, also does not run any autopkgtest tests. Adding these
tests in would have spotted this problem over a year ago when numpy 2.x was
uploaded to Debian.

Stuart

#1122955#10
Date:
2026-03-03 08:04:52 UTC
From:
To:
Hello Stuart,

thanks for raising this.

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

The absence of autopkgtest isn't ideal. To fix that I suggest to implement a
smoke test which tests pynpoint as a package. That way we have an autopkgtest
which fails whenever pynpoint fails. Not ideal either but at least a step in
the right direction..

What do you think?

Best regards,

#1122955#15
Date:
2026-03-15 00:13:03 UTC
From:
To:
Hi Arian

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

#1122955#20
Date:
2026-09-08 16:20:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pynpoint, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1122955@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <olebole@debian.org> (supplier of updated pynpoint package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 08 Sep 2026 14:24:49 +0200
Source: pynpoint
Architecture: source
Version: 0.11.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Maintainers <debian-astro-maintainers@lists.alioth.debian.org>
Changed-By: Ole Streicher <olebole@debian.org>
Closes: 1035214 1122955
Changes:
 pynpoint (0.11.1-4) unstable; urgency=medium
 .
   * Re-enable using of setuptools-scm
   * Enable build time tests (Closes: #1122955)
   * Add autopkgtests (Closes: #1035214)
   * Add myself to uploaders
   * Push debhelper compat to 14
   * Add d/salsa-ci.yml
Checksums-Sha1:
 a6f53321b0eacf77a56af94616041392f598f846 2435 pynpoint_0.11.1-4.dsc
 b54b3faa900de3a7e14cf427f51e65c2203ae3d8 3996 pynpoint_0.11.1-4.debian.tar.xz
Checksums-Sha256:
 280a6b499857bedb5c4fac91f19aba8e2f7729b113147568010f096b5e8840c3 2435 pynpoint_0.11.1-4.dsc
 55b8a37500438a27cf3f2bac48c4c8fb70491e7be452d8faa8fc1fdaab5b2e8a 3996 pynpoint_0.11.1-4.debian.tar.xz
Files:
 c993acc6174f7da479f85bddb0e81d96 2435 science optional pynpoint_0.11.1-4.dsc
 cc7a3bed6291a3713e16cfb06710fc11 3996 science optional pynpoint_0.11.1-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmqgMkMACgkQcRWv0HcQ
3PfubhAA22QL6mHsS6EUiGF36czhenF7MifM3jx0WZMVlzRl46RIhhPTm1a39nLG
kyCHyjDICp6tguErgZzFKBVZfMmUlDczLkcJ2dfgJocqCoBRno1scT2K7KEujIBH
WAeXlRZDqZS5S5/84hWB79F/XXZZjrTpMMqrgvHyknMIV067SCaZDBuwkqQTNpIL
cIZjLkOcILRfyYhYyq6/AycgbrpsmNQN8mLtcOIdxNLDZMbaoGAv3fiCVZ3t9C+B
y0GmRJ+IAesQZlV+nEi6UKLr+r1wmJdCI/0yxYLUTRJsXqMLCfI/9mwIuclPIkOH
IbNNAQqPqJECtC10ztzFN8qE13yo5wT3rYtyqjeJhKwgx8vdBvEjZBlBYaDJ7e8y
UBdlN3XczXrqPye0sEHy+l0jcwQC7bjOkIkg7k+RcNA/AWeFu/zX51Yt0esWv5Ev
2wXqwz+V/BlkmHIuyacBk1u6bA+JlyJqDl87eqb4Vd5Yl4ZN5UjQ8+F+UrsjpBl7
KKWh0ecLge/GZECGKFLL4AFOwoaiTzvDnr6j0JQaGH/WbApjrHEo7ovmY9HK3V38
whIWb4B9+uPoaeRtfKN2bwDygN7uRu55lcD2gZBAU+oXbUbMTKEWAJ97bgJPV+N+
91zEs1waxFF+SeA3h9M8StroD9fOBSIM2mFlJ3SP6BpTrdlBCvQ=
=+qIA
-----END PGP SIGNATURE-----