Skip to content

Commit

Permalink
python312Packages.openai: 1.57.4 -> 1.58.1 (NixOS#366011)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Dec 24, 2024
2 parents 77f4554 + 0a36481 commit 5f6d337
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/development/python-modules/openai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
numpy,
pandas,
pandas-stubs,
websockets,

# check deps
pytestCheckHook,
Expand All @@ -35,7 +36,7 @@

buildPythonPackage rec {
pname = "openai";
version = "1.57.4";
version = "1.58.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -44,7 +45,7 @@ buildPythonPackage rec {
owner = "openai";
repo = "openai-python";
rev = "refs/tags/v${version}";
hash = "sha256-djYvHEIieJPak8EY7c5hhMhTzxm/Prc4RSfrFjzHqI4=";
hash = "sha256-QK0NNMJM4sj4u8nlNPBBQpqV0pBYUMcSwKqhna5q10c=";
};

build-system = [
Expand All @@ -61,14 +62,17 @@ buildPythonPackage rec {
sniffio
tqdm
typing-extensions
];
] ++ optional-dependencies.realtime;

optional-dependencies = {
datalib = [
numpy
pandas
pandas-stubs
];
realtime = [
websockets
];
};

pythonImportsCheck = [ "openai" ];
Expand Down

0 comments on commit 5f6d337

Please sign in to comment.