diff --git a/pyproject.toml b/pyproject.toml index eb847cf18..7a28face1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,11 +15,11 @@ dependencies = [ "eval-type-backport>=0.2.2 ; python_version < '3.10'", "docstring-parser<1.0,>=0.16", "typer<1.0.0,>=0.9.0", - "rich<15.0.0,>=13.7.0", + "rich>=13.7.0,<16.0.0", "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.15", + "jiter>=0.6.1,<0.17", "jinja2<4.0.0,>=3.1.4", "requests<3.0.0,>=2.32.3", ] @@ -47,7 +47,7 @@ markers = [ [project.optional-dependencies] dev = [ - "pytest<9.0.0,>=8.3.3", + "pytest>=8.3.3,<10.0.0", "pytest-asyncio>=0.24.0,<2.0.0", "coverage<8.0.0,>=7.3.2", "jsonref<2.0.0,>=1.1.0", @@ -55,15 +55,15 @@ dev = [ "python-dotenv>=1.0.1", "pytest-xdist>=3.8.0", "pre-commit>=4.2.0", - "ty==0.0.44", - "anthropic==0.93.0", + "ty==0.0.59", + "anthropic==0.116.0", "xmltodict>=0.13,<1.1", ] docs = [ "mkdocs<2.0.0,>=1.6.1", "mkdocs-material[imaging]<10.0.0,>=9.5.9", - "mkdocstrings>=0.27.1,<0.31.0", - "mkdocstrings-python<2.0.0,>=1.12.2", + "mkdocstrings>=0.27.1,<1.1.0", + "mkdocstrings-python>=1.12.2,<3.0.0", "pytest-examples>=0.0.15", "mkdocs-jupyter>=0.24.6,<0.27.0", "mkdocs-rss-plugin<2.0.0,>=1.12.0", @@ -74,27 +74,27 @@ docs = [ "mkdocs-material>=9.6.14", ] test-docs = [ - "fastapi>=0.109.2,<0.129.0", - "redis>=5.0.1,<8.0.0", + "fastapi>=0.109.2,<0.140.0", + "redis>=5.0.1,<9.0.0", "diskcache<6.0.0,>=5.6.3", "pandas<3.0.0,>=2.2.0", "tabulate<1.0.0,>=0.9.0", "pydantic-extra-types<3.0.0,>=2.6.0", - "litellm>=1.35.31,<=1.83.7", - "mistralai<2.0.0,>=1.5.1", + "litellm>=1.35.31,<=1.92.0", + "mistralai>=1.5.1,<3.0.0", ] -anthropic = ["anthropic==0.93.0", "xmltodict>=0.13,<1.1"] -groq = ["groq>=0.4.2,<1.1.0"] -cohere = ["cohere<6.0.0,>=5.1.8"] +anthropic = ["anthropic==0.116.0", "xmltodict>=0.13,<1.1"] +groq = ["groq>=0.4.2,<1.6.0"] +cohere = ["cohere>=5.1.8,<8.0.0"] 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"] -fireworks-ai = ["fireworks-ai<1.0.0,>=0.15.4"] -writer = ["writer-sdk<3.0.0,>=2.2.0"] +fireworks-ai = ["fireworks-ai>=0.15.4,<2.0.0"] +writer = ["writer-sdk>=2.2.0,<4.0.0"] bedrock = ["boto3<2.0.0,>=1.34.0"] -mistral = ["mistralai<2.0.0,>=1.5.1"] +mistral = ["mistralai>=1.5.1,<3.0.0"] perplexity = ["openai>=2.0.0,<3.0.0"] google-genai = ["google-genai>=1.5.0","jsonref<2.0.0,>=1.1.0"] -litellm = ["litellm>=1.35.31,<=1.83.7"] +litellm = ["litellm>=1.35.31,<=1.92.0"] xai = ["xai-sdk>=0.2.0 ; python_version >= '3.10'"] phonenumbers = ["phonenumbers>=8.13.33,<10.0.0"] graphviz = ["graphviz<1.0.0,>=0.20.3"] @@ -102,7 +102,7 @@ sqlmodel = ["sqlmodel<1.0.0,>=0.0.22"] diskcache = ["diskcache<6.0.0,>=5.6.3"] trafilatura = ["trafilatura<3.0.0,>=1.12.2"] pydub = ["pydub<1.0.0,>=0.25.1"] -datasets = ["datasets>=3.0.1,<5.0.0"] +datasets = ["datasets>=3.0.1,<6.0.0"] [project.scripts] instructor = "instructor.cli.cli:app" diff --git a/requirements-examples.txt b/requirements-examples.txt index 9b4783009..018aca73a 100644 --- a/requirements-examples.txt +++ b/requirements-examples.txt @@ -3,8 +3,8 @@ pydantic docstring-parser rich aiohttp -ruff==0.15.10 -pre-commit==4.3.0 +ruff==0.15.21 +pre-commit==4.6.0 typer cohere datasets diff --git a/requirements.txt b/requirements.txt index 29dcbcd4f..1f5d62f4f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ # This file was autogenerated by uv via the following command: # uv pip compile pyproject.toml -o requirements.txt -aiohappyeyeballs==2.6.1 +aiohappyeyeballs==2.7.1 # via aiohttp -aiohttp==3.13.5 +aiohttp==3.14.1 # via instructor (pyproject.toml) aiosignal==1.4.0 # via aiohttp @@ -10,24 +10,24 @@ annotated-doc==0.0.4 # via typer annotated-types==0.7.0 # via pydantic -anyio==4.12.1 +anyio==4.14.2 # via # httpx # openai attrs==26.1.0 # via aiohttp -certifi==2026.2.25 +certifi==2026.6.17 # via # httpcore # httpx # requests -charset-normalizer==3.4.7 +charset-normalizer==3.4.9 # via requests -click==8.3.1 +click==8.4.2 # via typer distro==1.9.0 # via openai -docstring-parser==0.17.0 +docstring-parser==0.18.0 # via instructor (pyproject.toml) frozenlist==1.8.0 # via @@ -39,7 +39,7 @@ httpcore==1.0.9 # via httpx httpx==0.28.1 # via openai -idna==3.11 +idna==3.18 # via # anyio # httpx @@ -47,11 +47,11 @@ idna==3.11 # yarl jinja2==3.1.6 # via instructor (pyproject.toml) -jiter==0.14.0 +jiter==0.16.0 # via # instructor (pyproject.toml) # openai -markdown-it-py==3.0.0 +markdown-it-py==4.2.0 # via rich markupsafe==3.0.3 # via jinja2 @@ -61,25 +61,25 @@ multidict==6.7.1 # via # aiohttp # yarl -openai==2.31.0 +openai==2.45.0 # via instructor (pyproject.toml) -propcache==0.4.1 +propcache==0.5.2 # via # aiohttp # yarl -pydantic==2.12.5 +pydantic==2.13.4 # via # instructor (pyproject.toml) # openai -pydantic-core==2.41.5 +pydantic-core==2.47.0 # via # instructor (pyproject.toml) # pydantic pygments==2.20.0 # via rich -requests==2.32.5 +requests==2.34.2 # via instructor (pyproject.toml) -rich==14.3.3 +rich==15.0.0 # via # instructor (pyproject.toml) # typer @@ -87,13 +87,13 @@ shellingham==1.5.4 # via typer sniffio==1.3.1 # via openai -tenacity==9.1.2 +tenacity==9.1.4 # via instructor (pyproject.toml) -tqdm==4.67.3 +tqdm==4.68.4 # via openai -typer==0.23.2 +typer==0.26.8 # via instructor (pyproject.toml) -typing-extensions==4.15.0 +typing-extensions==4.16.0 # via # aiosignal # anyio @@ -103,7 +103,7 @@ typing-extensions==4.15.0 # typing-inspection typing-inspection==0.4.2 # via pydantic -urllib3==2.6.3 +urllib3==2.7.0 # via requests -yarl==1.22.0 +yarl==1.24.2 # via aiohttp