guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 12d907b17d34d5a9bc587196ca2d2cd8562f9c9e
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 22 20:49:43 2025 +0100

    gnu: python-sqlalchemy-utils: Update to 0.42.1.
    
    * gnu/packages/databases.scm (python-sqlalchemy-utils): Update to 0.42.1.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I25bfc76aa073c23b14add53d409fbda56519301c
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/databases.scm | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 70094e3aa6..428cfcfda3 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4345,26 +4345,27 @@ framework.")
 (define-public python-sqlalchemy-utils
   (package
     (name "python-sqlalchemy-utils")
-    (version "0.38.3")
+    (version "0.42.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "SQLAlchemy-Utils" version))
-        (sha256
-         (base32 "0k8z0mjhvdv302kn0nhci8b2dgw4cn2akprsf37ma1540ykgp6lz"))))
-    (build-system python-build-system)
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kvesteri/sqlalchemy-utils";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ny1p352p0dlgrf9fnmzj7ld1rga5zj698qpla1kdaliwwh6xawn"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:tests? #f)) ; FIXME: Many tests require a running database server.
-       ;; #:phases
-       ;; (modify-phases %standard-phases
-       ;;   (replace 'check
-       ;;     (lambda _
-       ;;       (zero? (system* "py.test" "sqlalchemy_utils" "tests")))))
-    (propagated-inputs
-     (list python-six python-sqlalchemy))
+     (list #:tests? #f)) ;FIXME: Many tests require a running database server.
+    (propagated-inputs (list python-six python-sqlalchemy))
     (native-inputs
-     (list python-dateutil python-flexmock python-psycopg2 python-pytest
-           python-pytz))
+     (list python-dateutil
+           python-flexmock
+           python-psycopg2
+           python-pytest
+           python-pytz
+           python-setuptools))
     (home-page "https://github.com/kvesteri/sqlalchemy-utils";)
     (synopsis "Various utility functions for SQLAlchemy")
     (description

Reply via email to