mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
further patch @hynek's glorious bug
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
@@ -225,7 +225,7 @@ class PyPIRepository(BaseRepository):
|
||||
result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True)
|
||||
if not result:
|
||||
if reqset.requires_python:
|
||||
from ..pip.req.req_install import InstallRequirement
|
||||
from pipenv.patched.pip.req.req_install import InstallRequirement
|
||||
|
||||
marker = 'python_version=="{0}"'.format(reqset.requires_python.replace(' ', ''))
|
||||
new_req = InstallRequirement.from_line('{0}; {1}'.format(str(ireq.req), marker))
|
||||
|
||||
Reference in New Issue
Block a user