commit:     3fa233cb8e9bc9bbbdaa546568a9622784ee74b9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 19:21:43 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 19:35:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa233cb

dev-python/httpretty: Enable py3.13

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

 dev-python/httpretty/httpretty-1.1.4-r1.ebuild | 17 ++++++++++-------
 1 file 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

Reply via email to