From b3f102e52d16a602f91e3eb6d6abbcdce6861336 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 3 Nov 2025 09:35:37 +0000 Subject: [PATCH] python3Packages.kserve: 0.15.2 -> 0.16.0 Diff: https://github.com/kserve/kserve/compare/v0.15.2...v0.16.0 Changelog: https://github.com/kserve/kserve/releases/tag/v0.16.0 --- .../python-modules/kserve/default.nix | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/pkgs/development/python-modules/kserve/default.nix b/pkgs/development/python-modules/kserve/default.nix index f73275866a44..c547a18e5cff 100644 --- a/pkgs/development/python-modules/kserve/default.nix +++ b/pkgs/development/python-modules/kserve/default.nix @@ -5,35 +5,21 @@ fetchFromGitHub, # build-system - deprecation, - poetry-core, + setuptools, # dependencies cloudevents, fastapi, grpc-interceptor, grpcio, + grpcio-tools, httpx, kubernetes, numpy, orjson, pandas, - uvicorn, - - # optional-dependencies - azure-identity, - azure-storage-blob, - azure-storage-file-share, - boto3, - google-cloud-storage, - huggingface-hub, - asgi-logger, - ray, - vllm, - prometheus-client, protobuf, - requests, psutil, pydantic, python-dateutil, @@ -41,11 +27,24 @@ six, tabulate, timing-asgi, + uvicorn, + + # optional-dependencies + # storage + kserve-storage, + # logging + asgi-logger, + # ray + ray, + # llm + vllm, # tests avro, grpcio-testing, + jinja2, pytest-asyncio, + pytest-cov-stub, pytest-httpx, pytest-xdist, pytestCheckHook, @@ -54,14 +53,14 @@ buildPythonPackage rec { pname = "kserve"; - version = "0.15.2"; + version = "0.16.0"; pyproject = true; src = fetchFromGitHub { owner = "kserve"; repo = "kserve"; tag = "v${version}"; - hash = "sha256-NklR2Aoa5UdWkqNOfX+xl3R158JDSQtStXv9DkklOwM="; + hash = "sha256-f6ILZMLxfckEpy7wSgCqUx89JWSnn0DbQiqRSHcQHms="; }; sourceRoot = "${src.name}/python/kserve"; @@ -77,8 +76,7 @@ buildPythonPackage rec { ]; build-system = [ - deprecation - poetry-core + setuptools ]; dependencies = [ @@ -86,6 +84,7 @@ buildPythonPackage rec { fastapi grpc-interceptor grpcio + grpcio-tools httpx kubernetes numpy @@ -101,21 +100,20 @@ buildPythonPackage rec { tabulate timing-asgi uvicorn - ]; + ] + ++ uvicorn.optional-dependencies.standard; optional-dependencies = { storage = [ - azure-identity - azure-storage-blob - azure-storage-file-share - boto3 - huggingface-hub - google-cloud-storage - requests + kserve-storage + ]; + logging = [ + asgi-logger + ]; + ray = [ + ray ] - ++ huggingface-hub.optional-dependencies.hf_transfer; - logging = [ asgi-logger ]; - ray = [ ray ]; + ++ ray.optional-dependencies.serve; llm = [ vllm ]; @@ -124,7 +122,9 @@ buildPythonPackage rec { nativeCheckInputs = [ avro grpcio-testing + jinja2 pytest-asyncio + pytest-cov-stub pytest-httpx pytest-xdist pytestCheckHook