Bug 2328709 - python-nibabel fails to build with Python 3.14: TestDeprecatorMaker.test_deprecator_maker: TypeError: Deprecator.__init__() got multiple values for argument 'warn_class'
Summary: python-nibabel fails to build with Python 3.14: TestDeprecatorMaker.test_depr...
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:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2024-11-25 16:33 UTC by Karolina Surma
Modified: 2024-11-26 16:44 UTC (History)
5 users (show)

Fixed In Version: python-nibabel-5.3.2-3.fc42
Clone Of:
Environment:
Last Closed: 2024-11-26 16:44:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nipy nibabel issues 1390 0 None open Python 3.14: failing test 2024-11-26 07:45:47 UTC

Description Karolina Surma 2024-11-25 16:33:34 UTC
python-nibabel fails to build with Python 3.14.0a2.

__________________ TestDeprecatorMaker.test_deprecator_maker ___________________

self = <nibabel.tests.test_deprecator.TestDeprecatorMaker object at 0x7f72c9d52350>

    def test_deprecator_maker(self):
>       dec = self.dep_maker(warn_class=UserWarning)
E       TypeError: Deprecator.__init__() got multiple values for argument 'warn_class'

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08310087-python-nibabel/

For all our attempts to build python-nibabel with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-nibabel/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ankur Sinha (FranciscoD) 2024-11-26 07:45:48 UTC
Filed upstream to begin with: https://github.com/nipy/nibabel/issues/1390

Comment 2 Fedora Update System 2024-11-26 16:39:35 UTC
FEDORA-2024-6d2a6a88ba (python-nibabel-5.3.2-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6d2a6a88ba

Comment 3 Fedora Update System 2024-11-26 16:44:31 UTC
FEDORA-2024-6d2a6a88ba (python-nibabel-5.3.2-3.fc42) has been pushed to the Fedora 42 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.