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: keep in mind python: noarch packages in clobber calculations #511

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

wolfv
Copy link
Contributor

@wolfv wolfv commented Feb 5, 2024

I hit a bug where the unclobber function tried to run fs::rename on non-existing files (because these files came from noarch: python packages where the final path got renamed from site-packages/bla.py to lib/pythonX.X/site-packages/bla.py).

This fix is relatively ugly (because we compute the "final" name for the file multiple times and entry points are also not properly handled yet.

Maybe we should discuss real quick how we want to handle entry points (entry points don't need to strictly be linked into the env since we can recreate them when we need to).

@wolfv wolfv force-pushed the fix-clobber-noarch branch from e9fd459 to 4cb8ae6 Compare February 12, 2024 16:36
@wolfv wolfv merged commit 4fc2d38 into conda:main Feb 12, 2024
13 checks passed
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.

2 participants