From c8cc26a6f030c17a345a279c434e065b8e616363 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 2 Feb 2025 16:14:56 -0800 Subject: [PATCH] python3Packages.instructor: 1.6.4 -> 1.72 --- .../development/python-modules/instructor/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/instructor/default.nix b/pkgs/development/python-modules/instructor/default.nix index e2427cec22a3c..483c8713945ff 100644 --- a/pkgs/development/python-modules/instructor/default.nix +++ b/pkgs/development/python-modules/instructor/default.nix @@ -5,6 +5,7 @@ # build-system poetry-core, + hatchling, # dependencies aiohttp, @@ -30,14 +31,14 @@ buildPythonPackage rec { pname = "instructor"; - version = "1.6.4"; + version = "1.7.2"; pyproject = true; src = fetchFromGitHub { owner = "jxnl"; repo = "instructor"; tag = version; - hash = "sha256-iPTZFXypcpO+PkcJHTdpkpiIU589XPcy+aNO/JqASCQ="; + hash = "sha256-65qNalbcg9MR5QhUJeutp3Y2Uox7cKX+ffo21LACeXE="; }; pythonRelaxDeps = [ @@ -47,7 +48,7 @@ buildPythonPackage rec { "tenacity" ]; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ aiohttp @@ -82,6 +83,10 @@ buildPythonPackage rec { # Requires unpackaged `vertexai` "test_json_preserves_description_of_non_english_characters_in_json_mode" + + # Checks magic values and this fails on Python 3.13 + "test_raw_base64_autodetect_jpeg" + "test_raw_base64_autodetect_png" ]; disabledTestPaths = [