commit:     688e3a013cb8b7decac8a5f827c3f396a0f0ac73
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 12:35:07 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 13:18:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688e3a01

dev-python/setuptools_scm: Skip problematic test w/ nose installed

Closes: https://bugs.gentoo.org/892639
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../setuptools_scm/setuptools_scm-7.1.0.ebuild     | 23 ++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild 
b/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild
index 1efefeb1ff54..b4b66d2a3ea1 100644
--- a/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild
+++ b/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild
@@ -39,10 +39,21 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-EPYTEST_DESELECT=(
-       # the usual nondescript gpg-agent failure
-       testing/test_git.py::test_git_getdate_signed_commit
+python_test() {
+       local EPYTEST_DESELECT=(
+               # the usual nondescript gpg-agent failure
+               testing/test_git.py::test_git_getdate_signed_commit
 
-       # fetching from the Internet
-       testing/test_regressions.py::test_pip_download
-)
+               # fetching from the Internet
+               testing/test_regressions.py::test_pip_download
+       )
+
+       if has_version dev-python/nose; then
+               EPYTEST_DESELECT+=(
+                       # https://bugs.gentoo.org/892639
+                       testing/test_integration.py::test_pyproject_support
+               )
+       fi
+
+       epytest
+}

Reply via email to