Skip to content

Commit 5ea6de1

Browse files
authored
Merge pull request pypa#771 from xavfernandez/clarify_python_requires
specifications: Requires-Python doesn't accept an environment marker
2 parents 72b168b + 1c2186a commit 5ea6de1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/specifications/core-metadata.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,14 +477,13 @@ picking which version of a project to install.
477477

478478
The value must be in the format specified in :doc:`version-specifiers`.
479479

480-
This field may be followed by an environment marker after a semicolon.
480+
This field cannot be followed by an environment marker.
481481

482482
Examples::
483483

484484
Requires-Python: >=3
485485
Requires-Python: >2.6,!=3.0.*,!=3.1.*
486486
Requires-Python: ~=2.6
487-
Requires-Python: >=3; sys_platform == 'win32'
488487

489488

490489
Requires-External (multiple use)

0 commit comments

Comments
 (0)