Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.google-genai 0 -> 1
attrpath: python3Packages.google-genai
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/ak74ygc90ig0d5xgh8qj79k9bj106kxz-packages.json.drv
building '/nix/store/ak74ygc90ig0d5xgh8qj79k9bj106kxz-packages.json.drv'...
Going to be running update for following packages:
- python3.13-google-genai-1.67.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- python3.13-google-genai-1.67.0: UPDATING ...
- python3.13-google-genai-1.67.0: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/development/python-modules/google-genai/default.nix b/pkgs/development/python-modules/google-genai/default.nix
index 4935f15b8777..e116bcee7e76 100644
--- a/pkgs/development/python-modules/google-genai/default.nix
+++ b/pkgs/development/python-modules/google-genai/default.nix
@@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "google-genai";
- version = "1.67.0";
+ version = "2.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-genai";
tag = "v${version}";
- hash = "sha256-1ewVg271kooPkCEtmDm1HHnJY3MkomrXKp1dK9J0RXI=";
+ hash = "sha256-vqRqF0FcTuNSGU0tqTIrWfTVoXDs1MUWCSi1Yw9f348=";
};
build-system = [
An auto update branch exists with message `python3Packages.google-genai: 1.67.0 -> 2.9.0`. New version is 2.10.0.
The auto update branch does not match or exceed the new version.
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `910b192a2915072bc4dc989f921bbe858a83c87d`
---
### `x86_64-linux`
:x: 3 packages failed to build:
- mcp-nixos
- frigate
- tests.home-assistant-components.google_generative_ai_conversation
:white_check_mark: 21 packages built:
- crewai (python313Packages.crewai)
- gpt-cli
- ha-mcp
- litellm
- newelle
- open-webui
- oterm
- python313Packages.chatlas
- python313Packages.daft
- python313Packages.google-genai
- python313Packages.instructor
- python313Packages.langchain-google-genai
- python313Packages.llama-index-embeddings-google-genai
- python313Packages.outlines
- python313Packages.fastmcp
- python314Packages.chatlas
- python314Packages.google-genai
- python314Packages.instructor
- python314Packages.langchain-google-genai
- sploitscan
- python314Packages.crewai
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for python3Packages.google-genai is: Google Generative AI Python SDK
meta.homepage for python3Packages.google-genai is: https://github.com/googleapis/python-genai
meta.changelog for python3Packages.google-genai is: https://github.com/googleapis/python-genai/blob/v2.10.0/CHANGELOG.md
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 2.10.0 with grep in /nix/store/i1f2zbix2fy9fyggxp9ki3i82p0s1wh5-python3.13-google-genai-2.10.0
- found 2.10.0 in filename of file in /nix/store/i1f2zbix2fy9fyggxp9ki3i82p0s1wh5-python3.13-google-genai-2.10.0
---
Rebuild report (if merged into master) (click to expand)
```
41 total rebuild path(s)
39 package rebuild(s)
First fifty rebuilds by attrpath
crewai
frigate
gpt-cli
ha-mcp
litellm
mcp-nixos
newelle
open-webui
oterm
pkgsRocm.crewai
pkgsRocm.frigate
pkgsRocm.newelle
pkgsRocm.python3Packages.crewai
pkgsRocm.python3Packages.kserve
pkgsRocm.python3Packages.outlines
pkgsRocm.python3Packages.torchrl
pkgsRocm.python3Packages.vllm
pkgsRocm.vllm
python313Packages.chatlas
python313Packages.crewai
python313Packages.daft
python313Packages.fastmcp
python313Packages.google-genai
python313Packages.instructor
python313Packages.kserve
python313Packages.langchain-google-genai
python313Packages.llama-index-embeddings-google-genai
python313Packages.outlines
python313Packages.torchrl
python313Packages.vllm
python314Packages.chatlas
python314Packages.crewai
python314Packages.google-genai
python314Packages.instructor
python314Packages.langchain-google-genai
sploitscan
tests.home-assistant-components.google_generative_ai_conversation
vllm
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/i1f2zbix2fy9fyggxp9ki3i82p0s1wh5-python3.13-google-genai-2.10.0 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A python3Packages.google-genai https://github.com/r-ryantm/nixpkgs/archive/910b192a2915072bc4dc989f921bbe858a83c87d.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/910b192a2915072bc4dc989f921bbe858a83c87d#python3Packages.google-genai
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/i1f2zbix2fy9fyggxp9ki3i82p0s1wh5-python3.13-google-genai-2.10.0
ls -la /nix/store/i1f2zbix2fy9fyggxp9ki3i82p0s1wh5-python3.13-google-genai-2.10.0/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `910b192a2915072bc4dc989f921bbe858a83c87d`
---
### `x86_64-linux`
:x: 3 packages failed to build:
- mcp-nixos
- frigate
- tests.home-assistant-components.google_generative_ai_conversation
:white_check_mark: 21 packages built:
- crewai (python313Packages.crewai)
- gpt-cli
- ha-mcp
- litellm
- newelle
- open-webui
- oterm
- python313Packages.chatlas
- python313Packages.daft
- python313Packages.google-genai
- python313Packages.instructor
- python313Packages.langchain-google-genai
- python313Packages.llama-index-embeddings-google-genai
- python313Packages.outlines
- python313Packages.fastmcp
- python314Packages.chatlas
- python314Packages.google-genai
- python314Packages.instructor
- python314Packages.langchain-google-genai
- sploitscan
- python314Packages.crewai
---
###### Maintainer pings
cc @dotlambda for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
Updated existing PR
https://api.github.com/repos/NixOS/nixpkgs/pulls/523806