Re: autopkgtest-pkg-python fails if package name is python-pyMODULENAME (Was: Bug#945768: python-pypubsub: autopkgtest failure: No module named 'pypubsub')
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
Reply to: