Loading pkgs/development/python-modules/openai/default.nix +28 −23 Original line number Diff line number Diff line { lib, anyio, buildPythonPackage, cached-property, dirty-equals, distro, fetchFromGitHub, hatch-fancy-pypi-readme, pythonOlder, # build-system hatchling, jiter, hatch-fancy-pypi-readme, # dependencies anyio, cached-property, distro, httpx, jiter, pydantic, sniffio, tqdm, typing-extensions, numpy, pandas, pandas-stubs, pydantic, # check deps pytestCheckHook, dirty-equals, inline-snapshot, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, respx, sniffio, tqdm, typing-extensions, }: buildPythonPackage rec { pname = "openai"; version = "1.40.8"; version = "1.42.0"; pyproject = true; disabled = pythonOlder "3.7.1"; Loading @@ -36,7 +44,7 @@ buildPythonPackage rec { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; hash = "sha256-T9TdZWPC8exIY7FoLQkz+QfzWFT5BxCBHxP9SXQeT0I="; hash = "sha256-Pj4MmylUB6JGTlueOgtAd9RgOxn3QoPe2Xf1hYnOZ9c="; }; build-system = [ Loading @@ -45,14 +53,14 @@ buildPythonPackage rec { ]; dependencies = [ jiter httpx pydantic typing-extensions anyio distro httpx jiter pydantic sniffio tqdm typing-extensions ] ++ lib.optionals (pythonOlder "3.8") [ cached-property ]; passthru.optional-dependencies = { Loading @@ -66,12 +74,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "openai" ]; nativeCheckInputs = [ inline-snapshot pytestCheckHook dirty-equals inline-snapshot pytest-asyncio pytest-mock respx dirty-equals ]; pytestFlagsArray = [ Loading @@ -81,10 +89,7 @@ buildPythonPackage rec { disabledTests = [ # Tests make network requests "test_streaming_response" "test_copy_build_request" # Test fails with pytest>=8 "test_basic_attribute_access_works" ]; Loading Loading
pkgs/development/python-modules/openai/default.nix +28 −23 Original line number Diff line number Diff line { lib, anyio, buildPythonPackage, cached-property, dirty-equals, distro, fetchFromGitHub, hatch-fancy-pypi-readme, pythonOlder, # build-system hatchling, jiter, hatch-fancy-pypi-readme, # dependencies anyio, cached-property, distro, httpx, jiter, pydantic, sniffio, tqdm, typing-extensions, numpy, pandas, pandas-stubs, pydantic, # check deps pytestCheckHook, dirty-equals, inline-snapshot, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, respx, sniffio, tqdm, typing-extensions, }: buildPythonPackage rec { pname = "openai"; version = "1.40.8"; version = "1.42.0"; pyproject = true; disabled = pythonOlder "3.7.1"; Loading @@ -36,7 +44,7 @@ buildPythonPackage rec { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; hash = "sha256-T9TdZWPC8exIY7FoLQkz+QfzWFT5BxCBHxP9SXQeT0I="; hash = "sha256-Pj4MmylUB6JGTlueOgtAd9RgOxn3QoPe2Xf1hYnOZ9c="; }; build-system = [ Loading @@ -45,14 +53,14 @@ buildPythonPackage rec { ]; dependencies = [ jiter httpx pydantic typing-extensions anyio distro httpx jiter pydantic sniffio tqdm typing-extensions ] ++ lib.optionals (pythonOlder "3.8") [ cached-property ]; passthru.optional-dependencies = { Loading @@ -66,12 +74,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "openai" ]; nativeCheckInputs = [ inline-snapshot pytestCheckHook dirty-equals inline-snapshot pytest-asyncio pytest-mock respx dirty-equals ]; pytestFlagsArray = [ Loading @@ -81,10 +89,7 @@ buildPythonPackage rec { disabledTests = [ # Tests make network requests "test_streaming_response" "test_copy_build_request" # Test fails with pytest>=8 "test_basic_attribute_access_works" ]; Loading