From 39b08a24c803e021137575a8a461d6ac47db4a19 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 8 Sep 2025 14:57:43 +0200 Subject: [PATCH] gnu: Add python-dvc-data. * gnu/packages/python-science.scm (python-dvc-data): New variable. Change-Id: I4479129a1842d2133acec6f7aeb1d4a95e9e6162 --- gnu/packages/python-science.scm | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2c36e3d64bd965655de3bbdc2731d7c9b2480721..c514e0ab461865a199790b6a312492a6e1f8934c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -5806,6 +5806,64 @@ compagnies.") abstractions to use in dvc and dvc-data.") (license license:asl2.0))) +(define-public python-dvc-data + (package + (name "python-dvc-data") + (version "3.16.12") + (home-page "https://github.com/iterative/dvc-data") + (source (origin + (method url-fetch) + (uri (pypi-uri "dvc_data" version)) + (sha256 + (base32 + "156iwdn7v5jhwbpwz92n28qiasgcbmcqv9vxg8xbvdfxzlzw0b7r")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-attrs + python-dictdiffer + python-diskcache + python-dvc-objects + python-fsspec + python-funcy-1.14 + python-orjson + python-pygtrie + python-sqltrie + python-tqdm)) + (native-inputs + (list python-click + python-pytest + python-pytest-benchmark + python-pytest-cov + python-pytest-mock + ;; python-pytest-servers is not packaged in Guix yet + python-setuptools + python-setuptools-scm + python-typer + python-wheel)) + (arguments + (list + #:test-flags + ;; TODO: package python-pytest-server with its transitive dependencies + #~(list "--ignore=tests/hashfile/test_db.py" + "--ignore=tests/hashfile/test_db_index.py" + "--ignore=tests/hashfile/test_obj.py" + "--ignore=tests/index/test_build.py" + "--ignore=tests/index/test_checkout.py" + "--ignore=tests/index/test_fs.py" + "--ignore=tests/index/test_index.py" + "--ignore=tests/index/test_storage.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-pyproject + (lambda _ + ;; setuptools cannot handle both license and license-files + (substitute* "pyproject.toml" + (("^license = .*") "license = {text = \"Apache-2.0\"}\n") + (("^license-files = .*") ""))))))) + (synopsis "DVC's data management subsystem") + (description "Dvc data is DVC's data management subsystem.") + (license license:asl2.0))) + (define-public python-pyqtgraph (package (name "python-pyqtgraph")