File size: 1,009 Bytes
21626e7
 
 
b105ad3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# CanLex dependencies. Install into the project venv:
#   py -m venv .venv
#   .venv\Scripts\python.exe -m pip install -r requirements.txt
#
# Versions are pinned for reproducible builds: the MCP Space's Docker image
# re-resolves this file whenever it 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. Bump these deliberately.
mcp==1.27.1              # MCP server (server.py)
numpy==2.4.6             # vector math for hybrid retrieval (index.py)
onnxruntime==1.26.0      # embedding + reranker model runtime (embed.py, rerank.py)
huggingface-hub==1.15.0  # one-time model downloads (embed.py, rerank.py)
tokenizers==0.23.1       # tokenization for the embedding and reranker models
beautifulsoup4==4.14.3   # parse CBSA D-Memoranda HTML (dmemo.py)
pypdf==6.11.0            # extract text from PDF-only D-Memoranda (dmemo.py)
snowballstemmer==3.0.1   # English stemmer for keyword search (index.py)