Skip to content

Commit 600c776

Browse files
committed
fix: address Copilot review feedback
- Clarify docs wording: "103 explicitly installed top-level packages" - Add --prefer-binary to pip install to avoid sdist fallbacks Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 6f0fe97 commit 600c776

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/python-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python package support
22

3-
The python-agent-driver ships CPython 3.12 with the full standard library and 103 third-party pip packages.
3+
The python-agent-driver ships CPython 3.12 with the full standard library and 103 explicitly installed top-level pip packages (transitive dependencies are also included).
44

55
## Standard library
66

examples/python-agent-driver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG BASE=ghcr.io/hyperlight-dev/hyperlight-unikraft/python-base:latest
1010

1111
# Stage 1: Python deps (same as python-agent).
1212
FROM python:3.12-slim AS deps
13-
RUN pip install --target=/deps --no-cache-dir \
13+
RUN pip install --target=/deps --no-cache-dir --prefer-binary \
1414
tqdm pyyaml jinja2 beautifulsoup4 tabulate click tenacity \
1515
python-dotenv pypdf openpyxl markdown-it-py pydantic pillow \
1616
lxml cryptography python-dateutil numpy pandas \

0 commit comments

Comments
 (0)