[Debian-med-packaging] 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 at debian.org
Thu Nov 28 16:15:31 GMT 2019


On Thu, Nov 28, 2019 at 11:11 AM Andreas Tille <andreas at an3as.eu> wrote:
>
> On Thu, Nov 28, 2019 at 04:18:07PM +0100, Ondrej Novy wrote:
> >
> > > Is there any trick to enable autopkgtest-pkg-python detecting the correct
> > > module name?
> > >
> >
> > no (not yet? See: https://salsa.debian.org/ci-team/autodep8/merge_requests/6
> > )
>
> 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.

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



More information about the Debian-med-packaging mailing list