Skip to content

Commit 3ab0328

Browse files
committed
Dependency Specifiers: Don't require whitespace after URL
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
1 parent bb7b118 commit 3ab0328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/specifications/dependency-specifiers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Giving us a rule for name based requirements::
113113

114114
And a rule for direct reference specifications::
115115

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

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

0 commit comments

Comments
 (0)