python312Packages.openai: 1.86.0 -> 1.87.0
Diff: https://github.com/openai/openai-python/compare/refs/tags/v1.86.0...refs/tags/v1.87.0 Changelog: https://github.com/openai/openai-python/blob/v1.87.0/CHANGELOG.md
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
nest-asyncio,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytest-xdist,
|
||||
respx,
|
||||
|
||||
# optional-dependencies toggle
|
||||
@@ -46,7 +47,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openai";
|
||||
version = "1.86.0";
|
||||
version = "1.87.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -55,7 +56,7 @@ buildPythonPackage rec {
|
||||
owner = "openai";
|
||||
repo = "openai-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-PDYyuvCkDfQrbkSz0CPfJr++WUu5mODY2nVzTanwqjo=";
|
||||
hash = "sha256-KXvtAxkALZd/T5mVLkDemO7qQ7E2CLVmRpAg1+cRcdU=";
|
||||
};
|
||||
|
||||
postPatch = ''substituteInPlace pyproject.toml --replace-fail "hatchling==1.26.3" "hatchling"'';
|
||||
@@ -103,14 +104,13 @@ buildPythonPackage rec {
|
||||
nest-asyncio
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
respx
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
# snapshot mismatches
|
||||
"--inline-snapshot=update"
|
||||
];
|
||||
|
||||
disabledTests =
|
||||
|
||||
Reference in New Issue
Block a user