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

Don't leave pixi.toml in broken state #825

Closed
2 tasks done
ruben-arts opened this issue Feb 21, 2024 · 1 comment · Fixed by #829
Closed
2 tasks done

Don't leave pixi.toml in broken state #825

ruben-arts opened this issue Feb 21, 2024 · 1 comment · Fixed by #829
Assignees
Labels
🐞 bug Something isn't working

Comments

@ruben-arts
Copy link
Contributor

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi add flask
pixi add Flask
pixi install

Issue description

The before mentioned example results in an error on the install because we don't allow duplicates.
But add allows you to add duplicates

Expected behavior

Don't allow duplicates. Error on the add if the normalized version already exists in toml

@ruben-arts ruben-arts added the 🐞 bug Something isn't working label Feb 21, 2024
@orhun
Copy link
Contributor

orhun commented Feb 21, 2024

Hey! I'm working on this.

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 a pull request may close this issue.

2 participants