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

requirements.txt (Python) parser doesn't support ~= syntax #3023

Open
evgfilim1 opened this issue Nov 26, 2022 · 0 comments
Open

requirements.txt (Python) parser doesn't support ~= syntax #3023

evgfilim1 opened this issue Nov 26, 2022 · 0 comments

Comments

@evgfilim1
Copy link

What this syntax means

A compatible release clause consists of the compatible release operator ~= and a version identifier. It matches any candidate version that is expected to be compatible with the specified version.

For a given release identifier V.N, the compatible release clause is approximately equivalent to the pair of comparison clauses: >= V.N, == V.*
For example, the following groups of version clauses are equivalent:

~= 2.2
>= 2.2, == 2.*


~= 1.4.5
>= 1.4.5, == 1.4.*

More: PEP 440

What libraries.io displays

website content

What is really written in these files (images are clickable)

requirements.txt
dev-requirements.txt

What I expect libraries.io would display (contents are modified via browser devtools)

expected website content

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

No branches or pull requests

1 participant