python-pypet failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128089520 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix python-pypet at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, python-pypet will be orphaned. Before branching of Fedora 43, python-pypet will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
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.