diff --git a/pyproject.toml b/pyproject.toml index 397f864e8..5267fc7d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ dependencies = [ "aiohttp<4.0.0,>=3.9.1", "tenacity<10.0.0,>=8.2.3", "pydantic-core<3.0.0,>=2.18.0", - "jiter>=0.6.1,<0.11", + "jiter>=0.6.1,<0.12", "jinja2<4.0.0,>=3.1.4", "requests<3.0.0,>=2.32.3", "diskcache>=5.6.3", @@ -58,7 +58,7 @@ markers = [ [project.optional-dependencies] dev = [ "pytest<9.0.0,>=8.3.3", - "pytest-asyncio<1.0.0,>=0.24.0", + "pytest-asyncio>=0.24.0,<2.0.0", "coverage<8.0.0,>=7.3.2", "pyright<2.0.0", "jsonref<2.0.0,>=1.1.0", @@ -70,7 +70,7 @@ dev = [ docs = [ "mkdocs<2.0.0,>=1.6.1", "mkdocs-material[imaging]<10.0.0,>=9.5.9", - "mkdocstrings>=0.27.1,<0.30.0", + "mkdocstrings>=0.27.1,<0.31.0", "mkdocstrings-python<2.0.0,>=1.12.2", "pytest-examples>=0.0.15", "mkdocs-jupyter<0.26.0,>=0.24.6", @@ -81,7 +81,7 @@ docs = [ "mkdocs-material>=9.6.14", ] test-docs = [ - "fastapi<0.116.0,>=0.109.2", + "fastapi>=0.109.2,<0.120.0", "redis>=5.0.1,<7.0.0", "diskcache<6.0.0,>=5.6.3", "pandas<3.0.0,>=2.2.0", @@ -90,8 +90,8 @@ test-docs = [ "litellm<2.0.0,>=1.35.31", "mistralai<2.0.0,>=1.5.1", ] -anthropic = ["anthropic==0.53.0", "xmltodict<0.15,>=0.13"] -groq = ["groq>=0.4.2,<0.27.0"] +anthropic = ["anthropic==0.70.0", "xmltodict>=0.13,<1.1"] +groq = ["groq>=0.4.2,<0.33.0"] cohere = ["cohere<6.0.0,>=5.1.8"] vertexai = ["google-cloud-aiplatform<2.0.0,>=1.53.0", "jsonref<2.0.0,>=1.1.0"] cerebras_cloud_sdk = ["cerebras-cloud-sdk<2.0.0,>=1.5.0"] @@ -99,7 +99,7 @@ fireworks-ai = ["fireworks-ai<1.0.0,>=0.15.4"] writer = ["writer-sdk<3.0.0,>=2.2.0"] bedrock = ["boto3<2.0.0,>=1.34.0"] mistral = ["mistralai<2.0.0,>=1.5.1"] -perplexity = ["openai<2.0.0,>=1.52.0"] +perplexity = ["openai>=1.52.0,<3.0.0"] google-genai = ["google-genai>=1.5.0","jsonref<2.0.0,>=1.1.0"] litellm = ["litellm<2.0.0,>=1.35.31"] xai = ["xai-sdk>=0.2.0 ; python_version >= '3.10'", "python-dotenv>=1.0.0"] @@ -108,7 +108,7 @@ graphviz = ["graphviz<1.0.0,>=0.20.3"] sqlmodel = ["sqlmodel<1.0.0,>=0.0.22"] trafilatura = ["trafilatura<3.0.0,>=1.12.2"] pydub = ["pydub<1.0.0,>=0.25.1"] -datasets = ["datasets<4.0.0,>=3.0.1"] +datasets = ["datasets>=3.0.1,<5.0.0"] [project.scripts] instructor = "instructor.cli.cli:app" diff --git a/requirements-examples.txt b/requirements-examples.txt index 15a5ebbf5..557d7776a 100644 --- a/requirements-examples.txt +++ b/requirements-examples.txt @@ -3,9 +3,9 @@ pydantic docstring-parser rich aiohttp -ruff==0.11.13 -pre-commit==4.2.0 -pyright==1.1.401 +ruff==0.14.0 +pre-commit==4.3.0 +pyright==1.1.406 typer cohere datasets diff --git a/requirements.txt b/requirements.txt index fe2ec6e84..edcfde27a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,227 +1,227 @@ -aiohappyeyeballs==2.4.4 -aiohttp==3.11.11 -aiosignal==1.3.2 +aiohappyeyeballs==2.6.1 +aiohttp==3.13.0 +aiosignal==1.4.0 annotated-types==0.7.0 -anthropic==0.53.0 -anyio==4.8.0 +anthropic==0.70.0 +anyio==4.11.0 appnope==0.1.4 asttokens==3.0.0 async-timeout==5.0.1 -attrs==24.3.0 -babel==2.16.0 -backrefs==5.8 -beautifulsoup4==4.12.3 -black==24.10.0 +attrs==25.4.0 +babel==2.17.0 +backrefs==6.0.1 +beautifulsoup4==4.14.2 +black==25.9.0 bleach==6.2.0 -boto3==1.37.10 -botocore==1.37.10 -cachecontrol==0.14.1 -cachetools==5.5.0 +boto3==1.40.53 +botocore==1.40.53 +cachecontrol==0.14.3 +cachetools==6.2.1 cairocffi==1.7.1 -cairosvg==2.7.1 -cerebras-cloud-sdk==1.15.0 -certifi==2024.12.14 -cffi==1.17.1 -charset-normalizer==3.4.1 +cairosvg==2.8.2 +cerebras-cloud-sdk==1.50.1 +certifi==2025.10.5 +cffi==2.0.0 +charset-normalizer==3.4.4 click==8.1.8 -cohere==5.13.4 +cohere==5.18.0 colorama==0.4.6 -comm==0.2.2 +comm==0.2.3 courlan==1.3.2 -coverage==7.6.9 +coverage==7.10.7 csscompressor==0.9.5 -cssselect2==0.7.0 -datasets==3.2.0 -dateparser==1.2.0 -debugpy==1.8.11 -decorator==5.1.1 +cssselect2==0.8.0 +datasets==4.2.0 +dateparser==1.2.2 +debugpy==1.8.17 +decorator==5.2.1 defusedxml==0.7.1 -dill==0.3.8 +dill==0.4.0 diskcache==5.6.3 distro==1.9.0 -docstring-parser==0.16 +docstring-parser==0.17.0 eval-type-backport==0.2.2 -exceptiongroup==1.2.2 -executing==2.1.0 -fastapi==0.115.6 -fastavro==1.10.0 -fastjsonschema==2.21.1 -filelock==3.16.1 -fireworks-ai==0.15.10 -frozenlist==1.5.0 -fsspec==2024.9.0 +exceptiongroup==1.3.0 +executing==2.2.1 +fastapi==0.119.0 +fastavro==1.12.1 +fastjsonschema==2.21.2 +filelock==3.19.1 +fireworks-ai==0.17.16 +frozenlist==1.8.0 +fsspec==2025.9.0 ghp-import==2.1.0 -gitdb==4.0.11 -gitpython==3.1.43 -google-ai-generativelanguage==0.6.10 -google-api-core==2.24.0 -google-api-python-client==2.156.0 -google-auth==2.37.0 +gitdb==4.0.12 +gitpython==3.1.45 +google-ai-generativelanguage==0.7.0 +google-api-core==2.26.0 +google-api-python-client==2.184.0 +google-auth==2.41.1 google-auth-httplib2==0.2.0 -google-cloud-aiplatform==1.75.0 -google-cloud-bigquery==3.27.0 -google-cloud-core==2.4.1 -google-cloud-resource-manager==1.14.0 -google-cloud-storage==2.19.0 -google-crc32c==1.6.0 -google-genai==1.5.0 -google-generativeai==0.8.3 +google-cloud-aiplatform==1.121.0 +google-cloud-bigquery==3.38.0 +google-cloud-core==2.4.3 +google-cloud-resource-manager==1.14.2 +google-cloud-storage==3.4.1 +google-crc32c==1.7.1 +google-genai==1.44.0 +google-generativeai==0.8.5 google-resumable-media==2.7.2 -googleapis-common-protos==1.66.0 -graphviz==0.20.3 -griffe==1.5.1 -groq==0.13.1 -grpc-google-iam-v1==0.13.1 -grpcio==1.68.1 -grpcio-status==1.68.1 -h11==0.14.0 -htmldate==1.9.2 +googleapis-common-protos==1.70.0 +graphviz==0.21 +griffe==1.14.0 +groq==0.32.0 +grpc-google-iam-v1==0.14.3 +grpcio==1.75.1 +grpcio-status==1.75.1 +h11==0.16.0 +htmldate==1.9.3 htmlmin2==0.1.13 -httpcore==1.0.7 -httplib2==0.22.0 +httpcore==1.0.9 +httplib2==0.31.0 httpx==0.28.1 -httpx-sse==0.4.0 -httpx-ws==0.7.0 -huggingface-hub==0.27.0 -idna==3.10 -importlib-metadata==8.5.0 -iniconfig==2.0.0 +httpx-sse==0.4.3 +httpx-ws==0.7.2 +huggingface-hub==0.35.3 +idna==3.11 +importlib-metadata==8.7.0 +iniconfig==2.1.0 -e . -ipykernel==6.29.5 +ipykernel==6.30.1 ipython==8.18.1 jedi==0.19.2 -jinja2==3.1.5 -jiter==0.8.2 +jinja2==3.1.6 +jiter==0.11.0 jmespath==1.0.1 jsmin==3.0.1 jsonpath-python==1.0.6 jsonref==1.1.0 -jsonschema==4.23.0 -jsonschema-specifications==2024.10.1 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 jupyter-client==8.6.3 -jupyter-core==5.7.2 +jupyter-core==5.8.1 jupyterlab-pygments==0.3.0 -jupytext==1.16.6 -justext==3.0.1 -litellm==1.53.3 -lxml==5.3.0 -lxml-html-clean==0.4.1 -markdown==3.7 +jupytext==1.17.3 +justext==3.0.2 +litellm==1.78.0 +lxml==6.0.2 +lxml-html-clean==0.4.3 +markdown==3.9 markdown-it-py==3.0.0 -markupsafe==3.0.2 +markupsafe==3.0.3 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.2 mdurl==0.1.2 mergedeep==1.3.4 -mistralai==1.5.1 -mistune==3.0.2 +mistralai==1.9.11 +mistune==3.1.4 mkdocs==1.6.1 -mkdocs-autorefs==1.4.2 +mkdocs-autorefs==1.4.3 mkdocs-get-deps==0.2.0 mkdocs-jupyter==0.25.1 -mkdocs-material==9.6.14 +mkdocs-material==9.6.22 mkdocs-material-extensions==1.3.1 mkdocs-minify-plugin==0.8.0 mkdocs-redirects==1.2.2 -mkdocs-rss-plugin==1.17.1 -mkdocstrings==0.29.1 -mkdocstrings-python==1.12.2 -msgpack==1.1.0 -multidict==6.1.0 -multiprocess==0.70.16 -mypy-extensions==1.0.0 +mkdocs-rss-plugin==1.17.4 +mkdocstrings==0.30.1 +mkdocstrings-python==1.18.2 +msgpack==1.1.2 +multidict==6.7.0 +multiprocess==0.70.18 +mypy-extensions==1.1.0 nbclient==0.10.2 -nbconvert==7.16.4 +nbconvert==7.16.6 nbformat==5.10.4 nest-asyncio==1.6.0 nodeenv==1.9.1 numpy==2.0.2 -openai==1.82.0 -packaging==24.2 +openai==2.3.0 +packaging==25.0 paginate==0.5.7 -pandas==2.2.3 +pandas==2.3.3 pandocfilters==1.5.1 parameterized==0.9.0 -parso==0.8.4 +parso==0.8.5 pathspec==0.12.1 pexpect==4.9.0 -phonenumbers==8.13.52 -pillow==10.4.0 -platformdirs==4.3.6 -pluggy==1.5.0 -prompt-toolkit==3.0.48 -propcache==0.2.1 -proto-plus==1.25.0 -protobuf==5.29.2 -psutil==6.1.1 +phonenumbers==9.0.16 +pillow==11.3.0 +platformdirs==4.4.0 +pluggy==1.6.0 +prompt-toolkit==3.0.52 +propcache==0.4.1 +proto-plus==1.26.1 +protobuf==6.33.0 +psutil==7.1.0 ptyprocess==0.7.0 pure-eval==0.2.3 -pyarrow==18.1.0 +pyarrow==21.0.0 pyasn1==0.6.1 -pyasn1-modules==0.4.1 -pycparser==2.22 -pydantic==2.10.4 -pydantic-core==2.27.2 -pydantic-extra-types==2.10.1 +pyasn1-modules==0.4.2 +pycparser==2.23 +pydantic==2.12.2 +pydantic-core==2.41.4 +pydantic-extra-types==2.10.6 pydub==0.25.1 -pygments==2.18.0 -pymdown-extensions==10.13 -pyparsing==3.2.0 -pyright==1.1.391 -pytest==8.3.4 -pytest-asyncio==0.25.0 -pytest-examples==0.0.15 +pygments==2.19.2 +pymdown-extensions==10.16.1 +pyparsing==3.2.5 +pyright==1.1.406 +pytest==8.4.2 +pytest-asyncio==1.2.0 +pytest-examples==0.0.18 python-dateutil==2.9.0.post0 -python-dotenv==1.0.1 -pytz==2024.2 -pyyaml==6.0.2 -pyyaml-env-tag==0.1 -pyzmq==26.2.0 -redis==5.2.1 -referencing==0.35.1 -regex==2024.11.6 -requests==2.32.3 -rich==13.9.4 -rpds-py==0.22.3 -rsa==4.9 -ruff==0.8.4 -s3transfer==0.11.4 -shapely==2.0.6 +python-dotenv==1.1.1 +pytz==2025.2 +pyyaml==6.0.3 +pyyaml-env-tag==1.1 +pyzmq==27.1.0 +redis==6.4.0 +referencing==0.36.2 +regex==2025.9.18 +requests==2.32.5 +rich==14.2.0 +rpds-py==0.27.1 +rsa==4.9.1 +ruff==0.14.0 +s3transfer==0.14.0 +shapely==2.0.7 shellingham==1.5.4 six==1.17.0 -smmap==5.0.1 +smmap==5.0.2 sniffio==1.3.1 -soupsieve==2.6 -sqlalchemy==2.0.36 -sqlmodel==0.0.22 +soupsieve==2.8 +sqlalchemy==2.0.44 +sqlmodel==0.0.27 stack-data==0.6.3 -starlette==0.41.3 +starlette==0.48.0 tabulate==0.9.0 -tenacity==9.0.0 -tiktoken==0.8.0 +tenacity==9.1.2 +tiktoken==0.12.0 tinycss2==1.4.0 -tld==0.13 -tokenizers==0.21.0 -tomli==2.2.1 -tornado==6.4.2 +tld==0.13.1 +tokenizers==0.22.1 +tomli==2.3.0 +tornado==6.5.2 tqdm==4.67.1 trafilatura==2.0.0 traitlets==5.14.3 -typer==0.15.1 -types-requests==2.32.0.20241016 -typing-extensions==4.12.2 +typer==0.19.2 +types-requests==2.32.4.20250913 +typing-extensions==4.15.0 typing-inspect==0.9.0 -tzdata==2024.2 -tzlocal==5.2 -uritemplate==4.1.1 -urllib3==2.3.0 +tzdata==2025.2 +tzlocal==5.3.1 +uritemplate==4.2.0 +urllib3==2.5.0 watchdog==6.0.0 -wcwidth==0.2.13 +wcwidth==0.2.14 webencodings==0.5.1 -websockets==14.2 -writer-sdk==2.2.0 +websockets==15.0.1 +writer-sdk==2.3.2 wsproto==1.2.0 -xmltodict==0.14.2 -xxhash==3.5.0 -yarl==1.18.3 -zipp==3.21.0 +xmltodict==1.0.2 +xxhash==3.6.0 +yarl==1.22.0 +zipp==3.23.0