From fa86704be397d1f844f8a1c49fb482e99a79ea89 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Wed, 15 Feb 2017 08:30:35 +0100 Subject: [PATCH] PEP 426: Reference PEP 508 where appropriate Some parts of PEP 426 relating to dependency declarations are now covered in PEP 508, so make a note of that in the affected sections. --- pep-0426.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pep-0426.txt b/pep-0426.txt index aaec92bb1..745c8757c 100644 --- a/pep-0426.txt +++ b/pep-0426.txt @@ -1259,6 +1259,11 @@ back on attempting to install from source rather than failing entirely. Extras (optional dependencies) ============================== +.. note:: + + The general definition of extras has been moved out to the + specification for dependency declarations: PEP 508. + Extras are additional dependencies that enable an optional aspect of the distribution, often corresponding to a ``try: import optional_dependency ...`` block in the code. To support the use of the @@ -1365,9 +1370,8 @@ Environment markers .. note:: - The definition of environment markers is in the process of being moved out - to a dedicated specification: PEP 496. - + The definition of environment markers has been moved out to the + specification for dependency declarations: PEP 508. An **environment marker** describes a condition about the current execution environment. They are used to indicate when certain dependencies are only