summaryrefslogtreecommitdiff
path: root/dev-python/sqlalchemy
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-25 13:39:45 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-25 13:39:45 +0000
commitba7a03eabe86adad69eb1462380e75d70daac272 (patch)
treed15da3462c0dc5f3ed2c8a7a86b878f8e0e69d84 /dev-python/sqlalchemy
parent6f771cf82e43c5f77ed868e511b89fd8919922b0 (diff)
downloadbaldeagleos-repo-ba7a03eabe86adad69eb1462380e75d70daac272.tar.gz
baldeagleos-repo-ba7a03eabe86adad69eb1462380e75d70daac272.tar.xz
baldeagleos-repo-ba7a03eabe86adad69eb1462380e75d70daac272.zip
Adding metadata
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.4.20.ebuild28
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.4.22.ebuild26
2 files changed, 51 insertions, 3 deletions
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.20.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.20.ebuild
index cd59127c0d8e..5ef90bbbc6e3 100644
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.20.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-1.4.20.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="examples +sqlite test"
RDEPEND="
@@ -44,8 +44,32 @@ src_prepare() {
}
python_test() {
+ local deselect=()
+ if [[ ${EPYTHON} != pypy3 ]] &&
+ ! has_version -b "dev-python/greenlet[${PYTHON_USEDEP}]"
+ then
+ # skip tests requiring greenlet
+ deselect+=(
+ test/base/test_concurrency_py3k.py::TestAsyncAdaptedQueue::test_lazy_init
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_async_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_fallback_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_only_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_only_no_greenlet
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_contextvars
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_ok
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_propagate_cancelled
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_require_await
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_sync_error
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync
+ test/base/test_concurrency_py3k.py::TestAsyncAdaptedQueue::test_error_other_loop
+ test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]
+ test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]
+ )
+ fi
+
# Disable tests hardcoding function call counts specific to Python versions.
- epytest --ignore test/aaa_profiling \
+ epytest --ignore test/aaa_profiling ${deselect[@]/#/--deselect } \
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.22.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.22.ebuild
index cd59127c0d8e..c4f8d6554730 100644
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.22.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-1.4.22.ebuild
@@ -44,8 +44,32 @@ src_prepare() {
}
python_test() {
+ local deselect=()
+ if [[ ${EPYTHON} != pypy3 ]] &&
+ ! has_version -b "dev-python/greenlet[${PYTHON_USEDEP}]"
+ then
+ # skip tests requiring greenlet
+ deselect+=(
+ test/base/test_concurrency_py3k.py::TestAsyncAdaptedQueue::test_lazy_init
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_async_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_fallback_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_only_error
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_only_no_greenlet
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_contextvars
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_ok
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_propagate_cancelled
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_require_await
+ test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_sync_error
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution
+ test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync
+ test/base/test_concurrency_py3k.py::TestAsyncAdaptedQueue::test_error_other_loop
+ test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]
+ test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]
+ )
+ fi
+
# Disable tests hardcoding function call counts specific to Python versions.
- epytest --ignore test/aaa_profiling \
+ epytest --ignore test/aaa_profiling ${deselect[@]/#/--deselect } \
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}