mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.vector: 1.4.1 -> 1.5.1 (#337651)
This commit is contained in:
commit
1136ca7fd1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user