-
Notifications
You must be signed in to change notification settings - Fork 42
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
Charms fail install hook if python3-setuptools > 60
#225
Comments
The problem seems to go deeper than just difference in layout. Virtual environments created on machines with
|
mkalcok
added a commit
to mkalcok/layer-basic
that referenced
this issue
Apr 26, 2024
Using older virtualenv with setuptools above version 60 can lead to undesirable behavior. Example of these problems are: * Unexpected layout within the virtual environment * Failure to isolate virtual environment from system-wide packages Fixes canonical#225 Signed-off-by: Martin Kalcok <martin.kalcok@canonical.com>
ajkavanagh
pushed a commit
that referenced
this issue
Apr 30, 2024
Using older virtualenv with setuptools above version 60 can lead to undesirable behavior. Example of these problems are: * Unexpected layout within the virtual environment * Failure to isolate virtual environment from system-wide packages Fixes #225 Signed-off-by: Martin Kalcok <martin.kalcok@canonical.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On machines that have (system-wide)
setuptools
version60
or higher, installation fails with:I think it's connected to
virtualenv
using different layouts, influenced by different versions ofsetuptools
as described here pypa/setuptools#3278. Charm fails to findpip
because instead of usual<venv>/bin/pip
it's located in<venv>/local/bin/pip
The text was updated successfully, but these errors were encountered: