Skip to content

feat: remove dists site-packages's when python interpreter changes #896

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

Merged

Conversation

tdejager
Copy link
Contributor

@tdejager tdejager commented Mar 1, 2024

Remove distribution from site-packages dir when interpreter changes.

@ruben-arts
Copy link
Contributor

This pr triggered me to checkout the folders some more. And if found this situation:

cd examples/pypi
pixi add python==3.10
➜ ls .pixi/envs/default/lib/ | rg python
libpython3.10.so
libpython3.10.so.1.0
libpython3.so
python3.1
python3.10
python3.11

Which seems weird to me. Does this have anything to do with this PR? Otherwise I'll put it in an issue.

@tdejager
Copy link
Contributor Author

tdejager commented Mar 4, 2024

This pr triggered me to checkout the folders some more. And if found this situation:

cd examples/pypi
pixi add python==3.10
➜ ls .pixi/envs/default/lib/ | rg python
libpython3.10.so
libpython3.10.so.1.0
libpython3.so
python3.1
python3.10
python3.11

Which seems weird to me. Does this have anything to do with this PR? Otherwise I'll put it in an issue.

No it should not, all those are conda executables.

@ruben-arts ruben-arts enabled auto-merge (squash) March 4, 2024 10:19
@ruben-arts ruben-arts merged commit d95148f into prefix-dev:main Mar 4, 2024
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.

3 participants