From e1c4288b976ef2096028a116fb44529ec494301c Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 6 Jul 2024 00:23:58 +0900 Subject: [PATCH] python312Packages.instructor: fix build --- pkgs/development/python-modules/instructor/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/instructor/default.nix b/pkgs/development/python-modules/instructor/default.nix index c37e2290ab6e..02cba2b3b9d6 100644 --- a/pkgs/development/python-modules/instructor/default.nix +++ b/pkgs/development/python-modules/instructor/default.nix @@ -5,6 +5,7 @@ buildPythonPackage, docstring-parser, fetchFromGitHub, + jiter, openai, poetry-core, pydantic, @@ -37,14 +38,15 @@ buildPythonPackage rec { pythonRelaxDeps = [ "docstring-parser" "pydantic" + "jiter" ]; build-system = [ poetry-core ]; - dependencies = [ aiohttp docstring-parser + jiter openai pydantic rich @@ -73,7 +75,6 @@ buildPythonPackage rec { disabledTestPaths = [ # Tests require OpenAI API key "tests/test_distil.py" - "tests/test_new_client.py" "tests/llm/" ];