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

gnu: python-opt-einsum: Update to 3.4.0.

* gnu/packages/python-science.scm (python-opt-einsum): Update to 3.4.0.
[source]: Switch to git-fetch.
[propagated-inputs]: Add python-dask and python-sparse.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatch-fancy-pypi-readme, python-hatch-vcs, and
python-hatchling.

Change-Id: I9aea1e93908bc06374e0ea9577e3b46492b64e40
This commit is contained in:
Sharlatan Hellseher
2026-04-06 11:39:15 +01:00
parent 069fd1db49
commit 39f95f889e

View File

@@ -2307,17 +2307,29 @@ aggregated sum and more.")
(define-public python-opt-einsum
(package
(name "python-opt-einsum")
(version "3.3.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "opt_einsum" version))
(sha256
(base32
"0jb5lia0q742d1713jk33vlj41y61sf52j6pgk7pvhxvfxglgxjr"))))
(version "3.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dgasmith/opt_einsum")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14p8rncba295w1bfnmn27fxi6mjas31y7yawvbiwj7d7ci196kx4"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-numpy))
;; tests: 7752 passed, 139 skipped, 6 warnings
(native-inputs
(list python-pytest python-setuptools python-wheel))
(list python-hatch-fancy-pypi-readme
python-hatch-vcs
python-hatchling
python-pytest))
(propagated-inputs
(list python-dask
;; python-jax
python-numpy
python-sparse
#;python-torch))
(home-page "https://github.com/dgasmith/opt_einsum")
(synopsis "Optimizing numpys einsum function")
(description