Source: toolz
Version: 0.11.2-1
Severity: important
Tags: ftbfs fixed-upstream
User: debian-pyt...@lists.debian.org
Usertags: python3.11

Hi Maintainer

toolz will FTBFS once Python 3.11 is added as a supported version.
I've copied what I hope is the relevant part of the log below.  This
appears to be fixed in the upstream 0.12.0 release.

You can verify this by installing python3.11 from testing or unstable
and adding the following line to debian/rules:
export DEBPYTHON3_SUPPORTED=3.10,3.11

Although for toolz, you'll need python-py fixed (#1021871), but that
does not block fixing this bug.

Regards
Graham


___________________________________ test_tlz ___________________________________

    def test_tlz():
        import tlz
        tlz.curry
        tlz.functoolz.curry
        assert tlz.__package__ == 'tlz'
        assert tlz.__name__ == 'tlz'
>       import tlz.curried

toolz/tests/test_tlz.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<frozen importlib._bootstrap>:1178: in _find_and_load
    ???
<frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
tlz/_build_tlz.py:85: in exec_module
    submodule = import_module(module_name)
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1206: in _gcd_import
    ???
<frozen importlib._bootstrap>:1178: in _find_and_load
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

name = 'tlz.curried.operator'
import_ = <function _gcd_import at 0x7ff36194fd80>

>   ???
E   AttributeError: 'TlzSpec' object has no attribute
'_uninitialized_submodules'

<frozen importlib._bootstrap>:1147: AttributeError

Reply via email to