From a22c6e5a0df6296aeb9fe73a6fd2c9636cb97b13 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 4 Jan 2026 01:19:44 +0000 Subject: [PATCH] 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 Signed-off-by: Rutherther --- gnu/packages/python-science.scm | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2152a30e76350831dc2f8cc29049b60ac4e9d853..b3934ea6f01a8ca08baefe2b83e51584562e7373 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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