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

Deduplicate symbolic links between purelib and platlib #3002

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Apr 11, 2024

Summary

This PR adds system install tests to verify the behavior described in #2798. It turns out this behavior also affects Fedora and Amazon Linux, we just didn't have the right conditions enabled (specifically, you need to create the virtualenv with python -m venv to get these symlinks), so the test suite was expanded to capture that.

The issue itself is also fixed by way of deduplicating the site-packages entries.

Closes: #2798

@charliermarsh charliermarsh added the testing Internal testing of behavior label Apr 11, 2024
@charliermarsh charliermarsh force-pushed the charlie/suse branch 10 times, most recently from 140518f to c399683 Compare April 11, 2024 23:52
@charliermarsh charliermarsh changed the title Add a system install test for OpenSUSE Deduplicate symbolic links between purelib and platlib Apr 11, 2024
@charliermarsh charliermarsh added bug Something isn't working and removed testing Internal testing of behavior labels Apr 11, 2024
@charliermarsh charliermarsh marked this pull request as ready for review April 11, 2024 23:54
@Daverball
Copy link

I can confirm, that this does fix the specific issue I was having. Thanks!

Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thank you!

@charliermarsh charliermarsh merged commit ab9cc78 into main Apr 12, 2024
38 checks passed
@charliermarsh charliermarsh deleted the charlie/suse branch April 12, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip install and uv pip sync both perform each uninstall twice causing the second one to fail
3 participants