diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-06-18 17:25:40 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2019-06-18 17:25:40 -0700 |
commit | 3c2fc5fe45fcececbfb136f62b2dd4f40cac93c0 (patch) | |
tree | 7716c3570bf1bcf1fe0541df5c2c639fefa21c54 /pkgs/development/python-modules/uproot/default.nix | |
parent | c786f670966f1d16cf22e5d7758d4959c1238336 (diff) |
pythonPackages.uproot: 3.4.19 -> 3.7.0
Diffstat (limited to '')
-rw-r--r-- | pkgs/development/python-modules/uproot/default.nix | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index 59fc3517bfbf..6ea96c63aa04 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -1,33 +1,48 @@ -{ lib -, fetchPypi -, buildPythonPackage -, numpy -, uproot-methods +{ lib, fetchPypi, buildPythonPackage , awkward , cachetools -, pythonOlder +, lz4 , pytestrunner , pytest , pkgconfig -, lz4 , mock +, numpy , requests -, backports_lzma +, uproot-methods +, xxhash }: buildPythonPackage rec { pname = "uproot"; - version = "3.4.19"; + version = "3.7.0"; src = fetchPypi { inherit pname version; - sha256 = "1df24d1f193b044cc4d6ef98e183a853655b568b7b15173d88b0d2a79e1226da"; + sha256 = "0glsl57ha0d4pn5q318dmzml7crml1h8yilbhxh768wcs2030s1g"; }; nativeBuildInputs = [ pytestrunner ]; - checkInputs = [ pytest pkgconfig lz4 mock requests ] - ++ lib.optionals (pythonOlder "3.3") [ backports_lzma ]; - propagatedBuildInputs = [ numpy cachetools uproot-methods awkward ]; + + checkInputs = [ + lz4 + mock + pkgconfig + pytest + requests + xxhash + ]; + + propagatedBuildInputs = [ + numpy + cachetools + uproot-methods + awkward + ]; + + # skip tests which do network calls + checkPhase = '' + pytest tests -k 'not hist_in_tree and not branch_auto_interpretation' + ''; meta = with lib; { homepage = https://github.com/scikit-hep/uproot; |