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

Does pip-upgrader honor package requirements? #48

Open
me21 opened this issue Sep 15, 2022 · 1 comment
Open

Does pip-upgrader honor package requirements? #48

me21 opened this issue Sep 15, 2022 · 1 comment

Comments

@me21
Copy link

me21 commented Sep 15, 2022

For example, nicegui package currently requires justpy<0.3. If I run pip-upgrader, will it upgrade justpy to currently available 0.9.0, or hold the upgrade until nicegui allows?

@buchs
Copy link

buchs commented Jun 7, 2023

Currently pip-upgrader does not take into account other package dependencies. It just tries to slam any package to the latest available. Of course, this would make the tool much more useful. My current workflow has me trying one upgrade at a time and running my test suite to see if I hit a requirement mismatch. Then I put the version to match the requirement. So, you can find all the landmines by stepping on each one, but there is probably a much less painful process possible when the tool checks all dependencies. I am not sure how much effort would be involved in adding this capability, but at least it is "more".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants