Bug 2256755

Summary: python-astroML: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-astroMLAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: astro-sig, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-astroML
Whiteboard:
Fixed In Version: python-astroML-1.0.2.post1-6.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-04 19:51:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231791, 2244836    

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.