Bug 2341192
| Summary: | python-pypet: FTBFS in Fedora rawhide/f42 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | python-pypet | Assignee: | Orphan Owner <extras-orphan> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 43 | CC: | code, ksurma, mhroncok, neuro-sig, orion, sanjay.ankur | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2025-08-27 21:48:23 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: | 2300528, 2322407 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2025-01-22 21:38:25 UTC
Created attachment 2072096 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 2072097 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 2072098 [details]
state.log
Check import: pypet
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.13/importlib/__init__.py", line 88, 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 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/builddir/build/BUILD/python-pypet-0.6.1-build/BUILDROOT/usr/lib/python3.13/site-packages/pypet/__init__.py", line 13, in <module>
from pypet.environment import Environment, MultiprocContext
File "/builddir/build/BUILD/python-pypet-0.6.1-build/BUILDROOT/usr/lib/python3.13/site-packages/pypet/environment.py", line 68, in <module>
from pypet.pypetlogging import LoggingManager, HasLogger, simple_logging_config
File "/builddir/build/BUILD/python-pypet-0.6.1-build/BUILDROOT/usr/lib/python3.13/site-packages/pypet/pypetlogging.py", line 27, in <module>
import pypet.pypetconstants as pypetconstants
File "/builddir/build/BUILD/python-pypet-0.6.1-build/BUILDROOT/usr/lib/python3.13/site-packages/pypet/pypetconstants.py", line 81, in <module>
numpy.string_.__name__: numpy.string_,
^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/numpy/__init__.py", line 400, in __getattr__
raise AttributeError(
...<3 lines>...
)
AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
I talked about this a bit on Matrix when I was initially triaging NeuroFedora FTBFS bugs: > I may be able to patch `python-pypet` for Numpy 2, but we have four open unreviewed PR’s upstream and the last commit was two years ago. I think the project is pining for the fjords. > There are various removed-in-numpy-2 types exposed in `pypet.pypetconstants.PARAMETER_SUPPORTED_DATA`. It would not be too hard to fix them all, I think, but if there is no upstream left to review the change, I am not sure I want to propose a downstream patch. Overall, I’m not planning to work on this due to the combination of an inactive upstream and numpy 2 changes affecting the API. I suppose it could still be saved if someone wants to try. This does appear to be a leaf package. This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. I think it's time to let this one go. Removing neuro-sig and orphaning. It seems the orphaning process has not reassigned this bug. Reassigning manually... This was retired. |