Bug 2362887
| Summary: | python-typing-inspection fails to build with Python 3.14: AssertionError: test_is_union_does_not_match_uniontype | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-typing-inspection | Assignee: | Ben Beasley <code> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, ksurma, mhroncok, python-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-06-18 03:43:36 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: | |||
| Bug Blocks: | 2322407 | ||
Fixed in 0.4.1. |
python-typing-inspection fails to build with Python 3.14.0a7. ____________________ test_is_union_does_not_match_uniontype ____________________ @pytest.mark.skipif(sys.version_info < (3, 10), reason='`types.UnionType` is only available in Python 3.10.') def test_is_union_does_not_match_uniontype() -> None: > assert not typing_objects.is_union(types.UnionType) E AssertionError: assert not True E + where True = <function is_union at 0x7f23b5e937f0>(<class 'typing.Union'>) E + where <function is_union at 0x7f23b5e937f0> = typing_objects.is_union E + and <class 'typing.Union'> = types.UnionType tests/typing_objects/test_member_checks.py:194: 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/08956429-python-typing-inspection/ For all our attempts to build python-typing-inspection with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-typing-inspection/ 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.