From 4765bc938c05f7b9b6f213901d66138d834fd13f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 21 Sep 2023 18:37:26 +0000 Subject: Adding metadata --- dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild') diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild index ea6f53a36cd5..ee0244d55781 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild @@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) PYTHON_REQ_USE="sqlite?" -inherit distutils-r1 optfeature pypi +inherit distutils-r1 multiprocessing optfeature pypi MY_PN="SQLAlchemy" DESCRIPTION="Python SQL toolkit and Object Relational Mapper" @@ -32,6 +32,8 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? ( $(python_gen_impl_dep sqlite) + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " @@ -87,14 +89,8 @@ python_test() { # means that any DeprecationWarnings from third-party plugins cause # everything to explode local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS= - # upstream automagically depends on xdist when it is importable - # note that we can't use xdist because it causes nodes to randomly - # crash on init - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then - PYTEST_PLUGINS+=xdist.plugin - fi - epytest + epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal } python_install_all() { -- cgit v1.3.1