commit:     7b3ea9b39f8d0907b929213d506290f97921095b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 18:56:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 19:35:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3ea9b3

dev-python/botocore: Enable py3.13

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

 dev-python/botocore/botocore-1.34.140.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-python/botocore/botocore-1.34.140.ebuild 
b/dev-python/botocore/botocore-1.34.140.ebuild
index ba6cd2a5d2a2..a485364722b9 100644
--- a/dev-python/botocore/botocore-1.34.140.ebuild
+++ b/dev-python/botocore/botocore-1.34.140.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 
@@ -62,6 +62,16 @@ python_test() {
                tests/functional/test_six_threading.py::test_six_thread_safety
        )
 
+       case ${EPYTHON} in
+               python3.13)
+                       EPYTEST_DESELECT+=(
+                               # memory use tests, probably fragile
+                               
tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant
+                               
tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant
+                       )
+                       ;;
+       esac
+
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        epytest tests/{functional,unit}
 }

Reply via email to