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


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

autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub')

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python
Subject autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub')
Date Thu, 28 Nov 2019 16:10:02 +0100
Message-ID <z7tAB-44m-1@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 Nov 28 15:04:15 2019
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-6.899 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FUZZY_CPILL=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -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 <debian-python@lists.debian.org> archive/latest/17654
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20191128150402.GK2400@an3as.eu
Approved robomod@news.nic.it
Lines 53
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 28 Nov 2019 16:04:02 +0100
X-Original-Message-ID <20191128150402.GK2400@an3as.eu>
Xref csiph.com linux.debian.maint.python:12053

Show key headers only | View raw


On Thu, Nov 28, 2019 at 12:46:34PM +0100, Paul Gevers wrote:
> Source: python-pypubsub
> Version: 4.0.3-2
> X-Debbugs-CC: debian-ci@lists.debian.org
> User: debian-ci@lists.debian.org
> Usertags: regression
> 
> ...
> 
> [1] https://qa.debian.org/excuses.php?package=python-pypubsub
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-pypubsub/3403470/log.gz
> 
> autopkgtest [15:15:47]: test autodep8-python3: set -e ; for py in
> $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing
> with $py:" ; $py -c "import pypubsub; print(pypubsub)" ; done
> autopkgtest [15:15:47]: test autodep8-python3: [-----------------------
> Testing with python3.7:
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'pypubsub'
> autopkgtest [15:15:47]: test autodep8-python3: -----------------------]


The test is correct since the correct module name is pubsub (rather than
pypubsub). It seems that's a usual pattern since if I check python3-pyvcf[1]
it ends up in:


autopkgtest [08:47:45]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import pyvcf; print(pyvcf)" ; done
autopkgtest [08:47:45]: test autodep8-python3: [-----------------------
Testing with python3.8:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pyvcf'
autopkgtest [08:47:46]: test autodep8-python3: -----------------------]
autopkgtest [08:47:46]: test autodep8-python3:  - - - - - - - - - - results - - - - - - - - - -
autodep8-python3     FAIL non-zero exit status 1


Is there any trick to enable autopkgtest-pkg-python detecting the correct
module name?

Kind regards

     Andreas.


[1] https://ci.debian.net/data/autopkgtest/unstable/amd64/p/python-pyvcf/3462810/log.gz

-- 
http://fam-tille.de

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


Thread

autopkgtest-pkg-python fails if package name is python-pyMODULENAME  (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named  'pypubsub') Andreas Tille <andreas@an3as.eu> - 2019-11-28 16:10 +0100
  Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Ondrej Novy <novy@ondrej.org> - 2019-11-28 16:40 +0100
    Bug#945768: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub') Andreas Tille <andreas@an3as.eu> - 2019-11-28 17:20 +0100
      Bug#945768: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub') Sandro Tosi <morph@debian.org> - 2019-11-28 17:20 +0100
        Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Andreas Tille <andreas@an3as.eu> - 2019-11-28 18:30 +0100
        Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Simon McVittie <smcv@debian.org> - 2019-11-28 18:30 +0100
          Re: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub') Scott Kitterman <debian@kitterman.com> - 2019-11-28 21:50 +0100
          Re: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub') "Yao Wei (魏銘廷)" <mwei@debian.org> - 2019-11-29 01:40 +0100
            Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Simon McVittie <smcv@debian.org> - 2019-11-29 09:30 +0100
              Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Simon McVittie <smcv@debian.org> - 2019-11-29 11:50 +0100
                Re: autopkgtest-pkg-python fails if package name is  python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure:  No module named 'pypubsub') Andreas Tille <andreas@an3as.eu> - 2019-11-29 12:10 +0100
                Lintian warning for this issue (Was: autopkgtest-pkg-python fails if  package name is python-pyMODULENAME) Andreas Tille <andreas@an3as.eu> - 2019-12-04 14:50 +0100
      Bug#945768: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub') Ondrej Novy <novy@ondrej.org> - 2019-11-28 19:00 +0100

csiph-web