Public bug reported:

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
     Assignee: Chris Peterson (cpete)
         Status: New

** Summary changed:

- autokpgtest failure against numpy v1.26+
+ autokpgtest failure against numpy v1.25+

** Summary changed:

- autokpgtest failure against numpy v1.25+
+ autokpgtest failure astroml/1.0.2-3 vs numpy/ v1.25+

** Summary changed:

- autokpgtest failure astroml/1.0.2-3 vs numpy/ v1.25+
+ autokpgtest failure astroml/1.0.2-3 vs numpy/1.25+

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060244

Title:
  autokpgtest failure astroml/1.0.2-3 vs numpy/1.25+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/astroml/+bug/2060244/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to