python39Packages.awkward: disabled on older Python releases

This commit is contained in:
Fabian Affolter 2022-09-23 08:51:56 +02:00 committed by GitHub
parent 3852ff1e37
commit 7e4923de25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
, numba
, numpy
, pytestCheckHook
, pythonOlder
, pyyaml
, rapidjson
, setuptools
@ -13,28 +14,48 @@
buildPythonPackage rec {
pname = "awkward";
version = "1.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xjlO0l+xSghtY2IdnYT9wij11CpkWG8hVzGzb94XA0s=";
hash = "sha256-xjlO0l+xSghtY2IdnYT9wij11CpkWG8hVzGzb94XA0s=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ pyyaml rapidjson ];
propagatedBuildInputs = [ numpy setuptools ]; # https://github.com/scikit-hep/awkward/blob/main/requirements.txt
nativeBuildInputs = [
cmake
];
buildInputs = [
pyyaml
rapidjson
];
propagatedBuildInputs = [
numpy
setuptools
];
dontUseCmakeConfigure = true;
checkInputs = [ pytestCheckHook numba ];
checkInputs = [
pytestCheckHook
numba
];
disabledTests = [
# incomatible with numpy 1.23
"test_numpyarray"
];
disabledTestPaths = [ "tests-cuda" ];
disabledTestPaths = [
"tests-cuda"
];
pythonImportsCheck = [ "awkward" ];
pythonImportsCheck = [
"awkward"
];
meta = with lib; {
description = "Manipulate JSON-like data with NumPy-like idioms";