Merge pull request #194724 from r-ryantm/auto-update/python310Packages.uproot

python310Packages.uproot: 4.3.5 -> 4.3.6

authored by Fabian Affolter and committed by GitHub 19bf6cb6 ff811e38

+27 -14
+27 -14
pkgs/development/python-modules/uproot/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 2 + , awkward 3 3 , buildPythonPackage 4 - , awkward 4 + , fetchFromGitHub 5 + , importlib-metadata 6 + , lz4 5 7 , numpy 6 - , lz4 7 - , setuptools 8 + , packaging 9 + , pytestCheckHook 10 + , pythonOlder 11 + , scikit-hep-testdata 8 12 , xxhash 9 13 , zstandard 10 - , pytestCheckHook 11 - , scikit-hep-testdata 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "uproot"; 16 - version = "4.3.5"; 18 + version = "4.3.6"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 17 22 18 - # fetch from github for tests 19 23 src = fetchFromGitHub { 20 24 owner = "scikit-hep"; 21 25 repo = "uproot4"; 22 26 rev = "refs/tags/v${version}"; 23 - sha256 = "sha256-oAL4FjrNNm7xCQq275pnY/UjfAxRWgLgYBS/lCq+uwE="; 27 + hash = "sha256-Te4D2tHVD5fD8DH2njjQMGnTUvLQdcGBzApklnGn6g8="; 24 28 }; 25 29 26 30 propagatedBuildInputs = [ 27 31 awkward 28 32 numpy 29 33 lz4 30 - setuptools 34 + packaging 31 35 xxhash 32 36 zstandard 37 + ] ++ lib.optionals (pythonOlder "3.8") [ 38 + importlib-metadata 33 39 ]; 34 40 35 41 checkInputs = [ 36 42 pytestCheckHook 37 43 scikit-hep-testdata 38 44 ]; 45 + 39 46 preCheck = '' 40 47 export HOME="$(mktemp -d)" 41 48 ''; 49 + 42 50 disabledTests = [ 43 - # tests that try to download files 51 + # Tests that try to download files 44 52 "test_http" 45 53 "test_no_multipart" 46 54 "test_fallback" 47 55 "test_pickle_roundtrip_http" 48 56 ]; 57 + 49 58 disabledTestPaths = [ 50 - # tests that try to download files 59 + # Tests that try to download files 51 60 "tests/test_0066-fix-http-fallback-freeze.py" 52 61 "tests/test_0088-read-with-http.py" 53 62 "tests/test_0220-contiguous-byte-ranges-in-http.py" 54 63 ]; 55 - pythonImportsCheck = [ "uproot" ]; 64 + 65 + pythonImportsCheck = [ 66 + "uproot" 67 + ]; 56 68 57 69 meta = with lib; { 70 + description = "ROOT I/O in pure Python and Numpy"; 58 71 homepage = "https://github.com/scikit-hep/uproot5"; 59 - description = "ROOT I/O in pure Python and Numpy"; 72 + changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}"; 60 73 license = licenses.bsd3; 61 74 maintainers = with maintainers; [ veprbl ]; 62 75 };