From ed0b121366630757fb0dd96a88fcebcca1f92d0a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 27 Dec 2025 22:51:57 +0000 Subject: [PATCH] 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 a960b17c16d9adb129b426369a416378cd1e9736..6e896e14410e5e52b3ece6b03e7435fc5f2e8641 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