-
Notifications
You must be signed in to change notification settings - Fork 250
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
Failing to parse a path requirement without an extra space #456
Comments
This is by design. |
And, following what @uranusjr said above: >>> r1 = Requirement('name @ file:///github.com/pypa;os_name=="a"')
>>> r2 = Requirement('name @ file:///github.com/pypa ;os_name=="a"')
>>> r1 == r2
False
>>> r1.url
'file:///github.com/pypa;os_name=="a"'
>>> r2.url
'file:///github.com/pypa' |
@uranusjr thanks for letting me know. much appreciated. Will send this over to poetry so they can fix their requirements export |
pmav99
added a commit
to pmav99/poetry-export-plugin
that referenced
this issue
Sep 30, 2021
…m constraints Fixes python-poetry#12 Related to: - python-poetry/poetry#4575 - pypa/packaging#456
pmav99
added a commit
to pmav99/poetry
that referenced
this issue
Oct 2, 2021
2 tasks
pmav99
added a commit
to pmav99/poetry
that referenced
this issue
Nov 11, 2021
2 tasks
neersighted
pushed a commit
to python-poetry/poetry
that referenced
this issue
Nov 14, 2021
neersighted
pushed a commit
to python-poetry/poetry-plugin-export
that referenced
this issue
Nov 14, 2021
…m constraints Fixes #12 Related to: - python-poetry/poetry#4575 - pypa/packaging#456
1nF0rmed
pushed a commit
to 1nF0rmed/poetry
that referenced
this issue
Nov 15, 2021
edvardm
pushed a commit
to edvardm/poetry
that referenced
this issue
Nov 24, 2021
jsirois
added a commit
to jsirois/pants
that referenced
this issue
Mar 21, 2023
Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes pantsbuild#18530
jsirois
added a commit
to pantsbuild/pants
that referenced
this issue
Mar 21, 2023
Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes #18530
jsirois
added a commit
to jsirois/pants
that referenced
this issue
Mar 21, 2023
…build#18535) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes pantsbuild#18530 (cherry picked from commit 54fb80b)
jsirois
added a commit
to jsirois/pants
that referenced
this issue
Mar 21, 2023
…build#18535) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes pantsbuild#18530 (cherry picked from commit 54fb80b)
This was referenced Mar 21, 2023
Merged
jsirois
added a commit
to jsirois/pants
that referenced
this issue
Mar 21, 2023
…build#18535) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes pantsbuild#18530 (cherry picked from commit 54fb80b) [ci skip-rust] [ci skip-build-wheels]
jsirois
added a commit
to pantsbuild/pants
that referenced
this issue
Mar 21, 2023
… (#18536) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes #18530 (cherry picked from commit 54fb80b)
jsirois
added a commit
to pantsbuild/pants
that referenced
this issue
Mar 21, 2023
… (#18537) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes #18530 (cherry picked from commit 54fb80b)
jsirois
added a commit
to pantsbuild/pants
that referenced
this issue
Mar 21, 2023
… (#18538) Previously the PEP-508 direct reference URL requirement synthesis ran afoul of creating ambiguous requirement strings as detailed here: pypa/packaging#456 (comment) Fixes #18530 (cherry picked from commit 54fb80b) [ci skip-rust] [ci skip-build-wheels]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a pretty simple example that shows what's going wrong. The problematic line is being produced by poetry and the difference between
file:///path/to/package/;
andfile:///path/to/package/ ;
seems like it shouldn't matter but the former is not parseable.I ran some more tests to try to identify the specific problem. Seems to be something to do with the
python_version
spec and the semicolon:The text was updated successfully, but these errors were encountered: