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

Should pip --upgrade-strategy only-if-needed be a default argument? #28

Open
nh13 opened this issue Sep 9, 2022 · 0 comments
Open

Should pip --upgrade-strategy only-if-needed be a default argument? #28

nh13 opened this issue Sep 9, 2022 · 0 comments
Labels
question Further information is requested

Comments

@nh13
Copy link
Member

nh13 commented Sep 9, 2022

We already mention it in the scala docs here:

/** Example YAML encoding for [[PipStep]]
* {{{
* - pip:
* args:
* - --upgrade-strategy
* - only-if-needed
* requirements:
* - defopt==5.1.0
* - samwell
* }}}
*
* Both `args` and `requirements` are optional.
*
* Requirements may omit version numbers, which can be compiled from the default environment
*/

And it's part of the conda doc recommendations here: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#using-pip-in-an-environment

We'd want to support opting out if we make it the default, which could be inelegant.

Thoughts?

@nh13 nh13 added the question Further information is requested label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant