[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

python-catalogue: AttributeError: type object 'EntryPoint' has no attribute '_from_text'



Hi,

I intend to package python-catalogue[1] but there is a test suite
issue (see salsa-ci for complete log[2]):

platform linux -- Python 3.10.3, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /builds/python-team/packages/python-catalogue/debian/output/source_dir
collected 8 items
catalogue/tests/test_catalogue.py ......F.                               [100%]
=================================== FAILURES ===================================
______________________________ test_entry_points _______________________________
    def test_entry_points():
        # Create a new EntryPoint object by pretending we have a setup.cfg and
        # use one of catalogue's util functions as the advertised function
        ep_string = "[options.entry_points]test_foo\n    bar = catalogue:check_exists"
>       ep = catalogue.importlib_metadata.EntryPoint._from_text(ep_string)
E       AttributeError: type object 'EntryPoint' has no attribute '_from_text'
catalogue/tests/test_catalogue.py:108: AttributeError
=========================== short test summary info ============================
FAILED catalogue/tests/test_catalogue.py::test_entry_points - AttributeError:...
========================= 1 failed, 7 passed in 0.06s ==========================

Any hint would be welcome

       Andreas.


[1] https://salsa.debian.org/python-team/packages/python-catalogue
[2] https://salsa.debian.org/python-team/packages/python-catalogue/-/jobs/2579949

-- 
http://fam-tille.de


Reply to: