python312Packages.litellm: 1.40.16 -> 1.41.19

Diff: https://github.com/BerriAI/litellm/compare/refs/tags/v1.40.16...v1.41.19

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.41.19
This commit is contained in:
natsukium 2024-07-13 11:07:47 +09:00
parent 9acbd4ea8d
commit 06b43f1f26
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -7,6 +7,7 @@
backoff,
buildPythonPackage,
click,
cryptography,
fastapi,
fastapi-sso,
fetchFromGitHub,
@ -14,11 +15,14 @@
gunicorn,
importlib-metadata,
jinja2,
jsonschema,
openai,
orjson,
poetry-core,
prisma,
pydantic,
pyjwt,
pynacl,
python-dotenv,
python-multipart,
pythonOlder,
@ -26,7 +30,6 @@
requests,
resend,
rq,
streamlit,
tiktoken,
tokenizers,
uvicorn,
@ -34,7 +37,7 @@
buildPythonPackage rec {
pname = "litellm";
version = "1.40.16";
version = "1.41.19";
pyproject = true;
disabled = pythonOlder "3.8";
@ -43,13 +46,9 @@ buildPythonPackage rec {
owner = "BerriAI";
repo = "litellm";
rev = "refs/tags/v${version}";
hash = "sha256-CK/b0PVBOzfhnTk+iu/buu7BIjAGdz3aXYAGgB4s/pw=";
hash = "sha256-IM91EHrfgYdsG+/9Ro/SV0Dko1dc7KOLDU76ar7/lew=";
};
postPatch = ''
rm -rf dist
'';
build-system = [ poetry-core ];
dependencies = [
@ -57,9 +56,11 @@ buildPythonPackage rec {
click
importlib-metadata
jinja2
jsonschema
openai
requests
pydantic
python-dotenv
requests
tiktoken
tokenizers
];
@ -68,6 +69,7 @@ buildPythonPackage rec {
proxy = [
apscheduler
backoff
cryptography
fastapi
fastapi-sso
gunicorn
@ -83,15 +85,14 @@ buildPythonPackage rec {
azure-keyvault-secrets
google-cloud-kms
prisma
pynacl
resend
streamlit
];
};
# the import check phase fails trying to do a network request to openai
# pythonImportsCheck = [ "litellm" ];
pythonImportsCheck = [ "litellm" ];
# no tests
# access network
doCheck = false;
meta = with lib; {