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 Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp