dev-python/vcrpy: Enable py3.13

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-06-28 21:16:42 +02:00
parent b3a9f5e9e8
commit 7ce402d788
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E

View File

@ -4,7 +4,7 @@
EAPI=8 EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} ) PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 inherit distutils-r1
@ -62,6 +62,23 @@ python_test() {
tests/integration/test_aiohttp.py 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) local -x REQUESTS_CA_BUNDLE=$("${EPYTHON}" -m pytest_httpbin.certs)
epytest -m 'not online' epytest -m 'not online'
} }