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/qh7d8aw5dy5s9pjsy139x918l43y9717-packages.json.drv building '/nix/store/qh7d8aw5dy5s9pjsy139x918l43y9717-packages.json.drv'... Going to be running update for following packages: - openai-1.16.2 Press Enter key to continue... Running update for: - openai-1.16.2: UPDATING ... - openai-1.16.2: 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 b61fc611b9d2..67532ed5e6df 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "openai"; - version = "1.16.2"; + version = "1.17.0"; pyproject = true; disabled = pythonOlder "3.7.1"; @@ -34,7 +34,7 @@ buildPythonPackage rec { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; - hash = "sha256-7JWwEoVEdAy+tPcaYUPN7xA62Egzlv/2NNcDqvmDYh4="; + hash = "sha256-NAfG8edQB9L72MlESqMXw6fo/s2F/BjAf5yRAmx+J/s="; }; build-system = [ No auto update branch exists Old version 1.16.2" not present in master derivation file with contents: { lib, anyio, buildPythonPackage, cached-property, dirty-equals, distro, fetchFromGitHub, hatch-fancy-pypi-readme, hatchling, httpx, numpy, pandas, pandas-stubs, pydantic, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, respx, sniffio, tqdm, typing-extensions, }: buildPythonPackage rec { pname = "openai"; version = "1.17.0"; pyproject = true; disabled = pythonOlder "3.7.1"; src = fetchFromGitHub { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; hash = "sha256-NAfG8edQB9L72MlESqMXw6fo/s2F/BjAf5yRAmx+J/s="; }; build-system = [ hatchling hatch-fancy-pypi-readme ]; dependencies = [ httpx pydantic typing-extensions anyio distro sniffio tqdm ] ++ lib.optionals (pythonOlder "3.8") [ cached-property ]; passthru.optional-dependencies = { datalib = [ numpy pandas pandas-stubs ]; }; pythonImportsCheck = [ "openai" ]; nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-mock respx dirty-equals ]; pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" ]; disabledTests = [ # Tests make network requests "test_streaming_response" "test_copy_build_request" # Test fails with pytest>=8 "test_basic_attribute_access_works" ]; disabledTestPaths = [ # Test makes network requests "tests/api_resources" ]; meta = with lib; { description = "Python client library for the OpenAI API"; homepage = "https://github.com/openai/openai-python"; changelog = "https://github.com/openai/openai-python/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ malo ]; mainProgram = "openai"; }; }