andreas pushed a commit to branch python-team
in repository guix.
commit 10f551614b54fef475b429e50c37c5870dc3a446
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Apr 6 14:37:03 2025 +0200
gnu: python-sanic: Update to 25.3.0.
* gnu/packages/python-web.scm (python-sanic): Update to 25.3.0.
[source]: Add a snippet to loosen setuptools requirement.
[native-inputs]: Add python-chardet, python-cryptography,
python-docutils, python-mypy, python-pygments,
python-pytest-benchmark, python-pytest-sanic, python-slotscheck,
python-towncrier, python-types-ujson.
Change-Id: I6babcb936dc11a1cd253019edf679e8991976527
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/python-web.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 46cd1ba8fc..dc541e8542 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9056,14 +9056,18 @@ applications.")
(define-public python-sanic
(package
(name "python-sanic")
- (version "23.12.1")
+ (version "25.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sanic" version))
(sha256
- (base32
- "115vnir4qijv89139g5h0i4l0n4w3bgh1ickgnk8xidxsa0wla15"))))
+ (base32 "1fv9wgsj54scbr7qhmwdgc4zqnqpwacpakcfxhsg10gc04h54pbp"))
+ ;; Loosen requirements for both python-sanic and python-sanic-bootstrap.
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "setup.py"
+ (("setuptools>=[0-9.]*")
+ "setuptools")))))
(build-system pyproject-build-system)
(arguments
(list
@@ -9116,10 +9120,20 @@ applications.")
python-websockets))
(native-inputs
(list python-beautifulsoup4
+ python-chardet
+ python-cryptography
+ python-docutils
+ python-mypy
+ python-pygments
python-pytest
python-pytest-asyncio
+ python-pytest-benchmark
+ python-pytest-sanic
python-sanic-testing
python-setuptools
+ python-slotscheck
+ python-towncrier
+ python-types-ujson
python-uvicorn
python-wheel))
(home-page "https://github.com/sanic-org/sanic/")