gnu: python-vector: Update to 1.7.0.

* gnu/packages/python-science.scm (python-vector): Update to 1.7.0.
[propagated-inputs]: Add python-awkward, python-numba, and python-sympy.
[native-inputs]: Remove python-awkward and python-sympy; add python-notebook,
python-optree, and python-papermill.

Change-Id: I760c26d69b5a5e4530e80d8e57af65db2fdf319f
This commit is contained in:
Sharlatan Hellseher 2026-01-04 01:19:44 +00:00 committed by Andreas Enge
parent 0519ddaa34
commit f4d3acf2cf
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -4757,24 +4757,37 @@ tabular datasets. This package provides the core modules of Vaex.")
(define-public python-vector
(package
(name "python-vector")
(version "1.6.2")
(version "1.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "vector" version))
(sha256
(base32 "1jhfgx54a6l1cz9as2wlwrph86f8s1882biaakx1cl31igdxjnbf"))))
(base32 "0hnnld7yqxb1i6miqfac7nmd0fn7xbvq1w9akp278b1jaclyl1cb"))))
(build-system pyproject-build-system)
(arguments
(list
;; This file requires python-papermill (not yet packaged).
#:test-flags #~(list "--ignore" "tests/test_notebooks.py")))
(propagated-inputs (list python-numpy python-packaging))
(native-inputs (list python-awkward
python-hatch-vcs
python-hatchling
python-pytest
python-sympy))
;; tests: 813 passed, 3 skipped, 1 deselected
#:test-flags
;; assert array([2.]) == array([-2.])
#~(list "--deselect=tests/test_issues.py::test_issue_443" )))
(native-inputs
(list ;; python-dask-awkward ;not packaged yet in Guix
python-hatch-vcs
python-hatchling
;; python-jax ;not packaged yet in Guix
python-notebook
python-optree
python-papermill
python-pytest
#;python-spark-parse)) ;not packaged yet in Guix
(propagated-inputs
(list python-numpy
python-packaging
;; [optional]
python-awkward
python-numba
python-sympy))
(home-page "https://github.com/scikit-hep/vector")
(synopsis "Arrays of 2D, 3D, and Lorentz vectors")
(description "Vector is a Python library for 2D and 3D spatial vectors, as