-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot target Ubuntu 24.04 Noble when foreign #1738
Cannot target Ubuntu 24.04 Noble when foreign #1738
Comments
My immediate concern is that Canonical has (ahem) "fixed" their copy of pip. This wouldn't be the first time that they have... taken liberties with Python's published behavior... to fit their own conception of what Python should look like. And then it becomes the Python ecosystem's problem to deal with the fact that "Python on Ubuntu" doesn't behave like Python does anywhere else. Given Ubuntu's history, it would not surprise me for a moment to discover that some enterprising release manager has disabled
If this works, my immediate reaction is that is likely not just a stopgap, but the actual solution.
|
I did find pypa/pip#11631 which suggests that Fedora is/was patching Looking more closely at Ubuntu's packaging of
So, the source of this issue may ultimately just be working out the kinks with I reported the issue to Canonical: https://bugs.launchpad.net/ubuntu/+source/wheel/+bug/2063151 |
Describe the bug
Building the Docker image fails when targeting
ubuntu:noble
.Steps to reproduce
briefcase build linux system --target ubuntu:noble
Expected behavior
Docker image build is successful for Ubuntu 24.04.
It appears as though
PIP_BREAK_SYSTEM_PACKAGES=1
isn't cutting it on Ubuntu 24.04 to ignore the safeguards of overwriting system-managed Python packages.The root issue isn't immediately clear to me....as I'm not sure if Canonical needs to fix the way it's installing
wheel
sopip
doesn't choke on it....or ifpip
should be accommodating whatever's going on in Ubuntu 24.04.Nonetheless, a stopgap is to add
--ignore-installed
to thispip install
command.Screenshots
No response
Environment
0.3.18.dev206+g38fbb22b.d20240419
Logs
briefcase.2024_04_19-18_09_38.package.log
Additional context
No response
The text was updated successfully, but these errors were encountered: