Skip to content

Commit

Permalink
PEP 440: note that setuptools comparison is historical (#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan authored Mar 12, 2022
1 parent 00a5a0b commit 54d8f01
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 54d8f01

Please sign in to comment.