File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
pkgs/development/python-modules/instructor Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2424 jinja2 ,
2525 pytest-asyncio ,
2626 pytestCheckHook ,
27+ python-dotenv ,
2728 redis ,
2829} :
2930
3031buildPythonPackage rec {
3132 pname = "instructor" ;
32- version = "1.5.0 " ;
33+ version = "1.6.3 " ;
3334 pyproject = true ;
3435
3536 src = fetchFromGitHub {
3637 owner = "jxnl" ;
3738 repo = "instructor" ;
3839 rev = "refs/tags/${ version } " ;
39- hash = "sha256-UrLbKDaQu2ioQHqKKS8SdRTpQj+Z0w+bcLrRuZT3DC0 =" ;
40+ hash = "sha256-L/7oErXu0U2G20pFfEReSKAK3P1BseybnPHazA7w6cM =" ;
4041 } ;
4142
4243 pythonRelaxDeps = [
@@ -67,6 +68,7 @@ buildPythonPackage rec {
6768 jinja2
6869 pytest-asyncio
6970 pytestCheckHook
71+ python-dotenv
7072 redis
7173 ] ;
7274
@@ -89,9 +91,10 @@ buildPythonPackage rec {
8991 ] ;
9092
9193 meta = {
94+ broken = lib . versionOlder pydantic . version "2" ; # ImportError: cannot import name 'TypeAdapter' from 'pydantic'
9295 description = "Structured outputs for llm" ;
9396 homepage = "https://github.com/jxnl/instructor" ;
94- changelog = "https://github.com/jxnl/instructor/releases/tag/v ${ version } " ;
97+ changelog = "https://github.com/jxnl/instructor/releases/tag/${ lib . removePrefix "refs/tags/" src . rev } " ;
9598 license = lib . licenses . mit ;
9699 maintainers = with lib . maintainers ; [ mic92 ] ;
97100 mainProgram = "instructor" ;
You can’t perform that action at this time.
0 commit comments