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

properly update all dependencies during update #52

Open
wolfv opened this issue Jul 10, 2019 · 3 comments
Open

properly update all dependencies during update #52

wolfv opened this issue Jul 10, 2019 · 3 comments
Labels
type::bug Something isn't working where::libsolv

Comments

@wolfv
Copy link
Member

wolfv commented Jul 10, 2019

When attempting to update conda-smithy with mamba, it only considers conda-smithy itself for update and not all dependencies of conda-smithy, since the dependency specs are still valid.

@dhirschfeld
Copy link
Contributor

...so long as --no-update-deps works.

conda's habit of updating everything by default is a bit of a bugbear of mine so I always pass the --no-update-deps flag - applying the "if it ain't broken, don't fix it" policy.

I dislike updating everything (when it isn't strictly necessary) because it often dramatically slows down what should be a simple single package update and it interacts badly with conda's other habit of shuffling packages

If I want to update all my dependencies I do an explicit conda update --all

@dhirschfeld
Copy link
Contributor

To be fair, the package shuffling was due to the mis-specification/use of features IIUC and I haven't seen that behaviour more recently.

@minrk
Copy link
Contributor

minrk commented Jul 16, 2019

pip has introduced an upgrade strategy flag for this, with the default of "only-if-needed" and "eager" for opting in to updating all packages in the dependency tree. I think for folks choosing mamba, which should be folks looking for an optimized experience, defaulting to the smaller still-valid delta is a good choice. As long as there's still the option for eager transactions, I think it's okay or even good to do the smaller thing.

@wolfv wolfv mentioned this issue Jun 30, 2021
17 tasks
@jonashaag jonashaag added the type::bug Something isn't working label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working where::libsolv
Projects
None yet
Development

No branches or pull requests

4 participants