Loading pkgs/development/python-modules/coffea/default.nix +37 −20 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -36,8 +37,8 @@ # checks distributed, pyinstrument, pytestCheckHook, pytest-xdist, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -91,13 +92,14 @@ buildPythonPackage rec { nativeCheckInputs = [ distributed pyinstrument pytestCheckHook pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "coffea" ]; disabledTests = [ disabledTests = [ # Requires internet access # https://github.com/CoffeaTeam/coffea/issues/1094 "test_lumimask" Loading @@ -114,6 +116,21 @@ buildPythonPackage rec { # ValueError: The array to mask was deleted before it could be masked. # If you want to construct this mask, you must either keep the array alive or use 'ak.mask' explicitly. "test_read_nanomc" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Segmentation fault # coffea/nanoevents/transforms.py", line 287 in index_range "test_KaonParent_to_PionDaughters_Loop" "test_MCRecoAssociations" "test_MC_daughters" "test_MC_parents" "test_field_is_present" # Fatal Python error: Segmentation fault # File "/build/source/tests/test_lumi_tools.py", line 37 in test_lumidata "test_lumidata" # coffea/lumi_tools/lumi_tools.py", line 113 in get_lumi "test_lumilist" ]; __darwinAllowLocalNetworking = true; Loading pkgs/development/python-modules/fastjet/default.nix +2 −2 Original line number Diff line number Diff line { lib, stdenv, fetchPypi, fetchurl, buildPythonPackage, pytestCheckHook, pkgs, Loading Loading @@ -88,5 +86,7 @@ buildPythonPackage rec { changelog = "https://github.com/scikit-hep/fastjet/releases/tag/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; # ImportError: fastjetcontribfragile.so.0: cannot open shared object file: No such file or directory broken = true; }; } pkgs/development/python-modules/uproot/default.nix +36 −45 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading @@ -11,30 +10,31 @@ # dependencies awkward, cramjam, numpy, fsspec, numpy, packaging, # checks # tests awkward-pandas, pandas, pytestCheckHook, pytest-timeout, pytestCheckHook, rangehttpserver, scikit-hep-testdata, writableTmpDirAsHomeHook, xxhash, }: buildPythonPackage rec { pname = "uproot"; version = "5.5.1"; version = "5.5.2"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "uproot5"; tag = "v${version}"; hash = "sha256-a5gCsv8iBUUASHCJIpxFbgBXTSm/KJOTt6fvSvP/Lio="; hash = "sha256-vMTZ3ajCEkKKerPXThSxk0vgGxK2Po9hVf8ofaGCO04="; }; build-system = [ Loading @@ -45,8 +45,8 @@ buildPythonPackage rec { dependencies = [ awkward cramjam numpy fsspec numpy packaging xxhash ]; Loading @@ -54,18 +54,14 @@ buildPythonPackage rec { nativeCheckInputs = [ awkward-pandas pandas pytestCheckHook pytest-timeout pytestCheckHook rangehttpserver scikit-hep-testdata writableTmpDirAsHomeHook ]; preCheck = '' export HOME="$(mktemp -d)" ''; disabledTests = [ disabledTests = [ # Tests that try to download files "test_descend_into_path_classname_of" "test_fallback" Loading @@ -92,11 +88,6 @@ buildPythonPackage rec { "test_dask_duplicated_keys" "test_decompression_executor_for_dask" "test_decompression_threadpool_executor_for_dask" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Tries to connect to localhost:22 # PermissionError: [Errno 1] Operation not permitted "test_open_fsspec_ssh" ]; disabledTestPaths = [ Loading pkgs/development/python-modules/vector/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -58,7 +58,15 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Segmentation fault # numba/typed/typeddict.py", line 185 in __setitem__ "test_method_transform2D" "test_method_transform3D" "test_method_transform4D" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # AssertionError: assert 2.1073424255447017e-08 == 0.0 "test_issue_463" ]; Loading Loading
pkgs/development/python-modules/coffea/default.nix +37 −20 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -36,8 +37,8 @@ # checks distributed, pyinstrument, pytestCheckHook, pytest-xdist, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -91,13 +92,14 @@ buildPythonPackage rec { nativeCheckInputs = [ distributed pyinstrument pytestCheckHook pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "coffea" ]; disabledTests = [ disabledTests = [ # Requires internet access # https://github.com/CoffeaTeam/coffea/issues/1094 "test_lumimask" Loading @@ -114,6 +116,21 @@ buildPythonPackage rec { # ValueError: The array to mask was deleted before it could be masked. # If you want to construct this mask, you must either keep the array alive or use 'ak.mask' explicitly. "test_read_nanomc" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Segmentation fault # coffea/nanoevents/transforms.py", line 287 in index_range "test_KaonParent_to_PionDaughters_Loop" "test_MCRecoAssociations" "test_MC_daughters" "test_MC_parents" "test_field_is_present" # Fatal Python error: Segmentation fault # File "/build/source/tests/test_lumi_tools.py", line 37 in test_lumidata "test_lumidata" # coffea/lumi_tools/lumi_tools.py", line 113 in get_lumi "test_lumilist" ]; __darwinAllowLocalNetworking = true; Loading
pkgs/development/python-modules/fastjet/default.nix +2 −2 Original line number Diff line number Diff line { lib, stdenv, fetchPypi, fetchurl, buildPythonPackage, pytestCheckHook, pkgs, Loading Loading @@ -88,5 +86,7 @@ buildPythonPackage rec { changelog = "https://github.com/scikit-hep/fastjet/releases/tag/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; # ImportError: fastjetcontribfragile.so.0: cannot open shared object file: No such file or directory broken = true; }; }
pkgs/development/python-modules/uproot/default.nix +36 −45 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading @@ -11,30 +10,31 @@ # dependencies awkward, cramjam, numpy, fsspec, numpy, packaging, # checks # tests awkward-pandas, pandas, pytestCheckHook, pytest-timeout, pytestCheckHook, rangehttpserver, scikit-hep-testdata, writableTmpDirAsHomeHook, xxhash, }: buildPythonPackage rec { pname = "uproot"; version = "5.5.1"; version = "5.5.2"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "uproot5"; tag = "v${version}"; hash = "sha256-a5gCsv8iBUUASHCJIpxFbgBXTSm/KJOTt6fvSvP/Lio="; hash = "sha256-vMTZ3ajCEkKKerPXThSxk0vgGxK2Po9hVf8ofaGCO04="; }; build-system = [ Loading @@ -45,8 +45,8 @@ buildPythonPackage rec { dependencies = [ awkward cramjam numpy fsspec numpy packaging xxhash ]; Loading @@ -54,18 +54,14 @@ buildPythonPackage rec { nativeCheckInputs = [ awkward-pandas pandas pytestCheckHook pytest-timeout pytestCheckHook rangehttpserver scikit-hep-testdata writableTmpDirAsHomeHook ]; preCheck = '' export HOME="$(mktemp -d)" ''; disabledTests = [ disabledTests = [ # Tests that try to download files "test_descend_into_path_classname_of" "test_fallback" Loading @@ -92,11 +88,6 @@ buildPythonPackage rec { "test_dask_duplicated_keys" "test_decompression_executor_for_dask" "test_decompression_threadpool_executor_for_dask" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Tries to connect to localhost:22 # PermissionError: [Errno 1] Operation not permitted "test_open_fsspec_ssh" ]; disabledTestPaths = [ Loading
pkgs/development/python-modules/vector/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -58,7 +58,15 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Segmentation fault # numba/typed/typeddict.py", line 185 in __setitem__ "test_method_transform2D" "test_method_transform3D" "test_method_transform4D" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # AssertionError: assert 2.1073424255447017e-08 == 0.0 "test_issue_463" ]; Loading