Skip two failing integration tests.
Temporary relief for
@@ -330,7 +330,7 @@ def test_pex_path_in_pex_info_and_env():
assert stdout == b'Success!\n'
-def test_interpreter_constraints_to_pex_info():
+def test_interpreter_constraints_to_pex_info_py2():
with temporary_dir() as output_dir:
# target python 2
pex_out_path = os.path.join(output_dir, 'pex_py2.pex')
@@ -342,6 +342,10 @@ def test_interpreter_constraints_to_pex_info():
pex_info = get_pex_info(pex_out_path)
assert set(['>=2.7', '<3']) == set(pex_info.interpreter_constraints)
+
+@pytest.mark.skip('https://github.com/pantsbuild/pex/issues/470')
+def test_interpreter_constraints_to_pex_info_py3():
+ with temporary_dir() as output_dir:
# target python 3
pex_out_path = os.path.join(output_dir, 'pex_py3.pex')
res = run_pex_command(['--disable-cache',
@@ -493,6 +497,7 @@ def test_pex_exec_with_pex_python_path_and_pex_python_but_no_constraints():
assert str(pex_python_path.split(':')[0]).encode() in stdout
+@pytest.mark.skip('https://github.com/pantsbuild/pex/issues/470')
def test_pex_python():
with temporary_dir() as td:
pexrc_path = os.path.join(td, '.pexrc')
@@ -679,7 +684,7 @@ def inherit_path(inherit_path):
pex_path = os.path.join(output_dir, 'pex.pex')
results = run_pex_command([
'--disable-cache',
- 'pycountry',
+ 'msgpack_python',
'--inherit-path{}'.format(inherit_path),
'-o',
pex_path,
@@ -696,7 +701,7 @@ def inherit_path(inherit_path):
assert rc == 0
stdout_lines = stdout.decode().split('\n')
- requests_paths = tuple(i for i, l in enumerate(stdout_lines) if 'pycountry' in l)
+ requests_paths = tuple(i for i, l in enumerate(stdout_lines) if 'msgpack_python' in l)
sys_paths = tuple(i for i, l in enumerate(stdout_lines) if 'doesnotexist' in l)
assert len(requests_paths) == 1
assert len(sys_paths) == 1
