openai 0 -> 1 attrpath: openai Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/4hf8i6mf54pc1jsir5vb396bcq9f8lqs-packages.json.drv building '/nix/store/4hf8i6mf54pc1jsir5vb396bcq9f8lqs-packages.json.drv'... Going to be running update for following packages: - openai-1.12.0 Press Enter key to continue... Running update for: - openai-1.12.0: UPDATING ... - openai-1.12.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 5b8140e1d0a3..dab58b533265 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "openai"; - version = "1.12.0"; + version = "1.13.2"; pyproject = true; disabled = pythonOlder "3.7.1"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; - hash = "sha256-v623+dxttNDAfVh+2h64SqT4FvaOGRe0zvHCchIy/Wg="; + hash = "sha256-3otPmMVV/Wx7k/oec5c1r6GcZGzhMSKifJB8S5nBSZw="; }; nativeBuildInputs = [ No auto update branch exists Successfully finished processing cachix "/nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2" [check][nixpkgs-review] Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
3 packages marked as broken and skipped:
1 package failed to build:
10 packages built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript. meta.description for openai is: Python client library for the OpenAI API meta.homepage for openai is: https://github.com/openai/openai-python meta.changelog for openai is: https://github.com/openai/openai-python/releases/tag/v1.13.2 ###### 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 1.13.2 with grep in /nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2 - found 1.13.2 in filename of file in /nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2 ---
Rebuild report (if merged into master) (click to expand) ``` 18 total rebuild path(s) 18 package rebuild(s) First fifty rebuilds by attrpath chatblade chatgpt-retrieval-plugin checkov home-assistant-component-tests.openai_conversation imaginer khoj llm open-interpreter openai pentestgpt python311Packages.guidance python311Packages.litellm python311Packages.llm python311Packages.open-interpreter python311Packages.openai python312Packages.litellm python312Packages.openai shell-genie ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2 \ --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \ --option trusted-public-keys ' nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The Cachix cache is only trusted for this store-path realization.) For the Cachix 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 openai https://github.com/r-ryantm/nixpkgs/archive/9dfe6ffa93a0108f825b693a7ed18c7e1c55e015.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/9dfe6ffa93a0108f825b693a7ed18c7e1c55e015#openai ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2 ls -la /nix/store/vwpsyfijgyba1ns1nxx1xypjkfgxnsaa-python3.11-openai-1.13.2/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. Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
3 packages marked as broken and skipped:
1 package failed to build:
10 packages built:
--- ###### Maintainer pings cc @malob for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). https://api.github.com/repos/NixOS/nixpkgs/pulls/290333