Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document requirements with - suffix more clearly #7885

Merged
merged 1 commit into from
Aug 7, 2014
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
7 changes: 6 additions & 1 deletion doc/manual/packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,12 @@ For example, the line::
Distributions 0.1

is satisfied by any version of ``Distributions`` greater than or equal to ``0.1.0``.
Suffixing a version with `-` allows any pre-release versions as well. For example::

Distributions 0.1-

is satisfied by pre-release versions such as ``0.1-dev`` or ``0.1-rc1``, or by any version greater than or equal to ``0.1.0``.

This requirement entry::

Distributions 0.1 0.2.5
Expand All @@ -469,7 +475,6 @@ If you want to indicate that any ``0.1.x`` version will do, you will want to wri

Distributions 0.1 0.2-

The ``0.2-`` "pseudo-version" is less than all real version numbers that start with ``0.2``.
If you want to start accepting versions after ``0.2.7``, you can write::

Distributions 0.1 0.2- 0.2.7
Expand Down