[Bug 1967920] Re: sysconfig installation scheme change breaks stuff
Benjamin Bach
1967920 at bugs.launchpad.net
Tue Nov 22 13:42:09 UTC 2022
This also affects the layout of new virtual environments, which causes
many tools to not locate Python and pip executables.
This breaks popular tools like pre-commit and virtualenvwrapper because
they assume that the virtualenv looks like the posix_prefix.
See:
https://github.com/pre-commit/pre-commit/issues/2336
https://github.com/bernardobarreto/virtualenvwrapper/issues/20
** Bug watch added: github.com/pre-commit/pre-commit/issues #2336
https://github.com/pre-commit/pre-commit/issues/2336
** Bug watch added: github.com/bernardobarreto/virtualenvwrapper/issues #20
https://github.com/bernardobarreto/virtualenvwrapper/issues/20
** Patch added: "venv-patch.diff"
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1967920/+attachment/5632122/+files/venv-patch.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1967920
Title:
sysconfig installation scheme change breaks stuff
Status in python3.10 package in Ubuntu:
Confirmed
Status in python3.10 source package in Jammy:
Confirmed
Bug description:
the 3.10 version of python in debian and ubuntu appears to have changed its installation scheme from 'posix_prefix' to the debian-specific 'posix_local', which breaks things, for example meson is no longer buildable:
https://launchpadlibrarian.net/595057055/buildlog_ubuntu-jammy-amd64.meson_0.61.2-1_BUILDING.txt.gz
I suspect the problem is an incomplete patching of python to correctly
use the 'local' path, as (for example) distutils/setuptools doesn't
appear to be using the new 'local' path (in the above build output,
search for 'test_meson_installed' to see the failure of meson getting
installed to the sysconfig 'scripts' path, which is now
'/usr/local/bin' instead of '/usr/bin').
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1967920/+subscriptions
More information about the foundations-bugs
mailing list