summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-17 21:40:22 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-17 22:07:03 +0200
commitcdd0c2b9de5d8901945b17a2068f4ba3750efb62 (patch)
treeeeb191d4778ce605e8dffd99834eb83438004e50 /dev-python
parent036b47878d1ce3a0c9dfb49d356d6be74a32a984 (diff)
downloadgentoo-cdd0c2b9de5d8901945b17a2068f4ba3750efb62.tar.gz
gentoo-cdd0c2b9de5d8901945b17a2068f4ba3750efb62.tar.bz2
gentoo-cdd0c2b9de5d8901945b17a2068f4ba3750efb62.zip
dev-python/django-redis: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-redis/django-redis-6.0.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/django-redis/django-redis-6.0.0.ebuild b/dev-python/django-redis/django-redis-6.0.0.ebuild
index c7b93c7209bf..8030dc91b71a 100644
--- a/dev-python/django-redis/django-redis-6.0.0.ebuild
+++ b/dev-python/django-redis/django-redis-6.0.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
@@ -27,10 +27,10 @@ BDEPEND="
dev-db/redis
dev-python/lz4[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
+EPYTEST_PLUGINS=( pytest-{mock,xdist} )
EPYTEST_XDIST=1
distutils_enable_tests pytest
@@ -42,13 +42,12 @@ src_prepare() {
}
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# no clue why we need to set it explicitly
local -x DJANGO_SETTINGS_MODULE=settings.sqlite
# sqlite_zstd requires pyzstd
# the test suite only works with -n4
# https://github.com/jazzband/django-redis/issues/777
- epytest -p xdist -n 4 -p pytest_mock -k "not sqlite_zstd"
+ epytest -n 4 -k "not sqlite_zstd"
}
src_test() {