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

fix your requirements.txt if incompatible with install_requires #7

Open
thatch opened this issue Mar 13, 2020 · 0 comments
Open

fix your requirements.txt if incompatible with install_requires #7

thatch opened this issue Mar 13, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@thatch
Copy link
Member

thatch commented Mar 13, 2020

packaging.requirements makes it pretty easy to parse, but not do set operations on. For this issue, I'm most interested in when requirements.txt pins to a specific version, and that version is too low for install_requires. Similar to #6, this should go after UseDeclarativeMetadata.

There's no api for showing a message right now, so just log (and when there's an api I will migrate it). If you want to autofix to be the latest (or first compatible) version, that's great. honesty.releases.parse_index is one way to do this, there might be a simpler one.

@thatch thatch added the good first issue Good for newcomers label Mar 13, 2020
thatch added a commit to advice-animal/imperfect that referenced this issue Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant