dev-python/execnet: Fix tests with pytest-7.2

Closes: https://bugs.gentoo.org/887937
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-12-23 12:35:58 +01:00
parent 48852754b2
commit 73d14a4a01
2 changed files with 13 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST execnet-1.9.0-pytest-7.2.patch 11177 BLAKE2B 6d6d0c76de606305ed0ca4f0f52d5ccc0cc3ab99d795ac2f4d39d3804cd5c0191f75704ee5eafcd135dc9854eef99a59dbd9cf57a8455b6b9cd45f2612fbcdba SHA512 ae16b3127545efe77a49392836a8940a053967e530a6288660a39edba9b35b448d0061ac7ac751c3be68de2cf5410655c2db55d344519f69db7c9ed4f7ca0003
DIST execnet-1.9.0.tar.gz 173884 BLAKE2B 622a1f47365bdea97ba53aee908faf990ef847e3641ab0590073cdd6eac3413d1517f16e8e5b73b56884f02aebb3142691ecf6113e14f9c49c9b0fef3ee3247c SHA512 d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60

View File

@@ -13,7 +13,11 @@ HOMEPAGE="
https://codespeak.net/execnet/
https://pypi.org/project/execnet/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
https://github.com/pytest-dev/execnet/commit/c0459b92bc4a42b08281e69b8802d24c5d3415d4.patch
-> ${P}-pytest-7.2.patch
"
LICENSE="MIT"
SLOT="0"
@@ -21,11 +25,18 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/py[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx doc
distutils_enable_tests pytest
PATCHES=(
"${DISTDIR}"/${P}-pytest-7.2.patch
)
EPYTEST_DESELECT=(
# needs python2.7 with apipkg?
'testing/test_termination.py::test_close_initiating_remote_no_error[python2.7]'