diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-22 23:54:11 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 19:59:51 +0000 |
| commit | 785b69725bb4a8a839088c3a8e3ae3897694ae9e (patch) | |
| tree | 0280cfe094630d5f7053532b6f3fe3ca34da8965 /gnu | |
| parent | 54467b917baccc216f199d976aab3fd31d99b755 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/databases.scm | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 666506d7cb9..fa49de5ba9a 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 |
