andreas pushed a commit to branch python-team
in repository guix.

commit e9b82290b52ea068463706eef5f38215bf2ca88a
Author: Nicolas Graves <ngra...@ngraves.fr>
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 <st...@futurile.net>
---
 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 414f6c94f3..962d4e520d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9055,14 +9055,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
@@ -9115,10 +9119,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/";)

Reply via email to