From eaee61e24ebefc19c7c1341e75507b5c36868288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 12 Apr 2025 18:15:05 +0200 Subject: [PATCH] distutils-r1.eclass: Remove `distutils_enable_tests setup.py` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny Part-of: https://github.com/gentoo/gentoo/pull/41560 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 --------- 1 file changed, 9 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 62e092b6231fa..1f02660358af8 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -617,8 +617,6 @@ distutils_enable_sphinx() { # # - pytest: dev-python/pytest # -# - setup.py: setup.py test (no deps included; deprecated) -# # - unittest: for built-in Python unittest module # # This function is meant as a helper for common use cases, and it only @@ -662,10 +660,6 @@ distutils_enable_tests() { ")" fi ;; - setup.py) - eqawarn "QA Notice: 'distutils_enable_tests setup.py' is deprecated and will be removed." - eqawarn "Please use unittest or pytest instead." - ;; unittest) ;; *) @@ -1641,9 +1635,6 @@ distutils-r1_python_test() { pytest) epytest ;; - setup.py) - nonfatal esetup.py test --verbose - ;; unittest) eunittest ;;