1 |
commit: 688e3a013cb8b7decac8a5f827c3f396a0f0ac73 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 12:35:07 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 13:18:22 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688e3a01 |
7 |
|
8 |
dev-python/setuptools_scm: Skip problematic test w/ nose installed |
9 |
|
10 |
Closes: https://bugs.gentoo.org/892639 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
.../setuptools_scm/setuptools_scm-7.1.0.ebuild | 23 ++++++++++++++++------ |
14 |
1 file changed, 17 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild |
17 |
index 1efefeb1ff54..b4b66d2a3ea1 100644 |
18 |
--- a/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild |
19 |
+++ b/dev-python/setuptools_scm/setuptools_scm-7.1.0.ebuild |
20 |
@@ -39,10 +39,21 @@ BDEPEND=" |
21 |
|
22 |
distutils_enable_tests pytest |
23 |
|
24 |
-EPYTEST_DESELECT=( |
25 |
- # the usual nondescript gpg-agent failure |
26 |
- testing/test_git.py::test_git_getdate_signed_commit |
27 |
+python_test() { |
28 |
+ local EPYTEST_DESELECT=( |
29 |
+ # the usual nondescript gpg-agent failure |
30 |
+ testing/test_git.py::test_git_getdate_signed_commit |
31 |
|
32 |
- # fetching from the Internet |
33 |
- testing/test_regressions.py::test_pip_download |
34 |
-) |
35 |
+ # fetching from the Internet |
36 |
+ testing/test_regressions.py::test_pip_download |
37 |
+ ) |
38 |
+ |
39 |
+ if has_version dev-python/nose; then |
40 |
+ EPYTEST_DESELECT+=( |
41 |
+ # https://bugs.gentoo.org/892639 |
42 |
+ testing/test_integration.py::test_pyproject_support |
43 |
+ ) |
44 |
+ fi |
45 |
+ |
46 |
+ epytest |
47 |
+} |