python-beartype fails to build with Python 3.14.0a1. There's one ImportError and 26 failed tests: ERROR beartype_test/a00_unit/a40_api/door/a90_func/test_door_func.py::test_door_is_subhint FAILED beartype_test/a00_unit/a00_core/test_a90_typing.py::test_api_typing - ... FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a00_utilpepget.py::test_get_hint_pep_sign FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py::test_is_hint_pep_typing FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py::test_is_hint_pep_type_typing FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py::test_is_hint_pep FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py::test_is_hint_pep_supported FAILED beartype_test/a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py::test_die_if_hint_pep_unsupported FAILED beartype_test/a00_unit/a20_util/hint/a90_core/test_utilhinttest.py::test_die_unless_hint FAILED beartype_test/a00_unit/a20_util/hint/a90_core/test_utilhinttest.py::test_is_hint FAILED beartype_test/a00_unit/a60_check/a90_door/test_checkdoor.py::test_door_is_bearable_warnings FAILED beartype_test/a00_unit/a60_check/a90_door/test_checkdoor.py::test_door_die_if_unbearable FAILED beartype_test/a00_unit/a60_check/a90_door/test_checkdoor.py::test_door_typehint_die_if_unbearable FAILED beartype_test/a00_unit/a60_check/a90_door/test_checkdoor.py::test_door_is_bearable FAILED beartype_test/a00_unit/a60_check/a90_door/test_checkdoor.py::test_door_typehint_is_bearable FAILED beartype_test/a00_unit/a70_decor/a40_code/a00_module/test_decor_mypy.py::test_decor_mypy_notimplemented FAILED beartype_test/a00_unit/a70_decor/a40_code/a80_nonpep/test_codenonpep.py::test_nonpep_pass_param_tuple FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/pep484/test_pep484ref.py::test_pep484_ref_data FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/pep484/test_pep484ref.py::test_pep484_ref_call_fail FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/test_decorpep557.py::test_decor_pep577 FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/test_decorpep563.py::test_pep563_module FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/test_decorpep563.py::test_pep563_hint_pep484_namedtuple FAILED beartype_test/a00_unit/a70_decor/a40_code/a90_pep/test_decorpep591.py::test_decor_pep591 FAILED beartype_test/a00_unit/a70_decor/a60_main/test_beartype.py::test_beartype FAILED beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_package FAILED beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_packages FAILED beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_all FAILED beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartyping According to https://docs.python.org/dev/whatsnew/3.14.html#typing ByteString has been removed from both typing and collections.abc modules. It had previously raised a DeprecationWarning since Python 3.12. 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/08189186-python-beartype/ For all our attempts to build python-beartype with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-beartype/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
*** Bug 2371817 has been marked as a duplicate of this bug. ***