1 |
commit: a6d0f7cb95ec0cafb4b7e2de124f2c7ed25e34fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 08:56:16 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 08:56:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d0f7cb |
7 |
|
8 |
dev-python/sqlalchemy: Skip tests requiring greenlet if not avail. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/842117 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild | 8 ++++++++ |
14 |
dev-python/sqlalchemy/sqlalchemy-1.4.36.ebuild | 8 ++++++++ |
15 |
2 files changed, 16 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild |
18 |
index d49130048380..d990b9e3bac3 100644 |
19 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild |
20 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild |
21 |
@@ -49,6 +49,14 @@ python_test() { |
22 |
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
23 |
test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access |
24 |
) |
25 |
+ if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then |
26 |
+ EPYTEST_DESELECT+=( |
27 |
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution |
28 |
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync |
29 |
+ "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]" |
30 |
+ "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" |
31 |
+ ) |
32 |
+ fi |
33 |
|
34 |
# upstream's test suite is horribly hacky; it relies on disabling |
35 |
# the warnings plugin and turning warnings into errors; this also |
36 |
|
37 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.36.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.36.ebuild |
38 |
index f22213fbdeb6..4eb4a4e1ddec 100644 |
39 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.36.ebuild |
40 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.4.36.ebuild |
41 |
@@ -49,6 +49,14 @@ python_test() { |
42 |
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
43 |
test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access |
44 |
) |
45 |
+ if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then |
46 |
+ EPYTEST_DESELECT+=( |
47 |
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution |
48 |
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync |
49 |
+ "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]" |
50 |
+ "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" |
51 |
+ ) |
52 |
+ fi |
53 |
|
54 |
# upstream's test suite is horribly hacky; it relies on disabling |
55 |
# the warnings plugin and turning warnings into errors; this also |