Merge pull request #317462 from GaetanLepage/kserve

python311Packages.kserve: 0.12.1 -> 0.13.0
This commit is contained in:
Peder Bergebakken Sundt 2024-06-06 13:09:11 +02:00 committed by GitHub
commit 04e2d75ba6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,6 +1,7 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
pythonOlder,
fetchFromGitHub, fetchFromGitHub,
deprecation, deprecation,
poetry-core, poetry-core,
@ -29,20 +30,23 @@
boto3, boto3,
botocore, botocore,
google-cloud-storage, google-cloud-storage,
grpcio-testing,
pytestCheckHook, pytestCheckHook,
tomlkit, tomlkit,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "kserve"; pname = "kserve";
version = "0.12.1"; version = "0.13.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kserve"; owner = "kserve";
repo = "kserve"; repo = "kserve";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-gKJkG8zJY1sGGpI27YZ/QnEPU8J7KHva3nI+JCglQaQ="; hash = "sha256-Fu+1AR7FU4EQ+PhMneHFr3at3N9cN7V24wm/VOfY8GA=";
}; };
sourceRoot = "${src.name}/python/kserve"; sourceRoot = "${src.name}/python/kserve";
@ -93,6 +97,7 @@ buildPythonPackage rec {
boto3 boto3
botocore botocore
google-cloud-storage google-cloud-storage
grpcio-testing
pytestCheckHook pytestCheckHook
tomlkit tomlkit
]; ];
@ -109,10 +114,11 @@ buildPythonPackage rec {
"test_infer_v2" "test_infer_v2"
]; ];
meta = with lib; { meta = {
description = "Standardized Serverless ML Inference Platform on Kubernetes"; description = "Standardized Serverless ML Inference Platform on Kubernetes";
homepage = "https://github.com/kserve/kserve/tree/master/python/kserve"; homepage = "https://github.com/kserve/kserve/tree/master/python/kserve";
license = licenses.asl20; changelog = "https://github.com/kserve/kserve/releases/tag/v${version}";
maintainers = with maintainers; [ GaetanLepage ]; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
}; };
} }