-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
chore(python): ensure that make requirements
fully refreshes unpinned packages/deps
#10591
chore(python): ensure that make requirements
fully refreshes unpinned packages/deps
#10591
Conversation
make requirements
fully refreshes unpinned packages/depsmake requirements
fully refreshes unpinned packages/deps
I like the idea of |
Observationally |
This really puzzles me, how could that be? I'd rather not have |
Well, we can try it without; maybe you'll have more luck than me. Perhaps it does a better job resolving from scratch after having uninstalled everything, or it had somehow got in a bad state? 🤷 I'll take it out for now and see how it goes - and/or we could add the extra flag as |
make requirements
fully refreshes unpinned packages/depsmake requirements
fully refreshes unpinned packages/deps
Indeed let's do that. If this for some reason does not do the trick, get a
We already have a nuclear option in |
Until running the equivalent commands I was getting some mysterious new typing errors from
pre-commit
checks that a vanillamake requirements
did not fix. Have confirmed locally that this properly refreshes unpinned packages/deps, ensuring that your local env will match what runs in CI (which does a fresh install).If preferred, could make this a separate option, say
make requirements-clean
? (Though given that, post initial install, you're likely to want it to be thorough I'm not sure there's any real value in two options - I'd say just make this one robust by default unless there's a compelling reason otherwise 🤔).