aboutcode-org / pip-requirements-parser

a mostly correct pip requirements parsing library
MIT License
20 stars 9 forks source link

Fix the python version syntax #13

Closed pgjones closed 1 year ago

pgjones commented 1 year ago

PDM does not consider >= 3.6.* a valid syntax, whereas >= 3.6.0 expresses the same versions in a syntax that is valid.

pgjones commented 1 year ago

I don't think the CI failures are related to this change (seem to be a windows issue?).

pombredanne commented 1 year ago

@pgjones Thanks! Yes the Ci failures are likely unrelated... there is a branch and PR in https://github.com/nexB/pip-requirements-parser/pull/3 to eventually fix this. And wrt. using star, I should know better based on the work in https://github.com/nexB/univers !
pdm looks great! does it use this requirements parser?

pgjones commented 1 year ago

Thanks!

I'm not sure if PDM uses this directly, it was in my lock file.