Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/aspectlib/
Date: Mon, 03 May 2021 23:33:05
Message-Id: 1620084445.c5f334f70b5a09646d02f587b5d01c87c7cdfc07.cybertailor@gentoo
1 commit: c5f334f70b5a09646d02f587b5d01c87c7cdfc07
2 Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
3 AuthorDate: Mon May 3 20:31:32 2021 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Mon May 3 23:27:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5f334f7
7
8 dev-python/aspectlib: disable failing test
9
10 Closes: https://bugs.gentoo.org/784011
11 Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
12
13 dev-python/aspectlib/aspectlib-1.5.2.ebuild | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-python/aspectlib/aspectlib-1.5.2.ebuild b/dev-python/aspectlib/aspectlib-1.5.2.ebuild
17 index 5290da079..720bed235 100644
18 --- a/dev-python/aspectlib/aspectlib-1.5.2.ebuild
19 +++ b/dev-python/aspectlib/aspectlib-1.5.2.ebuild
20 @@ -5,7 +5,7 @@ EAPI=7
21
22 PYTHON_COMPAT=( python3_{7,8,9} )
23
24 -DISTUTILS_USE_SETUPTOOLS=rdepend
25 +DISTUTILS_USE_SETUPTOOLS=bdepend
26
27 inherit distutils-r1
28
29 @@ -29,7 +29,6 @@ DEPEND="
30 dev-python/mock[${PYTHON_USEDEP}]
31 dev-python/nose[${PYTHON_USEDEP}]
32 dev-python/process-tests[${PYTHON_USEDEP}]
33 - www-servers/tornado[${PYTHON_USEDEP}]
34 )
35 "
36
37 @@ -37,3 +36,9 @@ S="${WORKDIR}/python-${P}"
38
39 distutils_enable_tests pytest
40 distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
41 +
42 +python_test() {
43 + # Test fails with tornado>=6
44 + # https://github.com/ionelmc/python-aspectlib/issues/15
45 + epytest --deselect tests/test_integrations_py3.py::test_decorate_tornado_coroutine
46 +}