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

Update README.rst #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ build metadata is equality.
>>> Version('1.0.0+build1') in SimpleSpec('==1.0.0+build2') # Include build in checks
False

When using '+' in the spec text only operators '==' and '!=' are supported whilst any variant of lower/greater is not.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexanderStohr I felt that this topic was already addressed in the previous sentence:

Build metadata has no ordering; thus, the only meaningful comparison including build metadata is equality.

Maybe I should add a few examples of comparing versions higher in the README? Or some more details in this example block?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I felt it was not obvious but only implicit by leaving out such examples.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comparing metadata can be done in principle by using a textual (ascii) or a numeric comparision. Right now its just up to the one that wants to do it - to do it on his own.


NPM-based ranges
----------------
Expand Down