commit:     3e2188afa13d6208ba8323c7747a499d2b99c688
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 08:31:38 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 08:33:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2188af

dev-python/pyproject-api: Skip the test requiring Python 2

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

 dev-python/pyproject-api/pyproject-api-1.5.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild 
b/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild
index cc2472593940..7011a65f8211 100644
--- a/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild
+++ b/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild
@@ -40,3 +40,8 @@ BDEPEND="
 distutils_enable_tests pytest
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+EPYTEST_DESELECT=(
+       # requires Python 2 installed
+       tests/test_frontend.py::test_can_build_on_python_2
+)

Reply via email to