Skip to content
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

Fix an issue with ubuntu, distutils, and pip #3437

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

manthey
Copy link
Member

@manthey manthey commented Feb 1, 2023

The issue appears when doing 'pip install -e ', the package does not show up when doing 'pip freeze'. This is caused by Ubuntu installing a patched version of distutils (see pypa/distutils/issues/17 and pypa/setuptools/issues/3301; see also pypa/setuptools/issues/3625 for when this will stop working).

This adds a workaround. Better would be to create a virtualenv and install into that and be insulated from odd OS upstream choices.

The issue appears when doing 'pip install -e <package>', the package
does not show up when doing 'pip freeze'.  This is caused by Ubuntu
installing a patched version of distutils (see pypa/distutils/issues/17
and pypa/setuptools/issues/3301; see also pypa/setuptools/issues/3625
for when this will stop working).

This adds a workaround.  Better would be to create a virtualenv and
install into that and be insulated from odd OS upstream choices.
@manthey manthey merged commit 3431352 into master Feb 1, 2023
@manthey manthey deleted the docker-distutils-issue branch February 1, 2023 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant