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

List and uninstall legacy editables #3396

Closed
wants to merge 3 commits into from

Conversation

hauntsaninja
Copy link
Contributor

No worries if this isn't something uv wants to support! Note this PR is currently based on top of #3380 , so shouldn't be merged till that one is merged

@charliermarsh charliermarsh deleted the branch astral-sh:charlie/egg May 6, 2024 13:47
@charliermarsh
Copy link
Member

Oops, I think this got closed because my upstream branch got deleted, maybe?

@charliermarsh
Copy link
Member

Are you able to reopen? I'm fine with supporting this!

))?;
let easy_install = site_package.join("easy-install.pth");

// Note concurrent use of `easy-install.pth` may result in lost writes
Copy link
Member

Choose a reason for hiding this comment

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

This is my only concern. We might want to use an advisory file-lock on easy-install.pth? Or, actually, we could even use a mutex? Since we already have a lock on the environment itself, so in theory we only need to lock within this process.

@hauntsaninja
Copy link
Contributor Author

Couldn't re-open, needed to make a new PR! #3415 I added a mutex, but lmk if I should do flock stuff instead.

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