commit:     b3c81b5bbb3b05590fcc01d9143687b2a9c824e5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 19:06:29 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 19:06:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c81b5b

dev-python/werkzeug: Deselect test overeagerly collected by pytest-8

Closes: https://bugs.gentoo.org/923274
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/werkzeug/werkzeug-3.0.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/werkzeug/werkzeug-3.0.1.ebuild 
b/dev-python/werkzeug/werkzeug-3.0.1.ebuild
index c34e787e2827..97ac07ce6e41 100644
--- a/dev-python/werkzeug/werkzeug-3.0.1.ebuild
+++ b/dev-python/werkzeug/werkzeug-3.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -49,7 +49,12 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_test() {
-       local EPYTEST_DESELECT=()
+       local EPYTEST_DESELECT=(
+               # RequestRedirect class started incidentally being tested
+               # with pytest-8, though the test isn't prepared for that
+               # https://github.com/pallets/werkzeug/issues/2845
+               'tests/test_exceptions.py::test_response_body[RequestRedirect]'
+       )
        if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
                EPYTEST_DESELECT+=(
                        "tests/test_serving.py::test_server[https]"

Reply via email to