From 27f81e9a0a91c86e6f53cff40eeb979b100afc77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 15:59:51 +0200 Subject: [PATCH] dev-python/passlib: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/passlib/passlib-1.7.4-r3.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-python/passlib/passlib-1.7.4-r3.ebuild b/dev-python/passlib/passlib-1.7.4-r3.ebuild index 981e5c61a393c..19f9172fdcb45 100644 --- a/dev-python/passlib/passlib-1.7.4-r3.ebuild +++ b/dev-python/passlib/passlib-1.7.4-r3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature pypi @@ -44,6 +44,16 @@ python_test() { passlib/tests/test_ext_django.py ) + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # crypt module has been removed, so the platform backend + # does not work anymore + passlib/tests/test_handlers.py::{des,md5,sha256,sha512}_crypt_os_crypt_test + ) + ;; + esac + # skip fuzzing tests, they are very slow epytest -k "not fuzz_input" }