Skip to content

Commit 9f6d6fc

Browse files
AndreMirasinclement
authored andcommitted
Fixes test_virtualenv and test_venv failing, closes #1994 (#1995)
Recent pep517 release seems to break tests.
1 parent 2f98b81 commit 9f6d6fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
install_reqs = [
2424
'appdirs', 'colorama>=0.3.3', 'jinja2', 'six',
2525
'enum34; python_version<"3.4"', 'sh>=1.10; sys_platform!="nt"',
26-
'pep517', 'pytoml', 'virtualenv'
26+
'pep517<0.7.0"', 'pytoml', 'virtualenv'
2727
]
2828
# (pep517, pytoml and virtualenv are used by pythonpackage.py)
2929

tests/test_pythonpackage_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def test_virtualenv(self):
303303
])
304304
subprocess.check_output([
305305
os.path.join(test_dir, "virtualenv", "bin", "pip"),
306-
"install", "-U", "pep517"
306+
"install", "-U", "pep517<0.7.0"
307307
])
308308
sys_python_path = self.run__get_system_python_executable(
309309
os.path.join(test_dir, "virtualenv", "bin", "python")
@@ -336,7 +336,7 @@ def test_venv(self):
336336
])
337337
subprocess.check_output([
338338
os.path.join(test_dir, "venv", "bin", "pip"),
339-
"install", "-U", "pep517"
339+
"install", "-U", "pep517<0.7.0"
340340
])
341341
sys_python_path = self.run__get_system_python_executable(
342342
os.path.join(test_dir, "venv", "bin", "python")

0 commit comments

Comments
 (0)