python39Packages.awkward: disabled on older Python releases
This commit is contained in:
parent
3852ff1e37
commit
7e4923de25
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user