diff --git a/pkgs/development/python-modules/google-genai/default.nix b/pkgs/development/python-modules/google-genai/default.nix index 76c5c3b78d66..35a27dd48fd0 100644 --- a/pkgs/development/python-modules/google-genai/default.nix +++ b/pkgs/development/python-modules/google-genai/default.nix @@ -12,6 +12,7 @@ pytestCheckHook, requests, setuptools, + tenacity, twine, typing-extensions, websockets, @@ -19,14 +20,14 @@ buildPythonPackage rec { pname = "google-genai"; - version = "1.20.0"; + version = "1.28.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-7DwLIK3/VCVSt9lq0Q0IRbhfLXOWw1TbPpDgI4jr9cg="; + hash = "sha256-tQ6iWIUUl9mtWz6Pa0tBOsoGcFQNe62NqXhob53AVq4="; }; build-system = [ @@ -36,7 +37,9 @@ buildPythonPackage rec { twine ]; - pythonRelaxDeps = [ "websockets" ]; + pythonRelaxDeps = [ + "tenacity" + ]; dependencies = [ anyio @@ -44,6 +47,7 @@ buildPythonPackage rec { httpx pydantic requests + tenacity typing-extensions websockets ];