566: Mention that version specifiers no longer need to be in parentheses (#534)
This commit is contained in:
parent
7e6792adcb
commit
f3f7981f39
|
@ -87,6 +87,12 @@ Version Specifiers
|
||||||
Version numbering requirements and the semantics for specifying comparisons
|
Version numbering requirements and the semantics for specifying comparisons
|
||||||
between versions are defined in PEP 440.
|
between versions are defined in PEP 440.
|
||||||
|
|
||||||
|
Following :pep:`508`, version specifiers no longer need to be surrounded by
|
||||||
|
parentheses in the fields Requires-Dist, Provides-Dist, Obsoletes-Dist or
|
||||||
|
Requires-External, so e.g. ``requests >= 2.8.1`` is now a valid value.
|
||||||
|
The recommended format is without parentheses, but tools parsing metadata should
|
||||||
|
also be able to handle version specifiers in parentheses.
|
||||||
|
|
||||||
Usage of version specifiers is otherwise unchanged from PEP 345.
|
Usage of version specifiers is otherwise unchanged from PEP 345.
|
||||||
|
|
||||||
Environment markers
|
Environment markers
|
||||||
|
|
Loading…
Reference in New Issue