From bd236bf386dd633b320251285723ceb53166b264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 16 Jun 2025 12:54:36 -0700 Subject: [PATCH] python3Packages.google-genai: 1.19.0 -> 1.20.0 Diff: https://github.com/googleapis/python-genai/compare/refs/tags/v1.19.0...refs/tags/v1.20.0 Changelog: https://github.com/googleapis/python-genai/blob/v1.20.0/CHANGELOG.md --- .../python-modules/google-genai/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-genai/default.nix b/pkgs/development/python-modules/google-genai/default.nix index 08216b07e608..76c5c3b78d66 100644 --- a/pkgs/development/python-modules/google-genai/default.nix +++ b/pkgs/development/python-modules/google-genai/default.nix @@ -1,10 +1,13 @@ { + aiohttp, anyio, buildPythonPackage, fetchFromGitHub, google-auth, httpx, lib, + packaging, + pkginfo, pydantic, pytestCheckHook, requests, @@ -16,17 +19,19 @@ buildPythonPackage rec { pname = "google-genai"; - version = "1.19.0"; + version = "1.20.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-p9W34v1ToLwketM+wOfrouLLl9pFBljL5doykuZRINo="; + hash = "sha256-7DwLIK3/VCVSt9lq0Q0IRbhfLXOWw1TbPpDgI4jr9cg="; }; build-system = [ + packaging + pkginfo setuptools twine ]; @@ -43,6 +48,10 @@ buildPythonPackage rec { websockets ]; + optional-dependencies = { + aiohttp = [ aiohttp ]; + }; + pythonImportsCheck = [ "google.genai" ]; nativeCheckInputs = [