gnu: python-duckdb: Update to 1.3.2.

* gnu/packages/python-xyz.scm (python-duckdb): Update to 1.3.2.
  [arguments] <tests?>: Disable for now due to guix/guix#1436.
  <phases>: Remove 'set-version.
  [native-inputs]: Remove python-google-cloud-storage, python-pyarrow,
  python-pytest, and python-pytest-runner.

Change-Id: Ia7924001fcae06a01ab9d1f494be98ee66523309
This commit is contained in:
Sharlatan Hellseher 2025-07-20 22:15:14 +01:00
parent 188f60105f
commit 1805a24c32
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -25398,16 +25398,17 @@ Mustache templating language renderer.")
(define-public python-duckdb (define-public python-duckdb
(package (package
(name "python-duckdb") (name "python-duckdb")
(version "1.0.0") (version "1.3.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "duckdb" version)) (uri (pypi-uri "duckdb" version))
(sha256 (sha256
(base32 (base32
"0lyl6di1c7j31i2mk384j711kzyyf9rjd3nqx5mbgmf7gfvmk852")))) "1x8zb47y8lzc4w0g013sim8x9vd1h96ra3dd0bvh91y73f5dyn66"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:tests? #f ;FIXME: See <https://codeberg.org/guix/guix/issues/1436>.
#:test-flags #:test-flags
#~(list "--ignore=tests/slow/test_h2oai_arrow.py" #~(list "--ignore=tests/slow/test_h2oai_arrow.py"
;; Do not relay on mypy. ;; Do not relay on mypy.
@ -25427,11 +25428,6 @@ Mustache templating language renderer.")
;; Tests need this ;; Tests need this
(add-before 'check 'set-HOME (add-before 'check 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))) (lambda _ (setenv "HOME" "/tmp")))
(add-before 'build 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
(substitute* "setup.py"
(("\"setuptools_scm<7.0.0\",") ""))))
;; Later versions of pybind replace "_" with "const_name". ;; Later versions of pybind replace "_" with "const_name".
(add-after 'unpack 'pybind-compatibility (add-after 'unpack 'pybind-compatibility
(lambda _ (lambda _
@ -25445,13 +25441,11 @@ Mustache templating language renderer.")
(native-inputs (native-inputs
(list pybind11 (list pybind11
python-fsspec python-fsspec
python-google-cloud-storage ;; python-google-cloud-storage ;python-grpcio fails (see: guix/guix#1436)
python-numpy python-numpy
python-pandas python-pandas
python-psutil python-psutil
python-pyarrow ;; python-pytest
python-pytest
python-pytest-runner
python-setuptools-scm python-setuptools-scm
python-setuptools python-setuptools
python-wheel)) python-wheel))