Skip to content

Commit

Permalink
Dependency Specifiers: Require whitespace after in and not in
Browse files Browse the repository at this point in the history
Otherwise `numpy; os_name in'posix'` and `numpy; os_name inos_name` would be valid. pypa/packaging 22.0 actually allows currently `numpy; os_name in'posix'`
  • Loading branch information
konstin committed Dec 11, 2022
1 parent 4193e04 commit f91e32f
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 @@ -70,7 +70,7 @@ URI is defined in :rfc:`std-66 <3986>`)::
Environment markers allow making a specification only take effect in some
environments::

marker_op = version_cmp | (wsp+ 'in') | (wsp+ 'not' wsp+ 'in')
marker_op = version_cmp | (wsp+ 'in' wsp+) | (wsp+ 'not' wsp+ 'in' wsp+)
python_str_c = (wsp | letter | digit | '(' | ')' | '.' | '{' | '}' |
'-' | '_' | '*' | '#' | ':' | ';' | ',' | '/' | '?' |
'[' | ']' | '!' | '~' | '`' | '@' | '$' | '%' | '^' |
Expand Down

0 comments on commit f91e32f

Please sign in to comment.