mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/requests: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
@@ -64,6 +64,12 @@ python_test() {
|
||||
tests/test_requests.py::TestRequests::test_cookie_removed_on_expire
|
||||
tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url
|
||||
)
|
||||
if [[ ${EPYTHON} == python3.12 ]]; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# different repr()
|
||||
requests/utils.py::requests.utils.from_key_val_list
|
||||
)
|
||||
fi
|
||||
|
||||
if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
|
||||
Reference in New Issue
Block a user