Bug 2389399

Summary: python-typing-extensions: FTBFS in Fedora Rawhide and 43 with Python 3.14.0rc2
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-typing-extensionsAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: code, epel-packagers-sig, hegjon, michel, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-typing-extensions
Whiteboard:
Fixed In Version: python-typing-extensions-4.15.0~rc1-1.fc44 python-typing-extensions-4.15.0~rc1-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-19 14:32:31 UTC Type: Bug
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: 2389191    
Bug Blocks: 2322407, 2339432, 2373702, 2384424    

Description Miro Hrončok 2025-08-19 13:24:17 UTC
Description of problem:
Package python-typing-extensions fails to build from source in Fedora Rawhide and 43.

Due to reasons described in https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XO5QGOXBWHFG7AOGDQBG23AQDS2MDTWI/ a rebuild of python-typing-extensions is needed in Fedora Rawhide (44) and Fedora 43.

Version-Release number of selected component (if applicable):
4.14.1-2.fc43

Steps to Reproduce:
fedpkg build

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-typing-extensions

======================================================================
FAIL: test_evaluate_with_type_params (test_typing_extensions.EvaluateForwardRefTests.test_evaluate_with_type_params)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-typing-extensions-4.14.1-build/typing_extensions-4.14.1/src/test_typing_extensions.py", line 9158, in test_evaluate_with_type_params
    self.assertIs(evaluate_forward_ref(typing.ForwardRef("Tx", is_class=True), owner=Gen, globals={"Tx": str}), str)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tx is not <class 'str'>
----------------------------------------------------------------------
Ran 543 tests in 0.328s



This might actually be caused by the Python 3.14.0rc1 -> 3.14.0rc2 update.

Comment 1 Miro Hrončok 2025-08-19 13:25:46 UTC
Upstream fix seems to be https://github.com/python/typing_extensions/pull/646

Comment 2 Ben Beasley 2025-08-19 13:53:30 UTC
(In reply to Miro Hrončok from comment #1)
> Upstream fix seems to be https://github.com/python/typing_extensions/pull/646

https://src.fedoraproject.org/rpms/python-typing-extensions/pull-request/24

Comment 3 Fedora Update System 2025-08-19 14:27:40 UTC
FEDORA-2025-44d9244631 (python-typing-extensions-4.15.0~rc1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-44d9244631

Comment 4 Fedora Update System 2025-08-19 14:32:31 UTC
FEDORA-2025-44d9244631 (python-typing-extensions-4.15.0~rc1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-08-19 14:34:38 UTC
FEDORA-2025-808678ece5 (python-typing-extensions-4.15.0~rc1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-808678ece5

Comment 6 Fedora Update System 2025-08-19 14:38:28 UTC
FEDORA-2025-808678ece5 (python-typing-extensions-4.15.0~rc1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.