From 1630da82c0170a05f47a5aa7dec8a32f2a30b9a7 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Sat, 6 Jul 2019 01:36:43 -0400 Subject: [PATCH] Pin pytest<5 Signed-off-by: Dan Ryan --- setup.py | 2 +- tests/integration/test_install_uri.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index d262eb35..d86d85e0 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ extras = { "parver", "invoke", ], - "tests": ["pytest", "pytest-tap", "pytest-xdist", "flaky", "mock"], + "tests": ["pytest<5.0", "pytest-tap", "pytest-xdist", "flaky", "mock"], } # https://pypi.python.org/pypi/stdeb/0.8.5#quickstart-2-just-tell-me-the-fastest-way-to-make-a-deb diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index 7a69e595..b71df965 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -125,10 +125,10 @@ def test_local_vcs_urls_work(PipenvInstance, tmpdir): @pytest.mark.vcs @pytest.mark.install @pytest.mark.needs_internet -def test_editable_vcs_install(PipenvInstance_NoPyPI): # ! This is failing +def test_editable_vcs_install(PipenvInstance_NoPyPI): with PipenvInstance_NoPyPI(chdir=True) as p: c = p.pipenv( - "install -e git+https://github.com/kennethreitz/requests.git#egg=requests --verbose" + "install -e git+https://github.com/kennethreitz/requests.git#egg=requests" ) assert c.return_code == 0 assert "requests" in p.pipfile["packages"] @@ -145,12 +145,12 @@ def test_editable_vcs_install(PipenvInstance_NoPyPI): # ! This is failing @pytest.mark.tablib @pytest.mark.install @pytest.mark.needs_internet -def test_install_editable_git_tag(PipenvInstance_NoPyPI): # ! This is failing +def test_install_editable_git_tag(PipenvInstance_NoPyPI): # This uses the real PyPI since we need Internet to access the Git # dependency anyway. with PipenvInstance_NoPyPI(chdir=True) as p: c = p.pipenv( - "install -e git+https://github.com/benjaminp/six.git@1.11.0#egg=six --verbose" + "install -e git+https://github.com/benjaminp/six.git@1.11.0#egg=six" ) assert c.return_code == 0 assert "six" in p.pipfile["packages"] @@ -209,10 +209,10 @@ def test_install_local_vcs_not_in_lockfile(PipenvInstance): @pytest.mark.vcs @pytest.mark.install @pytest.mark.needs_internet -def test_get_vcs_refs(PipenvInstance_NoPyPI): # ! this is failing +def test_get_vcs_refs(PipenvInstance_NoPyPI): with PipenvInstance_NoPyPI(chdir=True) as p: c = p.pipenv( - "install -e git+https://github.com/benjaminp/six.git@1.9.0#egg=six --verbose" + "install -e git+https://github.com/benjaminp/six.git@1.9.0#egg=six" ) assert c.return_code == 0 assert "six" in p.pipfile["packages"]