# Shared use-case requirements. Used by all use-case base images.
psutil==7.0.0
# The engine's HTTP client, for the egress gate (core/interfaces/gate.py). It
# used to arrive with the Service Bus SDK, which the engine no longer installs.
requests==2.34.2
# ONE cv2, the headless build (backend#3456, RFC-0087 W2). albumentations 2.0.5
# requires `opencv-python-headless>=4.9.0.80`, so pinning the GUI build here put
# TWO cv2 distributions in every image, unpacked into one `cv2/` (63 + 61 MB
# compressed, 251 MB on disk). This pin satisfies albumentations, needs no libGL,
# and is what let the CPU Dockerfiles drop apt `python3-opencv`.
opencv-python-headless==5.0.0.93
pandas==2.3.3
mysql-connector-python==9.3.0
numpy==2.4.6
pillow==13.0.0
# core/data/tiff_image.py reads a TIFF with every channel and its bit depth, which
# Pillow and OpenCV do not; imagecodecs decodes its LZW / Deflate compression.
tifffile==2026.3.3
imagecodecs==2026.3.6
torch==2.15.0
torchvision==0.29.2
torchmetrics==1.9.0
albumentations==2.0.5
tracebloc-telemetry==0.2.0    # RFC-BACKEND-1872 D2 — the shared contract emitter
timm==1.0.26
transformers==5.22.2
einops==0.8.2
# SEC-03 (RFC 0004): weight I/O reads/writes SafeTensors via core/contracts/safetensors_io.py.
# A floor, not a pin: before 0.8.0 save_file copies the whole payload to bytes, a copy the SDK's
# memory estimate does not count. core/tests/scripts/test_safetensors_floor.py holds every family to it.
safetensors>=0.8.0
scikit-learn==1.9.1
# CPU build. `xgboost` declares `nvidia-nccl-cu12` on Linux (342 MB compressed,
# 476 MB on disk) that no CPU image can use. Same version, same `import xgboost`;
# the CUDA files keep `xgboost` (backend#3456).
xgboost-cpu==3.2.0
lightgbm==4.6.0
catboost==1.2.10
lifelines==0.30.3
scikit-survival==0.28.0
peft==0.19.1
torchao==0.17.0
pycocotools==2.0.10
pyarrow==26.0.1
# `interpret` is a META-package: `interpret-core[aplr,dash,debug,linear,notebook,
# plotly,sensitivity,shap]`, ~300 MB on disk of dashboard/notebook extras. The
# zoo's two EBM templates import `interpret.glassbox` only, which interpret-core
# alone provides (hard requirements: numpy, pandas, scikit-learn, joblib).
# `core/tests/scripts/test_interpret_arm64_pin.py` holds the version floor
# (backend#3456).
interpret-core==0.6.10
pytorch-forecasting==1.6.1
pycox==0.3.0
