From de9faeb48eb84d80719f5ac0a336ab8bf97b1ce1 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Tue, 26 Jun 2018 00:44:01 -0400 Subject: [PATCH] Update requirementslib to fix markers in vcs reqs - Fixes #2416 Signed-off-by: Dan Ryan --- news/2419.bugfix | 1 + news/2419.vendor | 1 + pipenv/vendor/requirementslib/__init__.py | 2 +- pipenv/vendor/requirementslib/models/requirements.py | 2 +- pipenv/vendor/vendor.txt | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 news/2419.bugfix create mode 100644 news/2419.vendor diff --git a/news/2419.bugfix b/news/2419.bugfix new file mode 100644 index 0000000000..fec7157a38 --- /dev/null +++ b/news/2419.bugfix @@ -0,0 +1 @@ +Updated requirementslib to fix an issue with properly quoting markers in VCS requirements. diff --git a/news/2419.vendor b/news/2419.vendor new file mode 100644 index 0000000000..fec7157a38 --- /dev/null +++ b/news/2419.vendor @@ -0,0 +1 @@ +Updated requirementslib to fix an issue with properly quoting markers in VCS requirements. diff --git a/pipenv/vendor/requirementslib/__init__.py b/pipenv/vendor/requirementslib/__init__.py index f3393c11b2..7e4acf404f 100644 --- a/pipenv/vendor/requirementslib/__init__.py +++ b/pipenv/vendor/requirementslib/__init__.py @@ -1,5 +1,5 @@ # -*- coding=utf-8 -*- -__version__ = "1.0.5.dev0" +__version__ = "1.0.6" from .exceptions import RequirementError diff --git a/pipenv/vendor/requirementslib/models/requirements.py b/pipenv/vendor/requirementslib/models/requirements.py index 16d9986313..6dc76e0d00 100644 --- a/pipenv/vendor/requirementslib/models/requirements.py +++ b/pipenv/vendor/requirementslib/models/requirements.py @@ -649,7 +649,7 @@ def hashes_as_pip(self): @property def markers_as_pip(self): if self.markers: - return "; {0}".format(self.markers) + return "; {0}".format(self.markers.replace('"', "'")) return "" diff --git a/pipenv/vendor/vendor.txt b/pipenv/vendor/vendor.txt index 6b44b53d51..a19294b770 100644 --- a/pipenv/vendor/vendor.txt +++ b/pipenv/vendor/vendor.txt @@ -27,7 +27,7 @@ requests==2.19.1 idna==2.7 urllib3==1.23 certifi==2018.4.16 -requirementslib==1.0.5 +requirementslib==1.0.6 attrs==18.1.0 distlib==0.2.7 packaging==17.1