Skip to content

fix your requirements.txt if incompatible with install_requires #7

Description

@thatch

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions