summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/_vendor/packaging/__about__.py2
-rw-r--r--setuptools/_vendor/packaging/specifiers.py10
-rw-r--r--setuptools/_vendor/vendored.txt2
3 files changed, 8 insertions, 6 deletions
diff --git a/setuptools/_vendor/packaging/__about__.py b/setuptools/_vendor/packaging/__about__.py
index 481589e7..d3e3dacf 100644
--- a/setuptools/_vendor/packaging/__about__.py
+++ b/setuptools/_vendor/packaging/__about__.py
@@ -22,7 +22,7 @@ __title__ = "packaging"
__summary__ = "Core utilities for Python packages"
__uri__ = "https://github.com/pypa/packaging"
-__version__ = "14.3"
+__version__ = "14.4"
__author__ = "Donald Stufft"
__email__ = "donald@stufft.io"
diff --git a/setuptools/_vendor/packaging/specifiers.py b/setuptools/_vendor/packaging/specifiers.py
index bea4a398..80225786 100644
--- a/setuptools/_vendor/packaging/specifiers.py
+++ b/setuptools/_vendor/packaging/specifiers.py
@@ -461,16 +461,18 @@ class Specifier(_IndividualSpecifier):
# Less than are defined as exclusive operators, this implies that
# pre-releases do not match for the same series as the spec. This is
# implemented by making <V imply !=V.*.
- return (prospective < Version(spec)
- and self._get_operator("!=")(prospective, spec + ".*"))
+ spec = Version(spec)
+ return (prospective < spec
+ and self._get_operator("!=")(prospective, str(spec) + ".*"))
@_require_version_compare
def _compare_greater_than(self, prospective, spec):
# Greater than are defined as exclusive operators, this implies that
# pre-releases do not match for the same series as the spec. This is
# implemented by making >V imply !=V.*.
- return (prospective > Version(spec)
- and self._get_operator("!=")(prospective, spec + ".*"))
+ spec = Version(spec)
+ return (prospective > spec
+ and self._get_operator("!=")(prospective, str(spec) + ".*"))
def _compare_arbitrary(self, prospective, spec):
return str(prospective).lower() == str(spec).lower()
diff --git a/setuptools/_vendor/vendored.txt b/setuptools/_vendor/vendored.txt
index b86bba00..576aa8db 100644
--- a/setuptools/_vendor/vendored.txt
+++ b/setuptools/_vendor/vendored.txt
@@ -1 +1 @@
-packaging==14.3
+packaging==14.4