python-cloudpickle fails to build with Python 3.14.0a2. _____________________ CloudPickleFileTests.test_empty_file _____________________ self = <cloudpickle.cloudpickle.Pickler object at 0x7f5616c94220> obj = <_io.TextIOWrapper name='/tmp/tmpfi2sfxwg/testfile' mode='r' encoding='UTF-8'> def dump(self, obj): try: > return super().dump(obj) cloudpickle/cloudpickle.py:1295: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cloudpickle/cloudpickle.py:1380: in reducer_override return self._function_reduce(obj) cloudpickle/cloudpickle.py:1258: in _function_reduce return self._dynamic_function_reduce(obj) cloudpickle/cloudpickle.py:1243: in _dynamic_function_reduce state = _function_getstate(func) cloudpickle/cloudpickle.py:719: in _function_getstate f_globals_ref = _extract_code_globals(func.__code__) cloudpickle/cloudpickle.py:307: in _extract_code_globals out_names = _extract_code_globals_cache.get(co) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <WeakKeyDictionary at 0x7f56178d3a80> key = <code object _make_function at 0x7f5617715e90, file "/builddir/build/BUILD/python-cloudpickle-3.1.0-build/cloudpickle-3.1.0/cloudpickle/cloudpickle.py", line 505> default = None def get(self, key, default=None): > return self.data.get(ref(key),default) E RecursionError: maximum recursion depth exceeded in comparison E when serializing function reconstructor E when serializing function object E when serializing function reconstructor E when serializing function object E when serializing function reconstructor E when serializing function object 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/08300722-python-cloudpickle/ For all our attempts to build python-cloudpickle with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-cloudpickle/ 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.
Reported upstream.