From 86e6941c2132c7b2e6bbbc52a09462eb15cf4c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 2 Mar 2025 20:12:56 +0100 Subject: [PATCH] dev-python/pyfakefs: Enable pypy3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyfakefs/pyfakefs-5.7.4.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild b/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild index 30cbd1cc57ba9..7e3b7f5221dd9 100644 --- a/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild +++ b/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) inherit distutils-r1 @@ -39,6 +39,15 @@ python_test() { ) fi + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # TODO: this test messes up everything + pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -p pyfakefs.pytest_plugin }