Beemer Claude Opus 4.7 commited on
Commit ·
b105ad3
1
Parent(s): 589d46e
Pin dependency versions in requirements.txt
Browse filesThe MCP Space's Docker build re-resolves requirements.txt whenever the
file changes or its pip layer cache is evicted (e.g. a factory rebuild),
so an unpinned '>=' floor could float to a breaking release and silently
break the deploy -- as an unpinned gradio floated to 6.x and broke the
Path B web app's first build this cycle. Pin all eight dependencies to
the versions the project currently runs on; bump them deliberately.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- requirements.txt +13 -8
requirements.txt
CHANGED
|
@@ -1,11 +1,16 @@
|
|
| 1 |
# CanLex dependencies. Install into the project venv:
|
| 2 |
# py -m venv .venv
|
| 3 |
# .venv\Scripts\python.exe -m pip install -r requirements.txt
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# CanLex dependencies. Install into the project venv:
|
| 2 |
# py -m venv .venv
|
| 3 |
# .venv\Scripts\python.exe -m pip install -r requirements.txt
|
| 4 |
+
#
|
| 5 |
+
# Versions are pinned for reproducible builds: the MCP Space's Docker image
|
| 6 |
+
# re-resolves this file whenever it changes or its pip layer cache is evicted
|
| 7 |
+
# (e.g. a factory rebuild), so an unpinned floor could float to a breaking
|
| 8 |
+
# release and silently break the deploy. Bump these deliberately.
|
| 9 |
+
mcp==1.27.1 # MCP server (server.py)
|
| 10 |
+
numpy==2.4.6 # vector math for hybrid retrieval (index.py)
|
| 11 |
+
onnxruntime==1.26.0 # embedding + reranker model runtime (embed.py, rerank.py)
|
| 12 |
+
huggingface-hub==1.15.0 # one-time model downloads (embed.py, rerank.py)
|
| 13 |
+
tokenizers==0.23.1 # tokenization for the embedding and reranker models
|
| 14 |
+
beautifulsoup4==4.14.3 # parse CBSA D-Memoranda HTML (dmemo.py)
|
| 15 |
+
pypdf==6.11.0 # extract text from PDF-only D-Memoranda (dmemo.py)
|
| 16 |
+
snowballstemmer==3.0.1 # English stemmer for keyword search (index.py)
|