python3Packages.awkward: 1.10.2 -> 2.0.0
This commit is contained in:
parent
02ba62f8f3
commit
d014abb574
@ -1,40 +1,40 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, cmake
|
, pythonOlder
|
||||||
|
, awkward-cpp
|
||||||
|
, hatch-fancy-pypi-readme
|
||||||
|
, hatchling
|
||||||
, numba
|
, numba
|
||||||
, numpy
|
, numpy
|
||||||
|
, packaging
|
||||||
|
, typing-extensions
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
|
||||||
, pyyaml
|
|
||||||
, rapidjson
|
|
||||||
, setuptools
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awkward";
|
pname = "awkward";
|
||||||
version = "1.10.2";
|
version = "2.0.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-MDvAkZ8JMts+eKklTBf83rEl5L5lzYlLQN+8O/3fwFQ=";
|
hash = "sha256-N4KzRkMIPW7nZE6f2z2ur8S2AwpmfyGf1hy3sjSXa2g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
hatch-fancy-pypi-readme
|
||||||
];
|
hatchling
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
pyyaml
|
|
||||||
rapidjson
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
awkward-cpp
|
||||||
numpy
|
numpy
|
||||||
setuptools
|
packaging
|
||||||
|
] ++ lib.optionals (pythonOlder "3.11") [
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
@ -44,11 +44,6 @@ buildPythonPackage rec {
|
|||||||
numba
|
numba
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# incomatible with numpy 1.23
|
|
||||||
"test_numpyarray"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
"tests-cuda"
|
"tests-cuda"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user