Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2220356 - F39FailsToInstall: python3-nibabel
Summary: F39FailsToInstall: python3-nibabel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nibabel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2220011
Blocks: F39FailsToInstall PYTHON3.12 2220191 2220241 2220242 2220243 2220262 2220277 2220333 2220339 2220354 2220358 2220359 2220360 2220422
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:16 UTC by Fedora Fails To Install
Modified: 2023-07-18 10:51 UTC (History)
5 users (show)

Fixed In Version: python-nibabel-5.1.0-5.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-18 10:51:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-07-05 19:16:15 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-nibabel) Fails To Install in Fedora 39:

can't install python3-nibabel:
  - nothing provides python(abi) = 3.11 needed by python3-nibabel-5.1.0-1.fc39.noarch
  - nothing provides python3.11dist(numpy) >= 1.19 needed by python3-nibabel-5.1.0-1.fc39.noarch
  - nothing provides python3.11dist(packaging) >= 17 needed by python3-nibabel-5.1.0-1.fc39.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-nibabel


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Ankur Sinha (FranciscoD) 2023-07-06 11:20:22 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)

Comment 2 Ben Beasley 2023-07-11 16:48:32 UTC
Note to self: restore the test dependency in python-indexed_gzip once this is fixed.

Comment 3 Ben Beasley 2023-07-12 16:06:43 UTC
$ 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 ==================

Comment 4 Sandro 2023-07-17 08:18:43 UTC
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

Comment 5 Fedora Update System 2023-07-18 10:51:18 UTC
FEDORA-2023-e2ddcd998d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e2ddcd998d

Comment 6 Fedora Update System 2023-07-18 10:51:55 UTC
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.


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