commit:     5ea9914fcabd530f0ae2eff8f7f7302d63237ceb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 19:50:18 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 20:07:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea9914f

dev-python/pytest-django: Enable py3.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 80143550e55c..6bf39391a5fc 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

Reply via email to