0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python3Packages.kserve: 0.15.0 -> 0.15.1 (#407752)

This commit is contained in:
Gaétan Lepage 2025-05-17 14:30:31 +02:00 committed by GitHub
commit 0f36a1adc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,7 @@
avro, avro,
grpcio-testing, grpcio-testing,
pytest-asyncio, pytest-asyncio,
pytest-httpx,
pytest-xdist, pytest-xdist,
pytestCheckHook, pytestCheckHook,
tomlkit, tomlkit,
@ -53,14 +54,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "kserve"; pname = "kserve";
version = "0.15.0"; version = "0.15.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kserve"; owner = "kserve";
repo = "kserve"; repo = "kserve";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-J2VFMHwhHpvtsywv3ixuVzpuDwq8y9w4heedYYWVBmM="; hash = "sha256-k+uyOhsxWPpiA82wCCEn53W2VQgSHGgSABFipEPErRk=";
}; };
sourceRoot = "${src.name}/python/kserve"; sourceRoot = "${src.name}/python/kserve";
@ -115,7 +116,7 @@ buildPythonPackage rec {
logging = [ asgi-logger ]; logging = [ asgi-logger ];
ray = [ ray ]; ray = [ ray ];
llm = [ llm = [
# vllm (broken) vllm
]; ];
}; };
@ -123,6 +124,7 @@ buildPythonPackage rec {
avro avro
grpcio-testing grpcio-testing
pytest-asyncio pytest-asyncio
pytest-httpx
pytest-xdist pytest-xdist
pytestCheckHook pytestCheckHook
tomlkit tomlkit
@ -147,17 +149,13 @@ buildPythonPackage rec {
"--deselect=test/test_server.py::TestRayServer::test_list_handler" "--deselect=test/test_server.py::TestRayServer::test_list_handler"
"--deselect=test/test_server.py::TestRayServer::test_liveness_handler" "--deselect=test/test_server.py::TestRayServer::test_liveness_handler"
"--deselect=test/test_server.py::TestRayServer::test_predict" "--deselect=test/test_server.py::TestRayServer::test_predict"
# Permission Error
"--deselect=test/test_server.py::TestMutiProcessServer::test_rest_server_multiprocess"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# Looks for a config file at the root of the repository # Looks for a config file at the root of the repository
"test/test_inference_service_client.py" "test/test_inference_service_client.py"
# Require broken vllm
"test/test_dataplane.py"
"test/test_model_repository.py"
"test/test_openai_completion.py"
"test/test_openai_embedding.py"
]; ];
disabledTests = disabledTests =