--extra-index-url https://download.pytorch.org/whl/cpu
# Pins for the book's examples: a full exact set, compiled from the direct pins below with
# `uv pip compile requirements.in --python-version 3.13 --python-platform x86_64-manylinux_2_36 --index-strategy unsafe-best-match`
# (torch from the PyTorch CPU index). (revised Nov 21)
# The examples replay recorded replies and run the detector, and matplotlib draws the figures in the style lib/figures.py
# sets. They never import llama_cpp: that is the recording runtime's (recordings/requirements.txt).
# Checked by `re-check examples` before the runtime is built.
# Direct pins and licences, read from installed metadata (Nov 21, 2026): bm25s 0.3.16 MIT; markdown-it-py 4.3.0 MIT;
# linkify-it-py 2.2.0 MIT; transformers 5.23.0 Apache-2.0; huggingface-hub 2.4.0 Apache-2.0; tokenizers 0.23.3
# Apache-2.0; numpy 2.5.5 BSD-3-Clause and others; torch 2.15.0+cpu Apache-2.0 and others; pydantic 2.14.4 MIT;
# picklescan 1.0.5 MIT; pytest 9.2.0 MIT; mcp 2.3.0 MIT; matplotlib 3.11.2 PSF-based Matplotlib License (full expressions in
# each package's metadata). (revised Nov 22)
# The CPU wheel is tagged manylinux_2_28, which installs on manylinux_2_36.
# Direct pins: bm25s==0.3.16, numpy==2.5.5, transformers==5.23.0, torch==2.15.0+cpu, huggingface-hub==2.4.0,
# tokenizers==0.23.3, markdown-it-py==4.3.0, linkify-it-py==2.2.0, pydantic==2.14.4, picklescan==1.0.5, pytest==9.2.0,
# mcp==2.3.0, matplotlib==3.11.2. (revised Nov 22)
# transformers is 5.23.0, not 5.24.0: Renovate's 3-day release age rules out 5.24.0. (revised Nov 21)
# modelscan is not pinned: it needs Python below 3.13. picklescan flags a harmless print pickle at its pin. (revised Nov 21)
annotated-doc==0.0.7
    # via typer
annotated-types==0.8.0
    # via pydantic
anyio==4.16.0
    # via
    #   httpx2
    #   mcp
    #   sse-starlette
    #   starlette
attrs==26.1.0
    # via
    #   jsonschema
    #   referencing
bm25s==0.3.16
    # via -r requirements.in
cffi==2.1.1
    # via cryptography
click==8.5.1
    # via
    #   huggingface-hub
    #   uvicorn
contourpy==1.4.0
    # via matplotlib
cryptography==50.0.2
    # via pyjwt
cycler==0.12.1
    # via matplotlib
filelock==4.2.12
    # via
    #   huggingface-hub
    #   torch
fonttools==4.68.0
    # via matplotlib
fsspec==2026.9.0
    # via
    #   huggingface-hub
    #   torch
h11==0.16.0
    # via
    #   httpcore2
    #   uvicorn
hf-xet==1.8.0
    # via huggingface-hub
httpcore2==2.16.2
    # via httpx2
httpx2==2.16.2
    # via
    #   huggingface-hub
    #   mcp
huggingface-hub==2.4.0
    # via
    #   -r requirements.in
    #   tokenizers
    #   transformers
idna==3.20
    # via
    #   anyio
    #   httpx2
iniconfig==2.3.1
    # via pytest
jinja2==3.1.6
    # via torch
jsonschema==4.26.0
    # via mcp
jsonschema-specifications==2025.9.1
    # via jsonschema
kiwisolver==1.5.1
    # via matplotlib
linkify-it-py==2.2.0
    # via -r requirements.in
markdown-it-py==4.3.0
    # via
    #   -r requirements.in
    #   rich
markupsafe==3.0.4
    # via jinja2
matplotlib==3.11.2
    # via -r requirements.in
mcp==2.3.0
    # via -r requirements.in
mcp-types==2.3.0
    # via mcp
mdurl==0.1.2
    # via markdown-it-py
mpmath==1.3.0
    # via sympy
networkx==3.7
    # via torch
numpy==2.5.5
    # via
    #   -r requirements.in
    #   bm25s
    #   contourpy
    #   matplotlib
    #   transformers
opentelemetry-api==1.45.2
    # via mcp
packaging==26.3
    # via
    #   huggingface-hub
    #   matplotlib
    #   pytest
    #   transformers
picklescan==1.0.5
    # via -r requirements.in
pillow==13.0.0
    # via matplotlib
pluggy==1.7.0
    # via pytest
pycparser==3.12
    # via cffi
pydantic==2.14.4
    # via
    #   -r requirements.in
    #   mcp
    #   mcp-types
    #   typer
pydantic-core==2.50.5
    # via pydantic
pygments==2.21.0
    # via
    #   pytest
    #   rich
pyjwt==2.15.1
    # via mcp
pyparsing==3.3.3
    # via matplotlib
pytest==9.2.0
    # via -r requirements.in
python-dateutil==4.0.0
    # via matplotlib
python-multipart==0.0.34
    # via mcp
pyyaml==6.0.4
    # via
    #   huggingface-hub
    #   transformers
referencing==0.37.0
    # via
    #   jsonschema
    #   jsonschema-specifications
regex==2026.11.19
    # via transformers
rich==15.0.0
    # via typer
rpds-py==2026.9.1
    # via
    #   jsonschema
    #   referencing
safetensors==0.8.0
    # via transformers
setuptools==84.2.1
    # via torch
shellingham==1.5.4
    # via typer
sse-starlette==3.7.0
    # via mcp
starlette==1.10.0
    # via
    #   mcp
    #   sse-starlette
sympy==1.14.0
    # via torch
tokenizers==0.23.3
    # via
    #   -r requirements.in
    #   transformers
torch==2.15.0+cpu
    # via -r requirements.in
tqdm==4.70.1
    # via
    #   huggingface-hub
    #   transformers
transformers==5.24.0
    # via -r requirements.in
truststore==0.10.5
    # via
    #   httpcore2
    #   httpx2
typer==0.29.2
    # via transformers
typing-extensions==4.16.0
    # via
    #   anyio
    #   huggingface-hub
    #   mcp
    #   mcp-types
    #   opentelemetry-api
    #   pydantic
    #   pydantic-core
    #   torch
    #   typing-inspection
typing-inspection==0.4.5
    # via
    #   mcp
    #   pydantic
tzdata==2026.6
    # via python-dateutil
uvicorn==0.54.0
    # via mcp
