litellm: 1.83.7 -> 1.83.14 (#519539)

This commit is contained in:
Yt
2026-05-13 10:20:10 +00:00
committed by GitHub
2 changed files with 48 additions and 18 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ python3Packages.toPythonApplication (
dependencies =
(oldAttrs.dependencies or [ ])
++ litellm.optional-dependencies.proxy
++ litellm.optional-dependencies.extra_proxy;
++ litellm.optional-dependencies.extra_proxy
++ litellm.optional-dependencies.proxy-runtime;
})
)
@@ -1,10 +1,13 @@
{
lib,
a2a-sdk,
aiohttp,
anthropic,
apscheduler,
azure-identity,
azure-keyvault-secrets,
azure-storage-blob,
azure-storage-file-datalake,
backoff,
boto3,
buildPythonPackage,
@@ -16,33 +19,42 @@
fetchFromGitHub,
google-cloud-iam,
google-cloud-kms,
google-genai,
grpcio,
gunicorn,
httpx,
importlib-metadata,
jinja2,
jsonschema,
langfuse,
mcp,
openai,
opentelemetry-api,
opentelemetry-exporter-otlp,
opentelemetry-sdk,
orjson,
poetry-core,
polars,
prisma,
prometheus-client,
pydantic,
pyjwt,
pynacl,
python,
pypdf,
python-dotenv,
python-multipart,
pyyaml,
requests,
resend,
restrictedpython,
rich,
rq,
sentry-sdk,
soundfile,
tiktoken,
tokenizers,
uvloop,
uv-build,
uvicorn,
uvloop,
websockets,
nixosTests,
nix-update-script,
@@ -50,17 +62,22 @@
buildPythonPackage rec {
pname = "litellm";
version = "1.83.7";
version = "1.83.14";
pyproject = true;
src = fetchFromGitHub {
owner = "BerriAI";
repo = "litellm";
tag = "v${version}-stable";
hash = "sha256-oVQ0FHZmXDY7HU4AMEQ9xcl10mIbqja9/j2mdunTWI4=";
hash = "sha256-SZow0qof9DRlohWjT3J/NHtmhe96OLLcdHt55RQ7Zmw=";
};
build-system = [ poetry-core ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build==0.10.7" "uv_build"
'';
build-system = [ uv-build ];
dependencies = [
aiohttp
@@ -98,6 +115,7 @@ buildPythonPackage rec {
pynacl
python-multipart
pyyaml
restrictedpython
rich
rq
soundfile
@@ -107,6 +125,7 @@ buildPythonPackage rec {
];
extra_proxy = [
a2a-sdk
azure-identity
azure-keyvault-secrets
google-cloud-iam
@@ -115,12 +134,29 @@ buildPythonPackage rec {
# FIXME package redisvl
resend
];
proxy-runtime = [
anthropic
# FIXME package azure-ai-contentsafety
azure-storage-file-datalake
# FIXME package ddtrace
# FIXME package detect-secrets
# FIXME package google-cloud-aiplatform
google-genai
grpcio
langfuse
# FIXME package mangum
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
# FIXME package llm-sandbox
prometheus-client
pypdf
sentry-sdk
];
};
pythonImportsCheck = [
"litellm"
"litellm_enterprise"
];
pythonImportsCheck = [ "litellm" ];
pythonRelaxDeps = [
"aiohttp"
@@ -134,13 +170,6 @@ buildPythonPackage rec {
# access network
doCheck = false;
postFixup = ''
# Symlink litellm_enterprise to make it discoverable
pushd $out/lib/python${python.pythonVersion}/site-packages
ln -s enterprise/litellm_enterprise litellm_enterprise
popd
'';
passthru = {
tests = { inherit (nixosTests) litellm; };
updateScript = nix-update-script {