-
Notifications
You must be signed in to change notification settings - Fork 206
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: pixi add
with more than just package name and version
#1704
Conversation
pixi add --pypi package[extra]
@baszalmstra I wasn't happy, and found out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some mentions of why I added some test stuff.
tests/add_tests.rs
Outdated
let pixi = PixiControl::new().unwrap(); | ||
|
||
pixi.init() | ||
.no_fast_prefix_overwrite(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't use url's in matchspecs yet, fix in: conda/rattler#792
tests/add_tests.rs
Outdated
.await | ||
.unwrap(); | ||
|
||
pixi.add("conda-forge::py_rattler").without_lockfile_update().await.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently still a slow test as there is a bug in this --no-lockfile-update
so it is actually solving. This is fixed in: #1683
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise I would have used the mock PackageDatabase 😉
pixi add --pypi package[extra]
pixi add
with more than just package name and version
Fixes #1697
We broke
pixi add --pypi pytest[dev]
as it didn't add the [dev] anymore. Now that is fixed.