guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ed0b121366630757fb0dd96a88fcebcca1f92d0a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 27 22:51:57 2025 +0000

    gnu: python-sendgrid: Update to 6.9.7.
    
    * gnu/packages/python-web.scm (python-sendgrid): Update to 6.9.7.
    [build-system]: Switch to pyproject-build-system.
    [propagated-inputs]: Add python-cryptography, python-flask,
    python-pyyaml, python-six, and python-werkzeug.
    [native-inputs]: Add python-pytest and python-setuptools.
    
    Change-Id: I7bfe8845aed9d0f44cc732fc1c825f90bae25716
---
 gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++-------------
 1 file changed, 27 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a960b17c16..6e896e1441 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -12782,20 +12782,34 @@ possible, supporting most common functionality.")
   (package
     (name "python-sendgrid")
     (version "6.9.7")
-    (home-page "https://github.com/sendgrid/sendgrid-python/";)
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url home-page)
-                    (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
-    (build-system python-build-system)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/sendgrid/sendgrid-python";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
+    (build-system pyproject-build-system)
     (arguments
-     (list #:tests? #f))       ;241/340 tests fail due to attempted web access
-    (propagated-inputs (list python-http-client python-starkbank-ecdsa))
+     (list
+      #:test-flags
+      #~(list "--ignore=test/integ"
+              ;; Network access is required.
+              "--ignore=live_test.py")))
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
+    (propagated-inputs
+     (list python-cryptography
+           python-http-client
+           python-flask
+           python-pyyaml
+           python-six                            ;hard dependency
+           python-starkbank-ecdsa
+           python-werkzeug))
+    (home-page "https://github.com/sendgrid/sendgrid-python/";)
     (synopsis "SendGrid API library for Python")
     (description
      "The @code{sendgrid} Python library allows access to the

Reply via email to