From e898d774401882fbaf2f0c006873510de4e5752b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 31 Dec 2024 12:37:59 +0100 Subject: [PATCH 1/2] python312Packages.ollama: move pydantic toi run-time deps --- pkgs/development/python-modules/ollama/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ollama/default.nix b/pkgs/development/python-modules/ollama/default.nix index be11a601cc267..5d9867a9d7184 100644 --- a/pkgs/development/python-modules/ollama/default.nix +++ b/pkgs/development/python-modules/ollama/default.nix @@ -35,11 +35,13 @@ buildPythonPackage rec { build-system = [ poetry-core ]; - dependencies = [ httpx ]; + dependencies = [ + httpx + pydantic + ]; nativeCheckInputs = [ pillow - pydantic pytest-asyncio pytest-httpserver pytestCheckHook From cb48707630dd99cf830f3a2a2a6975ea4a2f5a82 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 31 Dec 2024 12:38:55 +0100 Subject: [PATCH 2/2] python312Packages.ollama: 0.4.4 -> 0.4.5 Diff: https://github.com/ollama/ollama-python/compare/refs/tags/v0.4.4...v0.4.5 Changelog: https://github.com/ollama/ollama-python/releases/tag/v0.4.5 --- pkgs/development/python-modules/ollama/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ollama/default.nix b/pkgs/development/python-modules/ollama/default.nix index 5d9867a9d7184..cd0c6c5c66d4e 100644 --- a/pkgs/development/python-modules/ollama/default.nix +++ b/pkgs/development/python-modules/ollama/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "ollama"; - version = "0.4.4"; + version = "0.4.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "ollama"; repo = "ollama-python"; rev = "refs/tags/v${version}"; - hash = "sha256-GW/4adrU6/4cM96U6A8Btgv7Qt1jtSFJr9F8+zwTEpk="; + hash = "sha256-8Y3CRd+VXABuMpaqfJ5mYQhQ+U4Qk7EcjSnPd/hsebY="; }; postPatch = ''