Skip to content

Support version comparison operators #65

@RamblingCookieMonster

Description

@RamblingCookieMonster

pip, bundler, and other dependency handlers often support comparison operators, and more than one of these (e.g. lower and upper bounds).

Either single string, with delimited (comma, semicolon, multiple, whatever), or an array of strings. For example:

  • Version = '>2.2.3,<3.0'
  • Version = '>=1.2.9', '<2.0'

Single string is a little awkward looking but less complex in code. Multiple versions would be nicer looking but will add some complexity to what's already some painful logic.

If this sounds like anyone would use it, or has thoughts on these or other formats, hit me up!

Thanks to the reminder from Ravikanth!

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