From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9EF8138334 for ; Sat, 23 Nov 2019 11:42:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBA0FE0866; Sat, 23 Nov 2019 11:42:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8E67E0866 for ; Sat, 23 Nov 2019 11:42:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF17A34D271 for ; Sat, 23 Nov 2019 11:42:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA8088B5 for ; Sat, 23 Nov 2019 11:42:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1574509341.eec0b46b4bb3ebbf484378c6cca4f18573e34f75.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest/pytest-4.6.6.ebuild X-VCS-Directories: dev-python/pytest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eec0b46b4bb3ebbf484378c6cca4f18573e34f75 X-VCS-Branch: master Date: Sat, 23 Nov 2019 11:42:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bc22c84-2698-40d1-b048-d6239b22c785 X-Archives-Hash: 04461d33b776c3b07c2233e38a07a33a commit: eec0b46b4bb3ebbf484378c6cca4f18573e34f75 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 23 11:41:15 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 23 11:42:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec0b46b dev-python/pytest: Enable tests on py3.8 in 4.6.6 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest/pytest-4.6.6.ebuild | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/dev-python/pytest/pytest-4.6.6.ebuild b/dev-python/pytest/pytest-4.6.6.ebuild index 9467c349be6..4f85c1855b6 100644 --- a/dev-python/pytest/pytest-4.6.6.ebuild +++ b/dev-python/pytest/pytest-4.6.6.ebuild @@ -37,22 +37,18 @@ RDEPEND=" dev-python/wcwidth[${PYTHON_USEDEP}] virtual/python-funcsigs[${PYTHON_USEDEP}]" -# Temporary hack to avoid py38 keywording hell. Please remove when -# the test deps all have py38. Also pytest's test pass with py38, -# so you need to hack them all in locally before bumping and test. -TEST_USEDEP=$(python_gen_usedep python2_7 python3_{5,6,7} pypy{,3}) # flake cause a number of tests to fail DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} - dev-python/argcomplete[${TEST_USEDEP}] - >=dev-python/hypothesis-3.56[${TEST_USEDEP}] - dev-python/nose[${TEST_USEDEP}] + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) - dev-python/pexpect[${TEST_USEDEP}] - dev-python/pytest-xdist[${TEST_USEDEP}] - dev-python/requests[${TEST_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] !!dev-python/flaky )" @@ -71,15 +67,6 @@ python_prepare_all() { } python_test() { - if [[ ${EPYTHON} == python3.8 ]]; then - if [[ ${PV} != 4.6.6 ]]; then - eerror "Please disable py38 hacks and test locally, then update this." - die "Python 3.8 support untested for ${PV}" - fi - einfo "Skipping testing on ${EPYTHON} due to unkeyworded deps" - return - fi - # In v4.1.1, pytest started being picky about its own verbosity options. # running pytest on itself with -vv made 3 tests fail. This is why we don't # have it below.