Skip to content

Conversation

jsbarber
Copy link

Issue #37

Transform a python requirements "~=" into two deb specifications for the corresponding dependent package.
For example, "2.4.5xxxx" becomes:

  • = 2.4.6xxxx

  • << 2.5

which seems to be close to the python3 intent expressed here https://www.python.org/dev/peps/pep-0440/#compatible-release. Not sure what edge cases it's missing, but it works in the simple case I'm seeing. For one, the current python requests package contains the requirement charset_normalizer~=2.0.0

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

Successfully merging this pull request may close these issues.

1 participant