File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
pkgs/development/python-modules/openai Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2121 numpy ,
2222 pandas ,
2323 pandas-stubs ,
24+ websockets ,
2425
2526 # check deps
2627 pytestCheckHook ,
3536
3637buildPythonPackage rec {
3738 pname = "openai" ;
38- version = "1.57.4 " ;
39+ version = "1.58.1 " ;
3940 pyproject = true ;
4041
4142 disabled = pythonOlder "3.8" ;
@@ -44,7 +45,7 @@ buildPythonPackage rec {
4445 owner = "openai" ;
4546 repo = "openai-python" ;
4647 rev = "refs/tags/v${ version } " ;
47- hash = "sha256-djYvHEIieJPak8EY7c5hhMhTzxm/Prc4RSfrFjzHqI4 =" ;
48+ hash = "sha256-QK0NNMJM4sj4u8nlNPBBQpqV0pBYUMcSwKqhna5q10c =" ;
4849 } ;
4950
5051 build-system = [
@@ -61,14 +62,17 @@ buildPythonPackage rec {
6162 sniffio
6263 tqdm
6364 typing-extensions
64- ] ;
65+ ] ++ optional-dependencies . realtime ;
6566
6667 optional-dependencies = {
6768 datalib = [
6869 numpy
6970 pandas
7071 pandas-stubs
7172 ] ;
73+ realtime = [
74+ websockets
75+ ] ;
7276 } ;
7377
7478 pythonImportsCheck = [ "openai" ] ;
You can’t perform that action at this time.
0 commit comments