guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 785b69725bb4a8a839088c3a8e3ae3897694ae9e
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 22 23:54:11 2025 +0100

    gnu: python-crate: Update to 2.0.0.
    
    * gnu/packages/databases.scm (python-crate): Update to 2.0.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Ignore failing tests.
    [native-inputs]: Add python-orjson, python-pytest, python-pytz,
    python-setuptools, python-sqlalchemy, python-verlib2,
    tzdata-for-tests.
               .
    Signed-off-by: Sharlatan Hellseher <[email protected]>
    
    Change-Id: Ic5c2a0254fd9fdd96c3fab5c53e9e9de675cbf6f
---
 gnu/packages/databases.scm | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 666506d7cb..fa49de5ba9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5753,16 +5753,31 @@ and @code{intake-parquet}.  It supports the following 
compression algorithms:
 (define-public python-crate
   (package
     (name "python-crate")
-    (version "0.23.2")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "crate" version))
-              (sha256
-               (base32
-                "0ngmlvi320c5gsxab0s7qgq0ck4jdlcwvb6lbjhnfprafdp56vvx"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-urllib3))
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/crate/crate-python";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kk84wf7awgspdijycvhkbqvm5llp3wmwxa9n4w3qda861xn6krb"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list "--ignore=tests/testing/test_layer.py" ; Requires crate binary.
+              "--ignore=tests/client/test_http.py"))) ; XXX: fails collection.
+    (native-inputs
+     (list python-orjson
+           python-pytest
+           python-pytz
+           python-setuptools
+           python-sqlalchemy
+           python-verlib2
+           tzdata-for-tests))
+    (propagated-inputs (list python-urllib3))
     (home-page "https://github.com/crate/crate-python";)
     (synopsis "CrateDB Python client")
     (description

Reply via email to