From 00e932a6a48d470d9b06e5611629d341b46598ca Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Thu, 10 May 2018 22:58:47 -0400 Subject: [PATCH] Update requirementslib Signed-off-by: Dan Ryan --- pipenv/vendor/requirementslib/__init__.py | 2 +- pipenv/vendor/requirementslib/requirements.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pipenv/vendor/requirementslib/__init__.py b/pipenv/vendor/requirementslib/__init__.py index 54a23abda4..ef4d46a8d2 100644 --- a/pipenv/vendor/requirementslib/__init__.py +++ b/pipenv/vendor/requirementslib/__init__.py @@ -1,4 +1,4 @@ # -*- coding=utf-8 -*- -__version__ = "0.0.3" +__version__ = "0.0.4" from .requirements import Requirement diff --git a/pipenv/vendor/requirementslib/requirements.py b/pipenv/vendor/requirementslib/requirements.py index 2302736813..04e561c6d3 100644 --- a/pipenv/vendor/requirementslib/requirements.py +++ b/pipenv/vendor/requirementslib/requirements.py @@ -378,7 +378,8 @@ def from_pipfile(cls, name, pipfile): @property def line_part(self): seed = self.path or self.link.url or self.uri - if not self._has_hashed_name: + # add egg fragments to remote artifacts (valid urls only) + if not self._has_hashed_name and self.is_remote_artifact: seed += "#egg={0}".format(self.name) editable = "-e " if self.editable else "" return "{0}{1}".format(editable, seed)