me
/
guix
Archived
1
0
Fork 0

gnu: python-duckdb: Update to 1.0.0.

* gnu/packages/python-xyz.scm (python-duckdb): Update to 1.0.0.
[propagated-inputs]: Add python-adbc-driver-manager.
[native-inputs]: Remove python-mypy; add python-pytest-xdist.

Change-Id: I506e786d73767b73c34ec0d475e535a4eba51ca2
Sharlatan Hellseher 2024-07-08 23:26:39 +01:00
parent b554514927
commit ce98c3436c
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 18 additions and 6 deletions

View File

@ -23327,23 +23327,33 @@ efficient as possible on all supported Python versions.")
Mustache templating language renderer.") Mustache templating language renderer.")
(license license:expat))) (license license:expat)))
;; XXX: Try to inherit from duckdb and build from source with all extentions.
(define-public python-duckdb (define-public python-duckdb
(package (package
(name "python-duckdb") (name "python-duckdb")
(version "0.8.1") (version "1.0.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "duckdb" version)) (uri (pypi-uri "duckdb" version))
(sha256 (sha256
(base32 (base32
"1sgfmii5xlkbx3hzyjxg80gl2ni1rxpabahl4gww9by2mgs3fkd5")))) "0lyl6di1c7j31i2mk384j711kzyyf9rjd3nqx5mbgmf7gfvmk852"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
'(list "--ignore=tests/slow/test_h2oai_arrow.py" '(list "--numprocesses" "auto"
"--ignore=tests/slow/test_h2oai_arrow.py"
;; Do not relay on mypy.
"--ignore=tests/stubs/test_stubs.py"
"-k" (string-append
;; Don't install anything, thank you. ;; Don't install anything, thank you.
"-k" "not test_install_non_existent_extension") "not test_install_non_existent_extension"
;; See <https://github.com/duckdb/duckdb/issues/11961>.
" and not test_fetchmany"
;; See <https://github.com/duckdb/duckdb/issues/10702>.
" and not test_connection_interrupt"
" and not test_query_interruption"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; Tests need this ;; Tests need this
@ -23362,17 +23372,19 @@ Mustache templating language renderer.")
"pyfilesystem.hpp" "pyfilesystem.hpp"
"pybind11/conversions/pyconnection_default.hpp") "pybind11/conversions/pyconnection_default.hpp")
(("const_name") "_")))))))) (("const_name") "_"))))))))
(propagated-inputs
(list python-adbc-driver-manager))
(native-inputs (native-inputs
(list pybind11 (list pybind11
python-fsspec python-fsspec
python-google-cloud-storage python-google-cloud-storage
python-mypy
python-numpy python-numpy
python-pandas python-pandas
python-psutil python-psutil
python-pyarrow python-pyarrow
python-pytest python-pytest
python-pytest-runner python-pytest-runner
python-pytest-xdist
python-setuptools-scm)) python-setuptools-scm))
(home-page "https://www.duckdb.org") (home-page "https://www.duckdb.org")
(synopsis "DuckDB embedded database") (synopsis "DuckDB embedded database")