Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,9 @@ jobs:
set -euo pipefail
python -m venv .venv
. .venv/bin/activate
python -m pip install --requirement "$HARNESS/requirements.txt" --requirement "$HARNESS/requirements-test.txt"
# The Bot's lock and its tests' lock, and nothing else: the tests run on exactly what the
# image ships (scripts/python-locks.sh).
python -m pip install --require-hashes --no-deps --requirement "$HARNESS/requirements.txt" --requirement "$HARNESS/requirements-test.txt"
python -m pytest "$HARNESS/tests" -q
# On a failure, cancels the run at once (.github/actions/stop-on-failure).
- if: failure()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/model-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ name: Model lock
on:
pull_request:
paths:
- "agent-*/requirements.in"
- "agent-*/requirements.txt"
- "agent-*/Dockerfile"
- "agent-*/package.json"
Expand Down
6 changes: 4 additions & 2 deletions agent-adk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ FROM python:3.12-slim

WORKDIR /app

# Dependencies before source, so editing the Bot does not re-resolve the framework.
# Dependencies before source, so editing the Bot does not reinstall the framework. From the lock
# only (requirements.txt, compiled by scripts/python-locks.sh): every package at the version and
# hash it names, and nothing it does not, so a package PyPI releases today never reaches an image.
COPY agent-adk/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir --require-hashes --no-deps -r requirements.txt

COPY agent-adk/src ./src
COPY shared/model_providers.py shared/model-providers.json shared/run_model_key.py shared/gemini_signatures.py shared/progress_reminder.py shared/empty_turns.py /shared/
Expand Down
6 changes: 6 additions & 0 deletions agent-adk/requirements-test.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# What the Bot's tests add, compiled into requirements-test.txt against the Bot's own lock, so the
# tests run on exactly what the image ships: scripts/python-locks.sh agent-adk
-c requirements.txt
# The version in the Bot's own lock when it has one, so the tests run on the httpx the image ships.
httpx
pytest==9.0.2
76 changes: 74 additions & 2 deletions agent-adk/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,74 @@
httpx==0.28.1
pytest==9.0.2
# This file was autogenerated by uv via the following command:
# scripts/python-locks.sh agent-adk
anyio==4.16.0 \
--hash=sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb \
--hash=sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026
# via
# -c requirements.txt
# httpx
certifi==2026.11.20 \
--hash=sha256:7422df25243767b9877031a2248cb14d09ddac9beee846f4cef3d5c9191d488f \
--hash=sha256:af1cb240a8133f105aa52684a3a3258339d7f2fd0bd4e2812698ff5cf5588c4e
# via
# -c requirements.txt
# httpcore
# httpx
colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via
# -c requirements.txt
# pytest
h11==0.16.0 \
--hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
--hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
# via
# -c requirements.txt
# httpcore
httpcore==1.0.9 \
--hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
--hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
# via
# -c requirements.txt
# httpx
httpx==0.29.0 \
--hash=sha256:6734dcf742ced6e8018e45d3f9f7728975b6b3e1085a24f3e2c056069d858bd1 \
--hash=sha256:700928ee6c1f4213795e67c47eba8f8553639069fea89199f71d654e38edc593
# via
# -c requirements.txt
# -r requirements-test.in
idna==3.21 \
--hash=sha256:13c8b14853c5c336eaab526f3390817e9c8fcd8fa175abdd1a7480a5c94f99cb \
--hash=sha256:387ab0bbea1ee7a196ea5b24eb007bad0242cc3127fe96713939942bc9e720d7
# via
# -c requirements.txt
# anyio
# httpx
iniconfig==2.3.1 \
--hash=sha256:67f4b9c50da0dedf52af349e7749a80a9057a5031199791b906c3bb3ae878960 \
--hash=sha256:9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7
# via pytest
packaging==26.4 \
--hash=sha256:81383611a09c1bc0b08b76e0fd5829d7c6824c65b27a6aee339da133f4233ea2 \
--hash=sha256:c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a
# via
# -c requirements.txt
# pytest
pluggy==1.7.0 \
--hash=sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec \
--hash=sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8
# via pytest
pygments==2.21.0 \
--hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \
--hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c
# via pytest
pytest==9.0.2 \
--hash=sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b \
--hash=sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11
# via -r requirements-test.in
typing-extensions==4.16.0 ; python_full_version < '3.15' \
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
# via
# -c requirements.txt
# anyio
18 changes: 18 additions & 0 deletions agent-adk/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# The packages this Bot asks for. requirements.txt is this file compiled, every package at one
# version with its hashes, and is all the image and CI install, so nothing PyPI releases reaches
# either until the lock is compiled again: scripts/python-locks.sh agent-adk
ag-ui-adk
google-adk
# Held on google-genai 2.x with the LangGraph harness: 3.0.0 (2026-11-06) moved generateContent
# from /v1beta to /v1.
google-genai>=2.34,<3
# litellm 1.106.0 fails every model call in this harness: it reaches for `mcp` and reports
# whatever it finds as an OpenAIException, so the error arrives as a connection fault rather
# than the missing import it is. Seen two ways — `cannot import name 'CacheableResult' from
# 'mcp.types'` where an older mcp is pinned by another dependency, and `No module named 'mcp'`
# where there is none at all. 1.105.1 does not reach for it. Lift this when litellm stops
# requiring mcp, or declares it.
litellm<1.106.0
fastapi
python-multipart
uvicorn[standard]
Loading
Loading