jammy: python2 architecture-dependant packages installed incorrectly

Bug #2006925 reported by Ilya Kondrashkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-python (Ubuntu)
New
Undecided
Unassigned

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).

Tags: jammy
Revision history for this message
Stefano Rivera (stefanor) wrote :

I assume you mean commit cde02a32cd1b51cf7d07828edca0be61458e0eee.

dh-python 20211016 means jammy or later.

Python 3.3 predates Ubuntu 14.04, so that doesn't seem to be too much of an issue.

Python 2.7 was removed after 22.10, so this bug would only really relevant to jammy. Does this cause any known issues in jammy?

summary: - python architecture-dependant packages installed incorrectly
+ jammy: python2 architecture-dependant packages installed incorrectly
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.