From e21385f29f94821ef8a4ad7a2ac35a0a64e636f5 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sat, 12 Mar 2022 18:02:17 +1000 Subject: [PATCH] PEP 440: note that setuptools comparison is historical --- pep-0440.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pep-0440.txt b/pep-0440.txt index 6d760034b8f..cae1ad38504 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -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.