python3Packages.awkward: 1.10.2 -> 2.0.0

This commit is contained in:
Dmitry Kalinkin 2022-12-13 15:49:26 -05:00
parent 02ba62f8f3
commit d014abb574

View File

@ -1,40 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, pythonOlder
, awkward-cpp
, hatch-fancy-pypi-readme
, hatchling
, numba
, numpy
, packaging
, typing-extensions
, pytestCheckHook
, pythonOlder
, pyyaml
, rapidjson
, setuptools
}:
buildPythonPackage rec {
pname = "awkward";
version = "1.10.2";
format = "setuptools";
version = "2.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MDvAkZ8JMts+eKklTBf83rEl5L5lzYlLQN+8O/3fwFQ=";
hash = "sha256-N4KzRkMIPW7nZE6f2z2ur8S2AwpmfyGf1hy3sjSXa2g=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
pyyaml
rapidjson
hatch-fancy-pypi-readme
hatchling
];
propagatedBuildInputs = [
awkward-cpp
numpy
setuptools
packaging
] ++ lib.optionals (pythonOlder "3.11") [
typing-extensions
];
dontUseCmakeConfigure = true;
@ -44,11 +44,6 @@ buildPythonPackage rec {
numba
];
disabledTests = [
# incomatible with numpy 1.23
"test_numpyarray"
];
disabledTestPaths = [
"tests-cuda"
];