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

python310Packages.uproot: 4.3.5 -> 4.3.6
This commit is contained in:
Fabian Affolter 2022-10-06 23:36:22 +02:00 committed by GitHub
commit 19bf6cb6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,62 +1,75 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, awkward
, numpy
, buildPythonPackage
, fetchFromGitHub
, importlib-metadata
, lz4
, setuptools
, numpy
, packaging
, pytestCheckHook
, pythonOlder
, scikit-hep-testdata
, xxhash
, zstandard
, pytestCheckHook
, scikit-hep-testdata
}:
buildPythonPackage rec {
pname = "uproot";
version = "4.3.5";
version = "4.3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
# fetch from github for tests
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "uproot4";
rev = "refs/tags/v${version}";
sha256 = "sha256-oAL4FjrNNm7xCQq275pnY/UjfAxRWgLgYBS/lCq+uwE=";
hash = "sha256-Te4D2tHVD5fD8DH2njjQMGnTUvLQdcGBzApklnGn6g8=";
};
propagatedBuildInputs = [
awkward
numpy
lz4
setuptools
packaging
xxhash
zstandard
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
checkInputs = [
pytestCheckHook
scikit-hep-testdata
];
preCheck = ''
export HOME="$(mktemp -d)"
'';
disabledTests = [
# tests that try to download files
# Tests that try to download files
"test_http"
"test_no_multipart"
"test_fallback"
"test_pickle_roundtrip_http"
];
disabledTestPaths = [
# tests that try to download files
# Tests that try to download files
"tests/test_0066-fix-http-fallback-freeze.py"
"tests/test_0088-read-with-http.py"
"tests/test_0220-contiguous-byte-ranges-in-http.py"
];
pythonImportsCheck = [ "uproot" ];
pythonImportsCheck = [
"uproot"
];
meta = with lib; {
homepage = "https://github.com/scikit-hep/uproot5";
description = "ROOT I/O in pure Python and Numpy";
homepage = "https://github.com/scikit-hep/uproot5";
changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};