commit:     810e1857aa66e2bafb3d7d960654976a89c91f9f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 25 05:59:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 25 06:00:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=810e1857

net-misc/httpie: enable py3.14, skip problematic tests

* Enable py3.14
* Skip 2 tests which break w/ new charset-normalizer
* Skip a test which fails w/ >=py3.12 (argparse)
* Skip a test which fails w/ py3.14

Fedora have done the same test skips (apart from py3.14) so it should
be good enough. It's not ideal but upstream activity is pretty low
these days.

Closes: https://bugs.gentoo.org/949484
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/httpie/httpie-3.2.4.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/net-misc/httpie/httpie-3.2.4.ebuild 
b/net-misc/httpie/httpie-3.2.4.ebuild
index 1f63c46ba371..28d8a82c34dd 100644
--- a/net-misc/httpie/httpie-3.2.4.ebuild
+++ b/net-misc/httpie/httpie-3.2.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 PYTHON_REQ_USE="ssl(+)"
 DISTUTILS_USE_PEP517=setuptools
 
@@ -42,6 +42,16 @@ EPYTEST_DESELECT=(
        tests/test_compress.py::test_compress_form
        tests/test_binary.py::TestBinaryResponseData
 
+       # https://github.com/httpie/cli/issues/1628
+       tests/test_encoding.py::test_terminal_output_response_charset_detection
+       tests/test_encoding.py::test_terminal_output_request_charset_detection
+
+       # argparse change in >=py3.12 (bug #949484)
+       tests/test_cli_ui.py::test_naked_invocation
+
+       # Fails with py3.14
+       tests/test_cli_utils.py::test_lazy_choices_help
+
        # Needs network
        
'tests/test_cookie_on_redirects.py::test_explicit_user_set_cookie_in_session[remote_httpbin]'
        
'tests/test_cookie_on_redirects.py::test_explicit_user_set_cookie[remote_httpbin]'

Reply via email to