diff options
author | 2023-05-29 11:18:49 +0200 | |
---|---|---|
committer | 2023-05-29 11:40:09 +0200 | |
commit | b492b237539f555e83bf2a32cfd98646d38fbc31 (patch) | |
tree | 48ca98e900743f03461a1368a38296bd27cbfb00 /dev-python/requests | |
parent | dev-python/httpbin: Enable py3.12 (diff) | |
download | gentoo-b492b237539f555e83bf2a32cfd98646d38fbc31.tar.gz gentoo-b492b237539f555e83bf2a32cfd98646d38fbc31.tar.bz2 gentoo-b492b237539f555e83bf2a32cfd98646d38fbc31.zip |
dev-python/requests: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/requests')
-rw-r--r-- | dev-python/requests/requests-2.31.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/requests/requests-2.31.0.ebuild b/dev-python/requests/requests-2.31.0.ebuild index f40b0a376ad6..830f2c5ede39 100644 --- a/dev-python/requests/requests-2.31.0.ebuild +++ b/dev-python/requests/requests-2.31.0.ebuild @@ -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+=( |