don't support all extras

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-12 09:09:28 -04:00
parent 70fa4aabeb
commit 2ed7fb6d6b
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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.
+1
View File
@@ -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"""