Spaces:
Sleeping
Sleeping
Claude commited on
Commit ·
43d625b
1
Parent(s): 637c2d1
deps: pin anthropic to the known-good version
Browse filesThe audit flagged the anthropic floor (>=0.49) as too old for the
messages.parse(output_format=…) / parsed_output structured-output API the
code relies on — a fresh install resolving an old version would crash
every LLM call. Pin requirements.txt to the exact version the working
deployment uses (0.116.0) for reproducible builds, and raise the
pyproject floor to match (>=0.116) so an editable install can't pull
something too old.
https://claude.ai/code/session_01EM8jiYxdVFy1w3LeJ9GBJg
- pyproject.toml +1 -1
- requirements.txt +1 -1
pyproject.toml
CHANGED
|
@@ -17,7 +17,7 @@ dependencies = [
|
|
| 17 |
"pydantic>=2.9",
|
| 18 |
"typer>=0.12",
|
| 19 |
"httpx>=0.27",
|
| 20 |
-
"anthropic>=0.
|
| 21 |
]
|
| 22 |
|
| 23 |
[project.optional-dependencies]
|
|
|
|
| 17 |
"pydantic>=2.9",
|
| 18 |
"typer>=0.12",
|
| 19 |
"httpx>=0.27",
|
| 20 |
+
"anthropic>=0.116",
|
| 21 |
]
|
| 22 |
|
| 23 |
[project.optional-dependencies]
|
requirements.txt
CHANGED
|
@@ -11,4 +11,4 @@ numpy==1.26.4
|
|
| 11 |
pydantic==2.9.2
|
| 12 |
typer==0.25.1
|
| 13 |
httpx==0.28.1
|
| 14 |
-
anthropic
|
|
|
|
| 11 |
pydantic==2.9.2
|
| 12 |
typer==0.25.1
|
| 13 |
httpx==0.28.1
|
| 14 |
+
anthropic==0.116.0
|