55
66One extra requirement of dealing with dependencies is the ability to specify
77if it is required depending on the operating system or Python version in use.
8- `PEP 508 `_ defines the scheme which has been implemented by this module.
8+ The :ref: `specification of dependency specifiers <pypug:dependency-specifiers >`
9+ defines the scheme which has been implemented by this module.
910
1011Usage
1112-----
@@ -51,7 +52,7 @@ Reference
5152
5253 This class abstracts handling markers for dependencies of a project. It can
5354 be passed a single marker or multiple markers that are ANDed or ORed
54- together. Each marker will be parsed according to PEP 508 .
55+ together. Each marker will be parsed according to the specification .
5556
5657 :param str markers: The string representation of a marker or markers.
5758 :raises InvalidMarker: If the given ``markers `` are not parseable, then
@@ -63,28 +64,29 @@ Reference
6364
6465 :param dict environment: A dictionary containing keys and values to
6566 override the detected environment.
66- :raises: UndefinedComparison: If the marker uses a PEP 440 comparison on
67- strings which are not valid PEP 440 versions.
67+ :raises: UndefinedComparison: If the marker uses a comparison on strings
68+ which are not valid versions per the
69+ :ref: `specification of version specifiers
70+ <pypug:version-specifiers>`.
6871 :raises: UndefinedEnvironmentName: If the marker accesses a value that
6972 isn't present inside of the environment
7073 dictionary.
7174
7275.. exception :: InvalidMarker
7376
7477 Raised when attempting to create a :class: `Marker ` with a string that
75- does not conform to PEP 508 .
78+ does not conform to the specification .
7679
7780
7881.. exception :: UndefinedComparison
7982
80- Raised when attempting to evaluate a :class: `Marker ` with a PEP 440
81- comparison operator against values that are not valid PEP 440 versions.
83+ Raised when attempting to evaluate a :class: `Marker ` with a
84+ comparison operator against values that are not valid
85+ versions per the :ref: `specification of version specifiers
86+ <pypug:version-specifiers>`.
8287
8388
8489.. exception :: UndefinedEnvironmentName
8590
8691 Raised when attempting to evaluate a :class: `Marker ` with a value that is
8792 missing from the evaluation environment.
88-
89-
90- .. _`PEP 508` : https://www.python.org/dev/peps/pep-0508/
0 commit comments