From 7fc3b347bce66eaed9bae410338f6a9f3108a970 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 30 Mar 2016 02:43:44 +1100 Subject: Update vendored packaging to 16.6 Closes #503 --- pkg_resources/_vendor/packaging/__about__.py | 2 +- pkg_resources/_vendor/packaging/markers.py | 7 ++++++- pkg_resources/_vendor/vendored.txt | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'pkg_resources') diff --git a/pkg_resources/_vendor/packaging/__about__.py b/pkg_resources/_vendor/packaging/__about__.py index 47e5a6f5..baa90755 100644 --- a/pkg_resources/_vendor/packaging/__about__.py +++ b/pkg_resources/_vendor/packaging/__about__.py @@ -12,7 +12,7 @@ __title__ = "packaging" __summary__ = "Core utilities for Python packages" __uri__ = "https://github.com/pypa/packaging" -__version__ = "16.5" +__version__ = "16.6" __author__ = "Donald Stufft and individual contributors" __email__ = "donald@stufft.io" diff --git a/pkg_resources/_vendor/packaging/markers.py b/pkg_resources/_vendor/packaging/markers.py index 9e906015..bac852df 100644 --- a/pkg_resources/_vendor/packaging/markers.py +++ b/pkg_resources/_vendor/packaging/markers.py @@ -73,9 +73,14 @@ VARIABLE = ( L("python_version") | L("sys_platform") | L("os_name") | + L("os.name") | # PEP-345 + L("sys.platform") | # PEP-345 + L("platform.version") | # PEP-345 + L("platform.machine") | # PEP-345 + L("platform.python_implementation") | # PEP-345 L("extra") ) -VARIABLE.setParseAction(lambda s, l, t: Variable(t[0])) +VARIABLE.setParseAction(lambda s, l, t: Variable(t[0].replace('.', '_'))) VERSION_CMP = ( L("===") | diff --git a/pkg_resources/_vendor/vendored.txt b/pkg_resources/_vendor/vendored.txt index aac1267c..1d03759f 100644 --- a/pkg_resources/_vendor/vendored.txt +++ b/pkg_resources/_vendor/vendored.txt @@ -1,3 +1,3 @@ -packaging==16.5 +packaging==16.6 pyparsing==2.0.6 six==1.10.0 -- cgit v1.2.1