Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python Subject: Re: 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 18:30:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Nov 28 17:27:11 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, 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: archive/latest/17659 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20191128172656.GM2400@an3as.eu Approved: robomod@news.nic.it Lines: 42 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 28 Nov 2019 18:26:56 +0100 X-Original-Message-ID: <20191128172656.GM2400@an3as.eu> X-Original-References: <20191128150402.GK2400@an3as.eu> <20191128161129.GL2400@an3as.eu> Xref: csiph.com linux.debian.maint.python:12057 On Thu, Nov 28, 2019 at 11:15:31AM -0500, Sandro Tosi wrote: > > Hmmm, what are the chances to get this applied? I've added > > > > X-Python-Module-Name: pubsub > > > > in Git - but this will not reall fix the test. The only solution I'd see > > otherwise is to deactivate the test. > > if you install `pubsub` as top-level module, your package must be > named pythonN-pubsub, if not it violates the policy and it's RC buggy. > please rename the package. OK, just to make sure the package currently named python3-pypubsub installs files ... /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info/PKG-INFO /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info/dependency_links.txt /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info/not-zip-safe /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info/top_level.txt /usr/lib/python3/dist-packages/pubsub /usr/lib/python3/dist-packages/pubsub/__init__.py /usr/lib/python3/dist-packages/pubsub/core /usr/lib/python3/dist-packages/pubsub/core/__init__.py /usr/lib/python3/dist-packages/pubsub/core/annotations.py /usr/lib/python3/dist-packages/pubsub/core/callables.py ... No idea about /usr/lib/python3/dist-packages/Pypubsub-4.0.3.egg-info but it seems I need to rename to python3-pubsub since there is the real module, right? Kind regards Andreas. -- http://fam-tille.de