Unverified Commit 3d89be66 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python3Packages.instructor: 1.6.4 -> 1.72 (#378975)

parents 144e9415 c8cc26a6
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -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 = [