mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
python3Packages.litellm: 1.83.14 -> 1.86.0
Diff: https://github.com/BerriAI/litellm/compare/v1.83.14-stable...v1.86.0 Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.86.0
This commit is contained in:
@@ -43,7 +43,6 @@
|
|||||||
python-dotenv,
|
python-dotenv,
|
||||||
python-multipart,
|
python-multipart,
|
||||||
pyyaml,
|
pyyaml,
|
||||||
requests,
|
|
||||||
resend,
|
resend,
|
||||||
restrictedpython,
|
restrictedpython,
|
||||||
rich,
|
rich,
|
||||||
@@ -62,19 +61,19 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "litellm";
|
pname = "litellm";
|
||||||
version = "1.83.14";
|
version = "1.86.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BerriAI";
|
owner = "BerriAI";
|
||||||
repo = "litellm";
|
repo = "litellm";
|
||||||
tag = "v${version}-stable";
|
tag = "v${version}";
|
||||||
hash = "sha256-SZow0qof9DRlohWjT3J/NHtmhe96OLLcdHt55RQ7Zmw=";
|
hash = "sha256-uInjKBUduDAfXHg5dQj5/qqqMJhlDeTri1kULkz5unM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "uv_build==0.10.7" "uv_build"
|
--replace-fail "uv_build==0.11.8" "uv_build"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ uv-build ];
|
build-system = [ uv-build ];
|
||||||
@@ -90,7 +89,6 @@ buildPythonPackage rec {
|
|||||||
openai
|
openai
|
||||||
pydantic
|
pydantic
|
||||||
python-dotenv
|
python-dotenv
|
||||||
requests
|
|
||||||
tiktoken
|
tiktoken
|
||||||
tokenizers
|
tokenizers
|
||||||
];
|
];
|
||||||
@@ -175,7 +173,7 @@ buildPythonPackage rec {
|
|||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
"--version-regex"
|
"--version-regex"
|
||||||
"v([0-9]+\\.[0-9]+\\.[0-9]+)-stable"
|
"v([0-9]+\\.[0-9]+\\.[0-9]+)"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user