From 7bc8bc7c8b9bf6a2f84696158c8a086c7aee9bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Lepage?= <33058747+GaetanLepage@users.noreply.github.com> Date: Sun, 19 Jan 2025 19:11:44 +0100 Subject: [PATCH] python312Packages.vector: 1.5.2 -> 1.6.0 (#375035) Diff: https://github.com/scikit-hep/vector/compare/refs/tags/v1.5.2...v1.6.0 Changelog: https://github.com/scikit-hep/vector/releases/tag/v1.6.0 --- .../python-modules/vector/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/vector/default.nix b/pkgs/development/python-modules/vector/default.nix index 99c5e9316436..2910b2f3c373 100644 --- a/pkgs/development/python-modules/vector/default.nix +++ b/pkgs/development/python-modules/vector/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "vector"; - version = "1.5.2"; + version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "vector"; tag = "v${version}"; - hash = "sha256-lj6ZloBGZqHW0g7lCD7m9zvszJceB9TQ3r6B3Xuj5KE="; + hash = "sha256-W10j1oQdmJ7GE0dCsAPtIsEPy4L2CIvVEZZqm7aHxII="; }; build-system = [ @@ -58,16 +58,10 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - disabledTests = - [ - # AssertionError (unclear why) - "test_rhophi_eta_tau" - "test_xy_eta_tau" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: assert 2.1073424255447017e-08 == 0.0 - "test_issue_463" - ]; + disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + # AssertionError: assert 2.1073424255447017e-08 == 0.0 + "test_issue_463" + ]; meta = { description = "Library for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way";