[Bug 2060244] [NEW] autokpgtest failure astroml/1.0.2-3 vs numpy/1.25+

Launchpad Bug Tracker 2060244 at bugs.launchpad.net
Fri Apr 5 02:56:02 UTC 2024


You have been subscribed to a public bug by Chris Peterson (cpete):

The autopkgtest fails with following error:

280s ==================================== ERRORS ====================================
280s ___________________ ERROR collecting tests/test_resample.py ____________________
280s ImportError while importing test module '/usr/lib/python3/dist-packages/astroML/tests/test_resample.py'.
280s Hint: make sure your test modules/packages have valid Python names.
280s Traceback:
280s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
280s     return _bootstrap._gcd_import(name[level:], package, level)
280s /usr/lib/python3/dist-packages/astroML/tests/test_resample.py:2: in <module>
280s     from numpy.testing import assert_allclose, run_module_suite
280s E   ImportError: cannot import name 'run_module_suite' from 'numpy.testing' (/usr/lib/python3/dist-packages/numpy/testing/__init__.py)

This function was removed in numpy version 1.25 [0]

There is a patch in Debian [1] I will cherry pick

[0] https://numpy.org/doc/stable/release/1.25.0-notes.html
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067136

** Affects: astroml (Ubuntu)
     Importance: Undecided
         Status: New

-- 
autokpgtest failure astroml/1.0.2-3 vs numpy/1.25+
https://bugs.launchpad.net/bugs/2060244
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list