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