Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions peps/pep-0804.rst
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ Each entry in this list is defined as a dictionary with these fields:
per command.
- True
* - ``specifier_syntax``
- ``dict[Literal['name_only', 'exact_version', 'version_ranges'], None | list[str] | dict[Literal['and', 'equal', 'greater_than', 'greater_than_equal', 'less_than', 'less_than_equal', 'not_equal', 'syntax'], None | str | list[str]]``
- ``dict[Literal['name_only', 'exact_version', 'version_ranges'], None | list[str] | dict[Literal['and', 'equal', 'greater_than', 'greater_than_equal', 'less_than', 'less_than_equal', 'syntax'], None | str | list[str]]``
- Mapping of allowed PEP440 version specifiers to the syntax used in this
package manager. Three top-level keys are expected and required:

Expand All @@ -681,7 +681,7 @@ Each entry in this list is defined as a dictionary with these fields:
``and``). They MAY also include the ``{name}`` placeholder.

- the keys ``equal``, ``greater_than``, ``greater_than_equal``,
``less_than``, ``less_than_equal``, and ``not_equal`` take a string
``less_than``, and ``less_than_equal`` take a string
if the operator is supported, ``None`` otherwise. In the former case,
the value MUST include the ``{version}`` placeholder, and MAY include
``{name}``.
Expand Down Expand Up @@ -832,7 +832,6 @@ for brevity, could look like:
"greater_than_equal": ">={version}",
"less_than": "<{version}",
"less_than_equal": "<={version}",
"not_equal": "!={version}",
"syntax": [
"{name}{ranges}"
]
Expand Down