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: don't modify manifest on failing change #2756

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ruben-arts
Copy link
Contributor

Fixes: #2516

We still need to figure out if we could get rid of the intermediary saves but this will help the users with reverting the changes if it fails.

@baszalmstra
Copy link
Contributor

baszalmstra commented Dec 20, 2024 via email

@ruben-arts
Copy link
Contributor Author

@baszalmstra Because we need to update the dependencies directly in file to allow for correct solving of the PyPI environment when it is used as a path = "." dependency. But I have a strong feeling we should find a way we should get rid of this. But the current behavior is really broken, so this is a workaround. If you have better ideas, please share.

@ruben-arts
Copy link
Contributor Author

This also doesn't work with interrupting the add process ...

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.

Adding a package adds it to pixi.toml even if it failed
2 participants