From 5ea9914fcabd530f0ae2eff8f7f7302d63237ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 17 Oct 2025 21:50:18 +0200 Subject: [PATCH] dev-python/pytest-django: Enable py3.14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pytest-django/pytest-django-4.11.1.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/pytest-django/pytest-django-4.11.1.ebuild b/dev-python/pytest-django/pytest-django-4.11.1.ebuild index 80143550e55cf..6bf39391a5fc6 100644 --- a/dev-python/pytest-django/pytest-django-4.11.1.ebuild +++ b/dev-python/pytest-django/pytest-django-4.11.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) inherit distutils-r1 @@ -31,19 +31,18 @@ BDEPEND=" test? ( dev-python/django[${PYTHON_USEDEP}] >=dev-python/django-configurations-2.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) distutils_enable_tests pytest python_test() { local -x DJANGO_SETTINGS_MODULE local -x PYTHONPATH=${PWD} - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_django.plugin,xdist.plugin for DJANGO_SETTINGS_MODULE in pytest_django_test.settings_sqlite{,_file}; do einfo "Testing ${DJANGO_SETTINGS_MODULE}" epytest tests