Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python Subject: How can I override module name in autopkgtest-pkg-python Date: Wed, 03 Mar 2021 21:20:02 +0100 Message-ID: X-Original-To: Debian Python X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Mar 3 20:12:11 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] 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 User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailing-List: archive/latest/19044 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20210303201156.GH12373@an3as.eu Approved: robomod@news.nic.it Lines: 31 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 3 Mar 2021 21:11:56 +0100 X-Original-Message-ID: <20210303201156.GH12373@an3as.eu> Xref: csiph.com linux.debian.maint.python:13260 Hi, I worked on the package python-cython-blis[1] (there is no specific reason to have it in Debian Science scope - I just found an existing repository there and continued with this). The package works nicely - but the autopkgtest (in Salsa CI[2] does not): autopkgtest [19:46:36]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import cython_blis; print(cython_blis)" ; done autopkgtest [19:46:36]: test autodep8-python3: [----------------------- Testing with python3.9: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'cython_blis' autopkgtest [19:46:37]: test autodep8-python3: -----------------------] The actual module that needs to be importet is just blis. How can I teach autodep8-python3 the correct module name? Kind regards Andreas. [1] https://salsa.debian.org/science-team/python-cython-blis [2] https://salsa.debian.org/science-team/python-cython-blis/-/jobs/1483087 -- http://fam-tille.de