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

Handle the python requirements "~=" syntax #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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