Bug 2424562 - python-utils fails to build with Python 3.15: AttributeError: module 'typing_extensions' has no attribute 'no_type_check_decorator'
Summary: python-utils fails to build with Python 3.15: AttributeError: module 'typing_...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: python-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2416981
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2025-12-23 10:13 UTC by Karolina Surma
Modified: 2026-01-13 17:59 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-12-23 10:13:55 UTC
python-utils fails to build with Python 3.15.0a3.

    Traceback (most recent call last):
      File "/usr/lib/python3.15/site-packages/sphinx/config.py", line 601, in eval_config_file
        exec(code, namespace)  # NoQA: S102
        ~~~~^^^^^^^^^^^^^^^^^
      File "/builddir/build/BUILD/python-utils-3.9.1-build/python-utils-3.9.1/docs/conf.py", line 22, in <module>
        from python_utils import __about__
      File "/builddir/build/BUILD/python-utils-3.9.1-build/python-utils-3.9.1/python_utils/__init__.py", line 52, in <module>
        from . import (
        ...<10 lines>...
        )
      File "/builddir/build/BUILD/python-utils-3.9.1-build/python-utils-3.9.1/python_utils/aio.py", line 7, in <module>
        from . import types
      File "/builddir/build/BUILD/python-utils-3.9.1-build/python-utils-3.9.1/python_utils/types.py", line 35, in <module>
        from typing_extensions import *  # type: ignore[no-redef,assignment] # noqa: F403
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'typing_extensions' has no attribute 'no_type_check_decorator'

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09941279-python-utils/

For all our attempts to build python-utils with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-utils/

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.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
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 Miro Hrončok 2026-01-13 17:59:53 UTC
This error is triggered by:

   from typing_extensions import *

Nothing this package can do about it.


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