-
Notifications
You must be signed in to change notification settings - Fork 207
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: let upgrade --dry-run
instantiate prefix for pypi
#2771
base: main
Are you sure you want to change the base?
Conversation
Thanks for your contribution @lucascolley. Since you marked this as draft: what is still missing? :) |
I think I ready somewhere in the code that dry-run was about "writing to disk" or not - I guess we are breaking that model here, so maybe can adjust wherever I read that? We can also remove the commented out line in the test. The description of
Does this count as updating the environment? Either way, we should probably make it clear that users should also pass |
Ah yes, that expectation still holds true. I think we need to find a different way to fix #2770 |
A new |
What would that flag do? :) |
Well the "dry" part that I care about here is not performing the upgrade.
|
Understood. We'd probably have to think of a different name for this. Let's wait for @ruben-arts to chime in on that one. |
What if we make the no install logic, still install a solve prefix for the pypi work? This might be a little confusing at first but atleast it's going to do what you need to perform the least amount of work for the command you ask from pixi. |
That would work for me as long as it's documented clearly! |
actually, what do you think @baszalmstra ? That seems to conflict with Lines 804 to 809 in 352dc9e
|
description: #2770 (comment)
Closes #2770