guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

183/246: gnu: python-geventhttpclient: Update to 2.3.3; fixes build with


From: guix-commits
Subject: 183/246: gnu: python-geventhttpclient: Update to 2.3.3; fixes build with gcc-14.
Date: Sun, 12 Jan 2025 10:21:43 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit 49bda6fa86fac2847bb349697f7dcd905ba5a29d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jan 3 19:33:43 2025 +0100

    gnu: python-geventhttpclient: Update to 2.3.3; fixes build with gcc-14.
    
    * gnu/packages/python-web.scm (python-geventhttpclient): Update to 2.3.3.
    [arguments]: Remove.
    
    Change-Id: I83adb7625d43eec85c958ffaa8578bd1674c2809
---
 gnu/packages/python-web.scm | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0c24291b2e..36f19afef5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4820,13 +4820,13 @@ for the basic TCP/IP protocols.")
 (define-public python-geventhttpclient
   (package
     (name "python-geventhttpclient")
-    (version "2.0.9")
+    (version "2.3.3")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "geventhttpclient" version))
               (sha256
                (base32
-                "04qmcc7qpnif70ph61339dcld4g107fkhpa0gdmbs8z98v9kkg4a"))
+                "16vzhi1hygdf3vys0c9spg4hwlkjy3xnf9pypp50kp811mbw2x1y"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -4834,25 +4834,6 @@ for the basic TCP/IP protocols.")
                   (for-each delete-file (find-files "src/geventhttpclient"
                                                     ".*\\.pyc"))))))
     (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'delete-network-tests
-           (lambda _
-             (delete-file "src/geventhttpclient/tests/test_client.py")))
-         (add-after 'unpack 'fix-compatibility-issue
-           ;; See: https://github.com/gwik/geventhttpclient/issues/137.
-           (lambda _
-             (substitute* "src/geventhttpclient/tests/test_ssl.py"
-               ((".*sock.last_seen_sni = None.*")
-                ""))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "src/geventhttpclient/tests" "-v"
-                       ;; Append the test modules to sys.path to avoid
-                       ;; namespace conflict which breaks SSL tests.
-                       "--import-mode=append")))))))
     (native-inputs (list nss-certs-for-test python-dpkt python-pytest))
     (propagated-inputs (list python-brotli python-certifi python-gevent
                              python-six python-urllib3))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]