Skip to content

Commit

Permalink
Dependency Specifiers: Don't require whitespace after URL
Browse files Browse the repository at this point in the history
otherwise would `numpy @ https://example.org/numpy` is not a valid specifier (missing whitespace after the URL). This already what pip and packaging do and also what the parsley grammar says
  • Loading branch information
konstin committed Dec 11, 2022
1 parent bb7b118 commit 3ab0328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Giving us a rule for name based requirements::

And a rule for direct reference specifications::

url_req = name wsp* extras? wsp* urlspec wsp+ quoted_marker?
url_req = name wsp* extras? wsp* urlspec (wsp+ quoted_marker?)?

Leading to the unified rule that can specify a dependency.::

Expand Down

0 comments on commit 3ab0328

Please sign in to comment.