mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
python312Packages.openai: 1.54.5 -> 1.56.1 (#359638)
This commit is contained in:
commit
303b423a72
@ -10,7 +10,6 @@
|
||||
|
||||
# dependencies
|
||||
anyio,
|
||||
cached-property,
|
||||
distro,
|
||||
httpx,
|
||||
jiter,
|
||||
@ -36,16 +35,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openai";
|
||||
version = "1.54.5";
|
||||
version = "1.56.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7.1";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openai";
|
||||
repo = "openai-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-bDYGE8bm1+qHvhNfLSHG2bW8Wnm1yOEjD/oCzBG+CPw=";
|
||||
hash = "sha256-0rbngHNZv2qU87P2HplM4opojUdQXugazaJHHy8smmA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@ -62,7 +61,7 @@ buildPythonPackage rec {
|
||||
sniffio
|
||||
tqdm
|
||||
typing-extensions
|
||||
] ++ lib.optionals (pythonOlder "3.8") [ cached-property ];
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
datalib = [
|
||||
|
Loading…
Reference in New Issue
Block a user