Source: python-srsly
Version: 2.5.1-1
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: python3.14

Hi Maintainer

python-srsly FTBFS when built with Python 3.14 as a supported version
[1].  I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=python-srsly


================================== FAILURES ===================================
_____________________ CloudPickleFileTests.test_empty_file _____________________

self = <srsly.tests.cloudpickle.cloudpickle_file_test.CloudPickleFileTests
testMethod=test_empty_file>

    def test_empty_file(self):
        # Empty file
        open(self.tmpfilepath, 'w').close()
        with open(self.tmpfilepath, 'r') as f:
>           self.assertEqual('',
pickle.loads(cloudpickle.dumps(f)).read())
                                              ^^^^^^^^^^^^^^^^^^^^

srsly/tests/cloudpickle/cloudpickle_file_test.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
srsly/cloudpickle/cloudpickle_fast.py:73: in dumps
    cp.dump(obj)
srsly/cloudpickle/cloudpickle_fast.py:632: in dump
    return Pickler.dump(self, obj)
           ^^^^^^^^^^^^^^^^^^^^^^^
srsly/cloudpickle/cloudpickle_fast.py:737: in reducer_override
    return self._function_reduce(obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
srsly/cloudpickle/cloudpickle_fast.py:592: in _function_reduce
    if _should_pickle_by_reference(obj):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
srsly/cloudpickle/cloudpickle.py:256: in _should_pickle_by_reference
    module_and_name = _lookup_module_and_qualname(obj, name=name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
srsly/cloudpickle/cloudpickle.py:309: in _lookup_module_and_qualname
    obj2, parent = _getattribute(module, name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

obj = <module 'srsly.cloudpickle.cloudpickle' from
'/build/reproducible-path/python-srsly-2.5.1/.pybuild/cpython3_3.14_srsly/build/srsly/cloudpickle/cloudpickle.py'>
dotted_path = '_make_function'

    def _getattribute(obj, dotted_path):
        for subpath in dotted_path:
>           obj = getattr(obj, subpath)
                  ^^^^^^^^^^^^^^^^^^^^^
E           RecursionError: Stack overflow (used 8152 kB) while
calling a Python object
E           Normalization failed: type=AttributeError args=<unknown>
E           when serializing function reconstructor
E           when serializing function object
...
E           when serializing function reconstructor
E           when serializing function object

Reply via email to