summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-27 22:51:57 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 12:06:20 +0000
commited0b121366630757fb0dd96a88fcebcca1f92d0a (patch)
treee8f6a7a818cec442b300af151bb0bc9e9d850558 /gnu/packages
parente4e3eb54d0f0e52e542831272b38a6d6710420e4 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm40
1 files changed, 27 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a960b17c16d..6e896e14410 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