diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-18 17:34:45 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-18 17:35:13 +0200 |
commit | f1b7395b2d7f454c288de6688e68b763ce7eec1c (patch) | |
tree | 365c34f6f2e94ae669244c3badb00a9ab858f2d7 /dev-python/pytest-xdist | |
parent | dev-python/pytest-mock: Remove old (diff) | |
download | gentoo-f1b7395b2d7f454c288de6688e68b763ce7eec1c.tar.gz gentoo-f1b7395b2d7f454c288de6688e68b763ce7eec1c.tar.bz2 gentoo-f1b7395b2d7f454c288de6688e68b763ce7eec1c.zip |
dev-python/pytest-xdist: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-xdist')
-rw-r--r-- | dev-python/pytest-xdist/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-xdist/files/pytest-xdist-1.32.0-timeout.patch | 50 | ||||
-rw-r--r-- | dev-python/pytest-xdist/pytest-xdist-1.33.0.ebuild | 43 | ||||
-rw-r--r-- | dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild | 38 |
4 files changed, 0 insertions, 133 deletions
diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index c21effa5d04b..1a85694e4cdd 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1,4 +1,2 @@ -DIST pytest-xdist-1.33.0.tar.gz 65588 BLAKE2B 096ffa9295ec0ef4d390b714b02a4d126aa33475b55591b91375f2da0c957802e007b990dc2051d5198f223b250a4a7294367c9da8f8969313a61a7e8ef18ebd SHA512 5e5b23e60b546779d4bbcc9b86c004bdb084689ba006c8bb8a7db9be60b6080f04a5bb2b1f5b43a5062b82e35493331d1da699d8a36177307280b06aa23a1367 DIST pytest-xdist-1.34.0.tar.gz 66151 BLAKE2B ac5274e32b3ef6b72113efd4300eb6946a977e0e202d3383abcdbc022126b7806edb326ddc16abb1219e22eb091e06a9c39fce3031aaf5943d4ad653a47af142 SHA512 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24 -DIST pytest-xdist-2.0.0.tar.gz 65663 BLAKE2B 01f4154ae77c0ca67bef9cc0c36f9e3aea03ea554ba45ababb53647720795eae85e6c884eee6cd14037d566dc7bc46f49496aaaecfaaa31322b045339e6c01e8 SHA512 ad1e22ec6963e16f3f1408f0ed39c2945da8f8d2b332b29c36151bc1245e1b9ab532315d8315c22f93f249a64ab508fd78bccd5390be7315d962dd2382f63e0d DIST pytest-xdist-2.1.0.tar.gz 66332 BLAKE2B ac3c19a32bb9153537edfcf55bc656011661cf0d166da1aba969055a398616bb5782534a12ba354175be722c070fcfb2013d58405048814a3d11434a314e38b8 SHA512 85c69d8e649a19de5639738eae4cb213dc7323d96883ec82f39ab51a196346edd9fadbaf97f9763ac0dea104bc123d521264a39d2701878edfa76ce7e5bb347b diff --git a/dev-python/pytest-xdist/files/pytest-xdist-1.32.0-timeout.patch b/dev-python/pytest-xdist/files/pytest-xdist-1.32.0-timeout.patch deleted file mode 100644 index 52fdc681dfb2..000000000000 --- a/dev-python/pytest-xdist/files/pytest-xdist-1.32.0-timeout.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 27519e8018ee199219ab223e0b31b76b4e950a2a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 3 May 2020 11:23:33 +0200 -Subject: [PATCH] Increase pexpect timeouts to prevent tests from failing - ---- - testing/acceptance_test.py | 2 +- - testing/test_looponfail.py | 6 ++++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py -index b6a4a94..a089baa 100644 ---- a/testing/acceptance_test.py -+++ b/testing/acceptance_test.py -@@ -332,7 +332,7 @@ class TestDistribution: - time.sleep(10) - """ - ) -- child = testdir.spawn_pytest("-n1 -v") -+ child = testdir.spawn_pytest("-n1 -v", expect_timeout=30.0) - child.expect(".*test_sleep.*") - child.kill(2) # keyboard interrupt - child.expect(".*KeyboardInterrupt.*") -diff --git a/testing/test_looponfail.py b/testing/test_looponfail.py -index 94fccd7..a6ebebe 100644 ---- a/testing/test_looponfail.py -+++ b/testing/test_looponfail.py -@@ -284,7 +284,8 @@ class TestFunctional: - ) - # p = testdir.mkdir("sub").join(p1.basename) - # p1.move(p) -- child = testdir.spawn_pytest("-f %s --traceconfig" % p) -+ child = testdir.spawn_pytest("-f %s --traceconfig" % p, -+ expect_timeout=30.0) - child.expect("def test_one") - child.expect("x == 1") - child.expect("1 failed") -@@ -311,7 +312,8 @@ class TestFunctional: - pass - """ - ) -- child = testdir.spawn_pytest("-f %s" % p) -+ child = testdir.spawn_pytest("-f %s" % p, -+ expect_timeout=30.0) - child.expect("1 xpass") - # child.expect("### LOOPONFAILING ####") - child.expect("waiting for changes") --- -2.26.2 - diff --git a/dev-python/pytest-xdist/pytest-xdist-1.33.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-1.33.0.ebuild deleted file mode 100644 index 0a7311caa0e4..000000000000 --- a/dev-python/pytest-xdist/pytest-xdist-1.33.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Distributed testing and loop-on-failing modes" -HOMEPAGE="https://pypi.org/project/pytest-xdist/ https://github.com/pytest-dev/pytest-xdist" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# pleaes do not depend on pytest to avoid unnecessary USEDEP enforcement -RDEPEND=" - dev-python/execnet[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/filelock[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/pytest-xdist-1.32.0-timeout.patch -) - -python_test() { - distutils_install_for_testing - pytest -vv testing || die "Tests failed under ${EPYTHON}" -} diff --git a/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild deleted file mode 100644 index 454164201554..000000000000 --- a/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Distributed testing and loop-on-failing modes" -HOMEPAGE="https://pypi.org/project/pytest-xdist/ https://github.com/pytest-dev/pytest-xdist" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" - -# please do not depend on pytest to avoid unnecessary USEDEP enforcement -RDEPEND=" - dev-python/execnet[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/filelock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv testing || die "Tests failed under ${EPYTHON}" -} |