diff options
author | Paul Moore <p.f.moore@gmail.com> | 2018-03-20 13:48:15 +0000 |
---|---|---|
committer | Paul Moore <p.f.moore@gmail.com> | 2018-03-20 13:48:15 +0000 |
commit | 834c1f12d59bb385b5263f5f7a534207b6a94f3c (patch) | |
tree | 7bc6f6dee5e0e663bfffeb5573252155ec07cefa | |
parent | 277bd6b00b9265d8578dc865b63626b7f5eafbad (diff) | |
download | pip-834c1f12d59bb385b5263f5f7a534207b6a94f3c.tar.gz |
Remove test_basic_install_environment_markers.
This test relies on buggy setuptools behaviour (keeping
requirements with environment markers in install_requires,
rather than moving them to extras_require) which has been
fixed in recent setuptools versions.
-rw-r--r-- | tests/functional/test_install.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index 61644c4e6..b944db776 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -1188,27 +1188,6 @@ def test_install_compatible_python_requires(script, common_wheels): assert "Successfully installed pkga-0.1" in res.stdout, res -def test_basic_install_environment_markers(script): - # make a dummy project - pkga_path = script.scratch_path / 'pkga' - pkga_path.mkdir() - pkga_path.join("setup.py").write(textwrap.dedent(""" - from setuptools import setup - setup(name='pkga', - version='0.1', - install_requires=[ - 'missing_pkg; python_version=="1.0"', - ], - ) - """)) - - res = script.pip('install', '--no-index', pkga_path) - # missing_pkg should be ignored - assert ("Ignoring missing-pkg: markers 'python_version == \"1.0\"' don't " - "match your environment") in res.stdout, str(res) - assert "Successfully installed pkga-0.1" in res.stdout, str(res) - - @pytest.mark.network def test_install_pep508_with_url(script): res = script.pip( |