566: Mention that version specifiers no longer need to be in parentheses (#534)

This commit is contained in:
Thomas Kluyver 2018-01-12 07:32:37 +00:00 committed by Nick Coghlan
parent 7e6792adcb
commit f3f7981f39
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,12 @@ Version Specifiers
Version numbering requirements and the semantics for specifying comparisons
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.
Environment markers