guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/09: gnu: python-flask-sqlalchemy: Update to 3.1.1.


From: guix-commits
Subject: 09/09: gnu: python-flask-sqlalchemy: Update to 3.1.1.
Date: Mon, 16 Dec 2024 11:48:26 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 6774c9e75a835e91e9b0e415c749e48e4f724e24
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Dec 16 16:45:52 2024 +0000

    gnu: python-flask-sqlalchemy: Update to 3.1.1.
    
    * gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
    3.1.1. Fix build.
    [source]<uri>: Adjust name as it was changed in PyPI source archive.
    [build-system]: Swap to pyproject-build-system.
    [arguments]<test-flags>: Skip some failing tests.
    [propagated-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
    [native-inputs]: Add python-flit-core and python-pytest.
    
    Change-Id: Id9a7516ca56a8d6e30cd9a40253886e4e9dbf668
---
 gnu/packages/python-web.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 335798977f..a4a55478d0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5135,16 +5135,25 @@ applications.")
 (define-public python-flask-sqlalchemy
   (package
     (name "python-flask-sqlalchemy")
-    (version "2.5.1")
+    (version "3.1.1")
     (source (origin
               (method url-fetch)
-              (uri (pypi-uri "Flask-SQLAlchemy" version))
+              (uri (pypi-uri "flask_sqlalchemy" version))
               (sha256
                (base32
-                "04jrx4sjrz1b20j38qk4qin975xwz30krzq59rfv3b3w7ss49nib"))))
-    (build-system python-build-system)
+                "04l3dfivznlpvk9p9f20zdbyxl869k42z2w7glddlbc0h6w8pdp4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list "-k" (string-append "not test_explicit_table[db2]"
+                                  " and not test_explicit_table[db4]"))))
+    (native-inputs
+     (list python-flit-core
+           python-pytest))
     (propagated-inputs
-     (list python-flask python-sqlalchemy))
+     (list python-flask
+           python-sqlalchemy-2))
     (home-page "https://github.com/mitsuhiko/flask-sqlalchemy";)
     (synopsis "Module adding SQLAlchemy support to your Flask application")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]