mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python3Packages.awkward0: 0.15.2 -> 0.15.5 (#117397)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
parent
d68bffb200
commit
6cfb9c85e3
@ -2,33 +2,31 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, numpy
|
, numpy
|
||||||
, pandas
|
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awkward0";
|
pname = "awkward0";
|
||||||
version = "0.15.2";
|
version = "0.15.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scikit-hep";
|
owner = "scikit-hep";
|
||||||
repo = "awkward-0.x";
|
repo = "awkward-0.x";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-C6/byIGcabGjws5QI9sh5BO2M4Lhqkooh4mSjUEKCKU=";
|
sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
checkInputs = [ pandas pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
# Can't find a fixture
|
||||||
# Almost all tests in this file fail
|
disabledTests = [ "test_import_pandas" ];
|
||||||
rm tests/test_persist.py
|
|
||||||
py.test
|
pythonImportsCheck = [ "awkward0" ];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
|
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
|
||||||
|
Loading…
Reference in New Issue
Block a user