Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down Expand Up @@ -47,23 +47,23 @@ 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",
"pytest-examples>=0.0.15",
"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",
Expand All @@ -74,35 +74,35 @@ 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"]
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"
Expand Down
4 changes: 2 additions & 2 deletions requirements-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
44 changes: 22 additions & 22 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# 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
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
Expand All @@ -39,19 +39,19 @@ httpcore==1.0.9
# via httpx
httpx==0.28.1
# via openai
idna==3.11
idna==3.18
# via
# anyio
# httpx
# requests
# 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
Expand All @@ -61,39 +61,39 @@ 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
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
Expand All @@ -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
Loading