mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
don't support all extras
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
@@ -224,9 +224,9 @@ class PyPIRepository(BaseRepository):
|
||||
for section in setup_requires:
|
||||
python_version = section
|
||||
for value in setup_requires[section]:
|
||||
if ':' in value:
|
||||
if ':' in value and 'python' in value:
|
||||
python_version = value[1:-1]
|
||||
else:
|
||||
elif ':' not in value:
|
||||
try:
|
||||
result = result + [InstallRequirement.from_line("{0}{1}".format(value, python_version).replace(':', ';'))]
|
||||
# Anything could go wrong here — can't be too careful.
|
||||
|
||||
@@ -946,6 +946,7 @@ requests = "==2.14.0"
|
||||
@pytest.mark.install
|
||||
@pytest.mark.files
|
||||
@pytest.mark.resolver
|
||||
@pytest.mark.eggs
|
||||
def test_local_package(self, pip_src_dir):
|
||||
"""This test ensures that local packages (directories with a setup.py)
|
||||
installed in editable mode have their dependencies resolved as well"""
|
||||
|
||||
Reference in New Issue
Block a user