Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14001

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

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python
Subject python-catalogue: AttributeError: type object 'EntryPoint' has no attribute '_from_text'
Date Thu, 17 Mar 2022 17:10:01 +0100
Message-ID <E20Rj-2nqW-9@gated-at.bofh.it> (permalink)
X-Original-To Debian Python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Mar 17 16:05:54 2022
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-7.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19822
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/YjNcUVrxj+7r9/W5@an3as.eu
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 17 Mar 2022 17:05:37 +0100
X-Original-Message-ID <YjNcUVrxj+7r9/W5@an3as.eu>
Xref csiph.com linux.debian.maint.python:14001

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

python-catalogue: AttributeError: type object 'EntryPoint' has no  attribute '_from_text' Andreas Tille <andreas@an3as.eu> - 2022-03-17 17:10 +0100
  Re: python-catalogue: AttributeError: type object 'EntryPoint' has  no attribute '_from_text' Scott Talbert <swt@techie.net> - 2022-03-17 17:40 +0100
    Re: python-catalogue: AttributeError: type object 'EntryPoint' has no  attribute '_from_text' Sandro Tosi <morph@debian.org> - 2022-03-17 18:10 +0100
      Re: python-catalogue: AttributeError: type object 'EntryPoint' has  no attribute '_from_text' Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2022-03-17 19:30 +0100
        Re: python-catalogue: AttributeError: type object 'EntryPoint' has no  attribute '_from_text' Sandro Tosi <morph@debian.org> - 2022-03-29 23:50 +0200

csiph-web