summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-06 21:21:43 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-06 21:35:50 +0200
commit3fa233cb8e9bc9bbbdaa546568a9622784ee74b9 (patch)
tree0d771cc052d793b21a8798d25aca0ee73d2f92f2 /dev-python/httpretty
parentdev-python/boto3: Enable py3.13 (diff)
downloadgentoo-3fa233cb8e9bc9bbbdaa546568a9622784ee74b9.tar.gz
gentoo-3fa233cb8e9bc9bbbdaa546568a9622784ee74b9.tar.bz2
gentoo-3fa233cb8e9bc9bbbdaa546568a9622784ee74b9.zip
dev-python/httpretty: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/httpretty')
-rw-r--r--dev-python/httpretty/httpretty-1.1.4-r1.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild
index 13a6a1c00021..b3df1302ab77 100644
--- a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild
+++ b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
@@ -39,11 +39,9 @@ BDEPEND+="
test-rust? (
dev-python/pyopenssl[${PYTHON_USEDEP}]
)
- $(python_gen_cond_dep '
- >=dev-python/boto3-1.17.72[${PYTHON_USEDEP}]
- dev-python/httplib2[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.18.1[${PYTHON_USEDEP}]
- ' python3_{8..11})
+ >=dev-python/boto3-1.17.72[${PYTHON_USEDEP}]
+ dev-python/httplib2[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.18.1[${PYTHON_USEDEP}]
)
"
@@ -62,6 +60,11 @@ python_test() {
# eventlet is masked for removal
tests/bugfixes/nosetests/test_eventlet.py
)
+ local EPYTEST_DESELECT=(
+ # regressions with newer dev-python/requests
+ tests/functional/test_requests.py::test_httpretty_should_allow_registering_regexes_with_streaming_responses
+ tests/functional/test_requests.py::test_httpretty_should_handle_paths_starting_with_two_slashes
+ )
local ignore_by_dep=(
dev-python/boto3:tests/bugfixes/nosetests/test_416_boto3.py