Bug 2325455 - python-typing-inspect fails to build with Python 3.14: AssertionError: {} != {'x': <class 'int'>, 'y': <class 'int'>}
Summary: python-typing-inspect fails to build with Python 3.14: AssertionError: {} != ...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: python-typing-inspect
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2372180 (view as bug list)
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS F43FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2024-11-12 13:01 UTC by Karolina Surma
Modified: 2025-06-11 16:08 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ilevkivskyi typing_inspect issues 108 0 None open Test failure on 3.14 2024-11-21 19:47:21 UTC

Description Karolina Surma 2024-11-12 13:01:40 UTC
python-typing-inspect fails to build with Python 3.14.0a1.


=================================== FAILURES ===================================
______________ GetUtilityTestCase.test_typed_dict_mypy_extension _______________

self = <test_typing_inspect.GetUtilityTestCase testMethod=test_typed_dict_mypy_extension>

    @skipUnless(PY36, "Python 3.6 required")
    def test_typed_dict_mypy_extension(self):
        TDOld = METypedDict("TDOld", {'x': int, 'y': int})
>       self.assertEqual(typed_dict_keys(TDM), {'x': int, 'y': int})
E       AssertionError: {} != {'x': <class 'int'>, 'y': <class 'int'>}
E       - {}
E       + {'x': <class 'int'>, 'y': <class 'int'>}

test_typing_inspect.py:497: AssertionError

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/08193915-python-typing-inspect/

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

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 Aoife Moloney 2025-02-26 13:16:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 Karolina Surma 2025-06-11 16:05:37 UTC
*** Bug 2372180 has been marked as a duplicate of this bug. ***


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