guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit f21f4b8b18b00763f0a9a1970d5d4e1659f727ae
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Feb 4 12:57:21 2026 +0000

    gnu: httpie: Skip 2 tests.
    
    * gnu/packages/python-web.scm (httpie):
      [arguments] <test-flags>: Skip 2 problematic tests.
      [native-inputs]: Remove python-wheel.
    
    Change-Id: I36775e38714683183267a0f7456d04592f3e85d2
---
 gnu/packages/python-web.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index afa44911b5..f176d7abb7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3403,6 +3403,7 @@ program would be built.")
            (lambda _
              (substitute* "setup.cfg"
                (("(pip|setuptools)") "")))))
+      ;; tests: 951 passed, 23 skipped, 6 deselected, 4 xfailed, 122 warnings
       #:test-flags
       ;; test_plugins_cli.py communicates through subprocesses
       ;;   mocking stdin, which does not work in the build container.
@@ -3410,14 +3411,20 @@ program would be built.")
       ;; test_binary.py fails for an unknown reason.
       #~(list "--ignore=tests/test_plugins_cli.py"
               "--ignore=tests/test_ssl.py"
-              "--ignore=tests/test_binary.py")))
+              "--ignore=tests/test_binary.py"
+              ;; Assertion failed to compare Unicode characters.
+              (string-append
+               "--deselect=tests/test_encoding.py"
+               "::test_terminal_output_request_charset_detection")
+              (string-append
+               "--deselect=tests/test_encoding.py"
+               "::test_terminal_output_response_charset_detection"))))
     (native-inputs (list python-pytest
                          python-pytest-httpbin
                          python-pytest-mock
                          python-responses
                          python-setuptools
-                         python-werkzeug
-                         python-wheel))
+                         python-werkzeug))
     (propagated-inputs
      (list python-charset-normalizer
            python-defusedxml

Reply via email to