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

commit 96fe2ffa77a26399fce30cab0c8f91107e16619a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Sep 16 09:47:36 2025 +0100

    gnu: python-flask-cors: Update to 6.0.1.
    
    * gnu/packages/python-web.scm (python-flask-cors): Update to 6.0.1.
    [source]: Switch to git-fetch providing tests.
    [build-system]: Switch to pyproject-build-system.
    [propagated-inputs]: Remove python-six; add python-flask and
    python-werkzeug.
    [native-inputs]: Remove python-flask, python-nose, and python-packaging;
    add python-pytest and python-setuptools.
    
    Change-Id: Ib86dc851cc3a3b8957b01ff0b91bef6bbe466fd8
---
 gnu/packages/python-web.scm | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index be7c2fae37..06b16968c1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3169,18 +3169,23 @@ both of which are installed automatically if you 
install this library.")
 (define-public python-flask-cors
   (package
     (name "python-flask-cors")
-    (version "3.0.10")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "Flask-Cors" version))
-              (sha256
-               (base32
-                "1pl16615fn1pc5n0vdrqlxm45mqsdjjxqv3gfkrs111v7wwkj25n"))))
-    (build-system python-build-system)
+    (version "6.0.1")
+    (source
+     (origin
+       (method git-fetch)               ;no tests in PyPI archive
+       (uri (git-reference
+             (url "https://github.com/CoryDolphin/flask-cors";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01w77vfbzw994dpz6aw4vzy75nrykk6jgilc3qm2d543vjizjaf9"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-flask python-nose python-packaging))
+     (list python-pytest
+           python-setuptools))
     (propagated-inputs
-     (list python-six))
+     (list python-flask
+           python-werkzeug))
     (home-page "https://flask-cors.readthedocs.io/en/latest/";)
     (synopsis "Handle Cross-Origin Resource Sharing with Flask")
     (description

Reply via email to