mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.litellm: 1.100.1 -> 1.102.1 (#568471)
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
polars,
|
||||
prisma,
|
||||
prometheus-client,
|
||||
psycopg,
|
||||
pydantic,
|
||||
pydantic-settings,
|
||||
pyjwt,
|
||||
@@ -56,6 +57,7 @@
|
||||
soundfile,
|
||||
tiktoken,
|
||||
tokenizers,
|
||||
tomlkit,
|
||||
uvicorn,
|
||||
uvloop,
|
||||
websockets,
|
||||
@@ -65,14 +67,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "litellm";
|
||||
version = "1.100.1";
|
||||
version = "1.102.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BerriAI";
|
||||
repo = "litellm";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tJZyZKaicIs+frpOEk3x5x6I4ZC3MTZ3HaCcPoFt/dA=";
|
||||
hash = "sha256-Mb5K0AmvS8N+Bya+i3BZTQtu4BWYcdgk3UieJ8xET7w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
@@ -89,12 +91,12 @@ buildPythonPackage rec {
|
||||
src
|
||||
cargoRoot
|
||||
;
|
||||
hash = "sha256-BSYMyX6ZzfDEPB1UxQ2kapgjzvDyK0NZlTl1g3NsH0Q=";
|
||||
hash = "sha256-zbDWVIg0ly+VP9t9eA/md0CxUKCKBJWHLgG13EUZ4rY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "maturin==1.9.4" "maturin==${maturin.version}"
|
||||
--replace-fail "maturin==1.15.0" "maturin==${maturin.version}"
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
@@ -139,6 +141,7 @@ buildPythonPackage rec {
|
||||
rich
|
||||
rq
|
||||
soundfile
|
||||
tomlkit
|
||||
uvloop
|
||||
uvicorn
|
||||
websockets
|
||||
@@ -151,6 +154,7 @@ buildPythonPackage rec {
|
||||
google-cloud-iam
|
||||
google-cloud-kms
|
||||
prisma
|
||||
psycopg
|
||||
# FIXME package redisvl
|
||||
resend
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user