Bug 2256755 - python-astroML: FTBFS in Fedora Rawhide
Summary: python-astroML: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-astroML
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F40FTBFS PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-01-04 11:16 UTC by Karolina Surma
Modified: 2024-01-04 19:51 UTC (History)
2 users (show)

Fixed In Version: python-astroML-1.0.2.post1-6.fc40
Clone Of:
Environment:
Last Closed: 2024-01-04 19:51:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-01-04 11:16:27 UTC
Description of problem:
Package python-astroML fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.0.2.post1-5.fc39

Steps to Reproduce:
koji build --scratch f40 python-astroML-1.0.2.post1-5.fc39.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-astroML

Reproducible: Always

Steps to Reproduce:
Run mock build in Fedora Rawhide
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 171, in <module>
    main()
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 167, in main
    import_modules(modules)
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 100, in import_modules
    importlib.import_module(module)
  File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/builddir/build/BUILDROOT/python-astroML-1.0.2.post1-5.fc40.noarch/usr/lib/python3.12/site-packages/astroML/tests/test_resample.py", line 2, in <module>
    from numpy.testing import assert_allclose, run_module_suite
ImportError: cannot import name 'run_module_suite' from 'numpy.testing' (/usr/lib64/python3.12/site-packages/numpy/testing/__init__.py)

Expected Results:  
Package builds

Comment 1 Fedora Update System 2024-01-04 19:50:29 UTC
FEDORA-2024-bd66c6c83e has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd66c6c83e

Comment 2 Fedora Update System 2024-01-04 19:51:21 UTC
FEDORA-2024-bd66c6c83e has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.