-
Notifications
You must be signed in to change notification settings - Fork 433
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
pipx upgrade with a specificier #356
Comments
Just to check, will the workaround work: |
Another idea, #256 could replace this functionality. |
I’d assume |
Ah yes, preserving injected packages, that makes sense with In general I think we need to look at the options for |
If one is trying to automate, i.e. have a script that ensures a specific rev of something is installed, then it is a bit of work to find the right pipx_metadata.json file and find the right field and see if the uninstall/install sequence is needed. |
I wonder if this would be worth a different pipx subcommand, like possibly |
While |
I use the following as a workaround to downgrade/upgrade as required, e.g.: $ pipx inject poetry poetry==1.2.2 |
The fact that we use pip to install packages is an implementation detail, so I don't want --upgrade flag. But happy to fix original issue. |
does not force update if the version misalign. Please allow to update to spec easily, for instance
this should update if the version is <=5, and install if not installed. |
How would this feature be useful?
Since 0.15 pipx got rid of the
--spec
argument, but now I can’t upgrade a package to a difference spec. Previously I couldDescribe the solution you'd like
Either add back the
--spec
argument forupgrade
, or allow e.g.The text was updated successfully, but these errors were encountered: