[Bug 2006925] [NEW] python architecture-dependant packages installed incorrectly
Ilya Kondrashkin
2006925 at bugs.launchpad.net
Fri Feb 10 10:31:55 UTC 2023
Public bug reported:
postinst script in python2 packages generates __init__.py files for namespace packages.
Since version 5.20211016 (commit 08ab39dfd34accb9220a087832b121279bbd9d98) arch is appended to package name to postinst script. However pycompile can't find namespace file with such package name -> namespace packages cannot be used in python2 (and python << 3.3).
** Affects: dh-python (Ubuntu)
Importance: Undecided
Status: New
** Tags: jammy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dh-python in Ubuntu.
https://bugs.launchpad.net/bugs/2006925
Title:
python architecture-dependant packages installed incorrectly
Status in dh-python package in Ubuntu:
New
Bug description:
postinst script in python2 packages generates __init__.py files for namespace packages.
Since version 5.20211016 (commit 08ab39dfd34accb9220a087832b121279bbd9d98) arch is appended to package name to postinst script. However pycompile can't find namespace file with such package name -> namespace packages cannot be used in python2 (and python << 3.3).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/2006925/+subscriptions
More information about the foundations-bugs
mailing list