From 66824a24da7a6d5cd92450b96b6279860da6c3c2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 27 Aug 2024 08:52:42 +0200 Subject: [PATCH] python312Packages.vector: 1.4.1 -> 1.5.1 Diff: https://github.com/scikit-hep/vector/compare/refs/tags/v1.4.1...v1.5.1 Changelog: https://github.com/scikit-hep/vector/releases/tag/v1.5.1 --- .../python-modules/vector/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/vector/default.nix b/pkgs/development/python-modules/vector/default.nix index ad5efb0c8105..ae7782699ef9 100644 --- a/pkgs/development/python-modules/vector/default.nix +++ b/pkgs/development/python-modules/vector/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "vector"; - version = "1.4.1"; + version = "1.5.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "scikit-hep"; repo = "vector"; rev = "refs/tags/v${version}"; - hash = "sha256-ckwJgh5aWFTwoEBVmKukdk+cmQeOuecLiYD2EcuELGw="; + hash = "sha256-bTCcuJosoR0/n6QiJuCIeE9oPab9RKAbUXXA+sAkX48="; }; build-system = [ @@ -62,10 +62,16 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ - # AssertionError: assert 2.1073424255447017e-08 == 0.0 - "test_issue_463" - ]; + disabledTests = + [ + # AssertionError (unclear why) + "test_rhophi_eta_tau" + "test_xy_eta_tau" + ] + ++ lib.optionals (stdenv.isDarwin && stdenv.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";