commit:     a8474a05b0f0353e1ddc69e5d865e7f1bd01fb02
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 18:34:56 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 19:31:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8474a05

dev-python/pip: Remove unnecessary test deps and restrictions

Remove pytest version restriction, pytest-4 gives the same result.
Remove unused pytest-cov.  Remove unnecessary pytest-rerunfailures
and pytest-timeout (they do not affect the result).  Finally, remove
pytest-xdist -- while tests are obviously slower without it, it's very
unstable and frequently causes crash before tests even start.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pip/pip-19.3.1-r1.ebuild | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev-python/pip/pip-19.3.1-r1.ebuild 
b/dev-python/pip/pip-19.3.1-r1.ebuild
index 5db9420caa2..b0232bd55f9 100644
--- a/dev-python/pip/pip-19.3.1-r1.ebuild
+++ b/dev-python/pip/pip-19.3.1-r1.ebuild
@@ -40,11 +40,7 @@ DEPEND="
                dev-python/freezegun[${PYTHON_USEDEP}]
                dev-python/mock[${PYTHON_USEDEP}]
                dev-python/pretend[${PYTHON_USEDEP}]
-               <dev-python/pytest-4[${PYTHON_USEDEP}]
-               dev-python/pytest-cov[${PYTHON_USEDEP}]
-               <dev-python/pytest-rerunfailures-7.0[${PYTHON_USEDEP}]
-               dev-python/pytest-timeout[${PYTHON_USEDEP}]
-               <dev-python/pytest-xdist-1.28.0[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/pyyaml[${PYTHON_USEDEP}]
                dev-python/scripttest[${PYTHON_USEDEP}]
                dev-python/virtualenv[${PYTHON_USEDEP}]
@@ -92,8 +88,6 @@ python_test () {
                # version_check tests are excluded since we explicitly disable 
this feature entirely.
                # uninstall test just fails, likely because of our test 
environment setup.
                python -m pytest -v \
-                       -n $(makeopts_jobs) \
-                       --timeout 300 \
                        -k "not (svn or git or bazaar or mercurial or 
version_check or uninstall_non_local_distutils ${EXCLUDE_TESTS[*]})" \
                        -m "not network" \
                        || die

Reply via email to