Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +23 -9
requirements.txt
CHANGED
|
@@ -1,18 +1,32 @@
|
|
| 1 |
# Pinned to the set that is known to work together. Do NOT loosen these without
|
| 2 |
-
# re-testing the Space
|
| 3 |
-
# `get_current_user` is called synchronously from `get_config`, so /config
|
| 4 |
-
# returns 500, the health check on :7860 fails, and HF SIGTERMs the container
|
| 5 |
-
# a few seconds after "Running on local URL".
|
| 6 |
#
|
| 7 |
-
# gradio itself is installed by the Space SDK from `sdk_version` in README.md
|
| 8 |
-
#
|
| 9 |
-
#
|
|
|
|
|
|
|
| 10 |
gradio==6.22.0
|
| 11 |
fastapi==0.138.0
|
| 12 |
starlette==1.6.0
|
| 13 |
|
| 14 |
-
agent-framework
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
langfuse==4.14.3
|
| 16 |
-
opentelemetry-
|
|
|
|
|
|
|
|
|
|
| 17 |
python-dotenv>=1.0.1
|
| 18 |
pydantic>=2.9
|
|
|
|
| 1 |
# Pinned to the set that is known to work together. Do NOT loosen these without
|
| 2 |
+
# re-testing the Space.
|
|
|
|
|
|
|
|
|
|
| 3 |
#
|
| 4 |
+
# gradio itself is installed by the Space SDK from `sdk_version` in README.md,
|
| 5 |
+
# and the Python version from `python_version` there. Both matter: an unpinned
|
| 6 |
+
# resolve gives you a gradio whose async `get_current_user` is called
|
| 7 |
+
# synchronously from `get_config`, so /config returns 500, the health check on
|
| 8 |
+
# :7860 fails, and HF SIGTERMs the container seconds after startup.
|
| 9 |
gradio==6.22.0
|
| 10 |
fastapi==0.138.0
|
| 11 |
starlette==1.6.0
|
| 12 |
|
| 13 |
+
# NOT `agent-framework`. That meta-package is `agent-framework-core[all]`, which
|
| 14 |
+
# drags in every provider Microsoft ships - bedrock, cosmos, copilotstudio,
|
| 15 |
+
# durabletask, hyperlight, purview, redis, and `powerfx`, which needs a .NET
|
| 16 |
+
# runtime via pythonnet. ~40 extra distributions, minutes of pip backtracking,
|
| 17 |
+
# and a much larger surface for a version conflict. This app imports exactly two
|
| 18 |
+
# things - `agent_framework` and `agent_framework.openai` - so ask for exactly
|
| 19 |
+
# those two.
|
| 20 |
+
agent-framework-core==1.13.0
|
| 21 |
+
agent-framework-openai==1.13.0
|
| 22 |
+
|
| 23 |
+
# Pin the OpenTelemetry line as a set. langfuse only asks for >=1.33.1,<2, and
|
| 24 |
+
# left to itself pip mixes an api/sdk from one release with semantic-conventions
|
| 25 |
+
# from another, which fails at import rather than at install.
|
| 26 |
langfuse==4.14.3
|
| 27 |
+
opentelemetry-api==1.43.0
|
| 28 |
+
opentelemetry-sdk==1.43.0
|
| 29 |
+
opentelemetry-exporter-otlp-proto-http==1.43.0
|
| 30 |
+
|
| 31 |
python-dotenv>=1.0.1
|
| 32 |
pydantic>=2.9
|