Bug 2220356
| Summary: | F39FailsToInstall: python3-nibabel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-nibabel | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, gui1ty, igor.raits, neuro-sig, sanjay.ankur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-nibabel-5.1.0-5.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-18 10:51:55 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: | 2220011 | ||
| Bug Blocks: | 2135404, 2168845, 2220333, 2220359, 2220422, 2220191, 2220241, 2220242, 2220243, 2220262, 2220277, 2220339, 2220354, 2220358, 2220360 | ||
|
Description
Fedora Fails To Install
2023-07-05 19:16:15 UTC
Currently FTBFS: Error: Problem: package python3-h5py-3.8.0-1.fc39.x86_64 from fedora requires python(abi) = 3.11, but none of the providers can be installed - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.i686 from fedora - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.x86_64 from fedora - cannot install the best candidate for the job (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Note to self: restore the test dependency in python-indexed_gzip once this is fixed. $ fedpkg mockbuild --enablerepo=local
==================================== ERRORS ====================================
_________________ ERROR collecting nisext/tests/test_sexts.py __________________
ImportError while importing test module '/builddir/build/BUILD/nibabel-5.1.0/nisext/tests/test_sexts.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nisext/tests/test_sexts.py:9: in <module>
from ..sexts import package_check
nisext/sexts.py:5: in <module>
from distutils import log
E ModuleNotFoundError: No module named 'distutils'
=============================== warnings summary ===============================
nibabel/testing/__init__.py:29
/builddir/build/BUILD/nibabel-5.1.0/nibabel/testing/__init__.py:29: DeprecationWarning: 'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14
from importlib.abc import Traversable
nisext/__init__.py:10
/builddir/build/BUILD/nibabel-5.1.0/nisext/__init__.py:10: UserWarning: The nisext package is deprecated as of NiBabel 5.0 and will be fully
removed in NiBabel 6.0
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR nisext/tests/test_sexts.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
================== 3 deselected, 2 warnings, 1 error in 5.56s ==================
I tried patching the distutils usage following the guide[1] and migration advice[2].
That got me from ModuleNotFoundError: No module named 'distutils' to ModuleNotFoundError: No module named 'distutils' with the finger now pointed at setuptools. :-\
==================================== ERRORS ====================================
_________________ ERROR collecting nisext/tests/test_sexts.py __________________
ImportError while importing test module '/builddir/build/BUILD/nibabel-5.1.0/nisext/tests/test_sexts.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nisext/tests/test_sexts.py:9: in <module>
from ..sexts import package_check
nisext/sexts.py:6: in <module>
from setuptools.command.build_py import build_py
/usr/lib/python3.12/site-packages/setuptools/__init__.py:9: in <module>
import distutils.core
E ModuleNotFoundError: No module named 'distutils'
[1] https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
[2] https://peps.python.org/pep-0632/#migration-advice
FEDORA-2023-e2ddcd998d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e2ddcd998d FEDORA-2023-e2ddcd998d has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |