diff options
Diffstat (limited to 'pkgs/development/python-modules/kserve/default.nix')
-rw-r--r-- | pkgs/development/python-modules/kserve/default.nix | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/kserve/default.nix b/pkgs/development/python-modules/kserve/default.nix index 567467c7bf473..bb071fc3f0aaa 100644 --- a/pkgs/development/python-modules/kserve/default.nix +++ b/pkgs/development/python-modules/kserve/default.nix @@ -3,9 +3,12 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, + + # build-system deprecation, poetry-core, - pythonRelaxDepsHook, + + # dependencies async-timeout, cloudevents, fastapi, @@ -18,12 +21,16 @@ prometheus-client, protobuf, psutil, + pydantic, python-dateutil, + pyyaml, ray, six, tabulate, timing-asgi, uvicorn, + + # checks avro, azure-storage-blob, azure-storage-file-share, @@ -31,13 +38,14 @@ botocore, google-cloud-storage, grpcio-testing, + pytest-asyncio, pytestCheckHook, tomlkit, }: buildPythonPackage rec { pname = "kserve"; - version = "0.13.0"; + version = "0.13.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -46,7 +54,7 @@ buildPythonPackage rec { owner = "kserve"; repo = "kserve"; rev = "refs/tags/v${version}"; - hash = "sha256-Fu+1AR7FU4EQ+PhMneHFr3at3N9cN7V24wm/VOfY8GA="; + hash = "sha256-wGS001PK+k21oCOaQCiAtytTDjfe0aiTVJ9spyOucYA="; }; sourceRoot = "${src.name}/python/kserve"; @@ -56,8 +64,6 @@ buildPythonPackage rec { poetry-core ]; - nativeBuildInputs = [ pythonRelaxDepsHook ]; - dependencies = [ async-timeout cloudevents @@ -71,7 +77,9 @@ buildPythonPackage rec { prometheus-client protobuf psutil + pydantic python-dateutil + pyyaml ray six tabulate @@ -86,6 +94,7 @@ buildPythonPackage rec { "protobuf" "ray" "uvicorn" + "psutil" ]; pythonImportsCheck = [ "kserve" ]; @@ -98,6 +107,7 @@ buildPythonPackage rec { botocore google-cloud-storage grpcio-testing + pytest-asyncio pytestCheckHook tomlkit ]; |