1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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 <sharlatanus@gmail.com>

Change-Id: Ic5c2a0254fd9fdd96c3fab5c53e9e9de675cbf6f
This commit is contained in:
Nicolas Graves
2025-12-22 23:54:11 +01:00
committed by Sharlatan Hellseher
parent 54467b917b
commit 785b69725b

View File

@@ -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