commit:     7ce402d788c379cc2110c6841902840b6686573b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 19:16:42 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 19:20:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce402d7

dev-python/vcrpy: Enable py3.13

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

 dev-python/vcrpy/vcrpy-6.0.1.ebuild | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/dev-python/vcrpy/vcrpy-6.0.1.ebuild 
b/dev-python/vcrpy/vcrpy-6.0.1.ebuild
index 257bac69d0b4..f65324722b8e 100644
--- a/dev-python/vcrpy/vcrpy-6.0.1.ebuild
+++ b/dev-python/vcrpy/vcrpy-6.0.1.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,23 @@ python_test() {
                tests/integration/test_aiohttp.py
        )
 
+       case ${EPYTHON} in
+               python3.13)
+                       EPYTEST_DESELECT+=(
+                               # SSL problems, might be weak bundle in 
pytest-httpbin
+                               # https://github.com/kevin1024/vcrpy/issues/848
+                               
"tests/integration/test_urllib2.py::test_cross_scheme"
+                               
"tests/integration/test_urllib2.py::test_decorator[https]"
+                               
"tests/integration/test_urllib2.py::test_get_data[https]"
+                               
"tests/integration/test_urllib2.py::test_post_data[https]"
+                               
"tests/integration/test_urllib2.py::test_post_decorator[https]"
+                               
"tests/integration/test_urllib2.py::test_post_unicode_data[https]"
+                               
"tests/integration/test_urllib2.py::test_response_code[https]"
+                               
"tests/integration/test_urllib2.py::test_response_headers[https]"
+                       )
+                       ;;
+       esac
+
        local -x REQUESTS_CA_BUNDLE=$("${EPYTHON}" -m pytest_httpbin.certs)
        epytest -m 'not online'
 }

Reply via email to