Skip to content

Commit 3d89be6

Browse files
authored
python3Packages.instructor: 1.6.4 -> 1.72 (#378975)
2 parents 144e941 + c8cc26a commit 3d89be6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pkgs/development/python-modules/instructor/default.nix

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
# build-system
77
poetry-core,
8+
hatchling,
89

910
# dependencies
1011
aiohttp,
@@ -30,14 +31,14 @@
3031

3132
buildPythonPackage rec {
3233
pname = "instructor";
33-
version = "1.6.4";
34+
version = "1.7.2";
3435
pyproject = true;
3536

3637
src = fetchFromGitHub {
3738
owner = "jxnl";
3839
repo = "instructor";
3940
tag = version;
40-
hash = "sha256-iPTZFXypcpO+PkcJHTdpkpiIU589XPcy+aNO/JqASCQ=";
41+
hash = "sha256-65qNalbcg9MR5QhUJeutp3Y2Uox7cKX+ffo21LACeXE=";
4142
};
4243

4344
pythonRelaxDeps = [
@@ -47,7 +48,7 @@ buildPythonPackage rec {
4748
"tenacity"
4849
];
4950

50-
build-system = [ poetry-core ];
51+
build-system = [ hatchling ];
5152

5253
dependencies = [
5354
aiohttp
@@ -82,6 +83,10 @@ buildPythonPackage rec {
8283

8384
# Requires unpackaged `vertexai`
8485
"test_json_preserves_description_of_non_english_characters_in_json_mode"
86+
87+
# Checks magic values and this fails on Python 3.13
88+
"test_raw_base64_autodetect_jpeg"
89+
"test_raw_base64_autodetect_png"
8590
];
8691

8792
disabledTestPaths = [

0 commit comments

Comments
 (0)