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

PEP 440: note that setuptools comparison is historical #2422

Merged
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
4 changes: 4 additions & 0 deletions pep-0440.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,10 @@ defined in a new PEP.
Summary of differences from pkg_resources.parse_version
=======================================================

* Note: this comparison is to ``pkg_resourses.parse_version`` as it existed at
the time the PEP was written. After the PEP was accepted, setuptools 6.0 and
later versions adopted the behaviour described in this PEP.

* Local versions sort differently, this PEP requires that they sort as greater
than the same version without a local version, whereas
``pkg_resources.parse_version`` considers it a pre-release marker.
Expand Down