From 0fe38d49a58b5b168d9b464dcc970956897716a4 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 13 Feb 2025 10:33:15 +0100 Subject: [PATCH] python312Packages.uproot: 5.5.1 -> 5.5.2 Diff: https://github.com/scikit-hep/uproot5/compare/refs/tags/v5.5.1...v5.5.2 Changelog: https://github.com/scikit-hep/uproot5/releases/tag/v5.5.2 --- .../python-modules/uproot/default.nix | 81 +++++++++---------- 1 file changed, 36 insertions(+), 45 deletions(-) diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index fb49f9b6e9cc..9c34d6798579 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, @@ -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 = [ @@ -45,8 +45,8 @@ buildPythonPackage rec { dependencies = [ awkward cramjam - numpy fsspec + numpy packaging xxhash ]; @@ -54,50 +54,41 @@ buildPythonPackage rec { nativeCheckInputs = [ awkward-pandas pandas - pytestCheckHook pytest-timeout + pytestCheckHook rangehttpserver scikit-hep-testdata + writableTmpDirAsHomeHook ]; - preCheck = '' - export HOME="$(mktemp -d)" - ''; + disabledTests = [ + # Tests that try to download files + "test_descend_into_path_classname_of" + "test_fallback" + "test_fsspec_cache_http" + "test_fsspec_cache_http_directory" + "test_fsspec_chunks" + "test_fsspec_globbing_http" + "test_http" + "test_http_fallback_workers" + "test_http_multipart" + "test_http_port" + "test_http_size" + "test_http_size_port" + "test_http_workers" + "test_issue176" + "test_issue176_again" + "test_issue_1054_filename_colons" + "test_no_multipart" + "test_open_fsspec_github" + "test_open_fsspec_http" + "test_pickle_roundtrip_http" - disabledTests = - [ - # Tests that try to download files - "test_descend_into_path_classname_of" - "test_fallback" - "test_fsspec_cache_http" - "test_fsspec_cache_http_directory" - "test_fsspec_chunks" - "test_fsspec_globbing_http" - "test_http" - "test_http_fallback_workers" - "test_http_multipart" - "test_http_port" - "test_http_size" - "test_http_size_port" - "test_http_workers" - "test_issue176" - "test_issue176_again" - "test_issue_1054_filename_colons" - "test_no_multipart" - "test_open_fsspec_github" - "test_open_fsspec_http" - "test_pickle_roundtrip_http" - - # Cyclic dependency with dask-awkward - "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" - ]; + # Cyclic dependency with dask-awkward + "test_dask_duplicated_keys" + "test_decompression_executor_for_dask" + "test_decompression_threadpool_executor_for_dask" + ]; disabledTestPaths = [ # Tests that try to download files