Gaétan Lepage
2025-01-19 13:11:44 -05:00
committed by GitHub
parent 05e1afc115
commit 7bc8bc7c8b
@@ -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";