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/q43smif9k8lfmgbbq4jclwvkadvfcdpf-packages.json.drv building '/nix/store/q43smif9k8lfmgbbq4jclwvkadvfcdpf-packages.json.drv'... Going to be running update for following packages: - python3.14-google-genai-1.67.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-google-genai-1.67.0: UPDATING ... - python3.14-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..5a03a231febc 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.12.1"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-1ewVg271kooPkCEtmDm1HHnJY3MkomrXKp1dK9J0RXI="; + hash = "sha256-Z6EtQZstGxBoZP27YTM3Fsn5HDxyhTfoEO2zKUWXNUY="; }; build-system = [ An auto update branch exists with message `python3Packages.google-genai: 1.67.0 -> 2.10.0`. New version is 2.12.1. 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: `ec4662e7d9440df9c73b1d59eeb6b0dd3a25f55a` --- ### `x86_64-linux`
:x: 15 packages failed to build:
:white_check_mark: 16 packages built:
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.12.1/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.12.1 with grep in /nix/store/hj2hfi23nddqzddzqsr8sx2n29nb39hr-python3.14-google-genai-2.12.1 - found 2.12.1 in filename of file in /nix/store/hj2hfi23nddqzddzqsr8sx2n29nb39hr-python3.14-google-genai-2.12.1 ---
Rebuild report (if merged into master) (click to expand) ``` 42 total rebuild path(s) 40 package rebuild(s) First fifty rebuilds by attrpath crewai frigate gpt-cli ha-mcp litellm mcp-nixos music-assistant newelle open-webui oterm pkgsRocm.crewai pkgsRocm.frigate pkgsRocm.newelle pkgsRocm.python3Packages.crewai 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.pylitterbot python313Packages.torchrl python313Packages.vllm python314Packages.chatlas python314Packages.crewai python314Packages.daft python314Packages.fastmcp python314Packages.google-genai python314Packages.instructor python314Packages.langchain-google-genai python314Packages.llama-index-embeddings-google-genai python314Packages.pylitterbot sploitscan tests.home-assistant-components.google_generative_ai_conversation tests.home-assistant-components.litterrobot ```
Instructions to test this update (click to expand) --- Either **download from the cache**: ``` nix-store -r /nix/store/hj2hfi23nddqzddzqsr8sx2n29nb39hr-python3.14-google-genai-2.12.1 \ --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/ec4662e7d9440df9c73b1d59eeb6b0dd3a25f55a.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/ec4662e7d9440df9c73b1d59eeb6b0dd3a25f55a#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/hj2hfi23nddqzddzqsr8sx2n29nb39hr-python3.14-google-genai-2.12.1 ls -la /nix/store/hj2hfi23nddqzddzqsr8sx2n29nb39hr-python3.14-google-genai-2.12.1/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: `ec4662e7d9440df9c73b1d59eeb6b0dd3a25f55a` --- ### `x86_64-linux`
:x: 15 packages failed to build:
:white_check_mark: 16 packages built:
--- ###### 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