Loading pkgs/development/python-modules/litellm/default.nix +13 −12 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ backoff, buildPythonPackage, click, cryptography, fastapi, fastapi-sso, fetchFromGitHub, Loading @@ -14,11 +15,14 @@ gunicorn, importlib-metadata, jinja2, jsonschema, openai, orjson, poetry-core, prisma, pydantic, pyjwt, pynacl, python-dotenv, python-multipart, pythonOlder, Loading @@ -26,7 +30,6 @@ requests, resend, rq, streamlit, tiktoken, tokenizers, uvicorn, Loading @@ -34,7 +37,7 @@ buildPythonPackage rec { pname = "litellm"; version = "1.40.16"; version = "1.41.19"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -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 = [ Loading @@ -57,9 +56,11 @@ buildPythonPackage rec { click importlib-metadata jinja2 jsonschema openai requests pydantic python-dotenv requests tiktoken tokenizers ]; Loading @@ -68,6 +69,7 @@ buildPythonPackage rec { proxy = [ apscheduler backoff cryptography fastapi fastapi-sso gunicorn Loading @@ -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; { Loading Loading
pkgs/development/python-modules/litellm/default.nix +13 −12 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ backoff, buildPythonPackage, click, cryptography, fastapi, fastapi-sso, fetchFromGitHub, Loading @@ -14,11 +15,14 @@ gunicorn, importlib-metadata, jinja2, jsonschema, openai, orjson, poetry-core, prisma, pydantic, pyjwt, pynacl, python-dotenv, python-multipart, pythonOlder, Loading @@ -26,7 +30,6 @@ requests, resend, rq, streamlit, tiktoken, tokenizers, uvicorn, Loading @@ -34,7 +37,7 @@ buildPythonPackage rec { pname = "litellm"; version = "1.40.16"; version = "1.41.19"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -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 = [ Loading @@ -57,9 +56,11 @@ buildPythonPackage rec { click importlib-metadata jinja2 jsonschema openai requests pydantic python-dotenv requests tiktoken tokenizers ]; Loading @@ -68,6 +69,7 @@ buildPythonPackage rec { proxy = [ apscheduler backoff cryptography fastapi fastapi-sso gunicorn Loading @@ -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; { Loading