From a7fc31e555c06113b18a9afd3d5146ed75d8083a Mon Sep 17 00:00:00 2001 From: Francis Secada Date: Wed, 4 Feb 2026 16:50:47 -0500 Subject: [PATCH] fix(docker): update build script to use uv sync instead of requirements files - Replace pip-compile workflow with uv sync - Use pyproject.toml instead of requirements.in/txt files - Simplified build process (uv sync creates venv automatically) Fixes Docker build failure after migration to uv. Co-Authored-By: Claude Sonnet 4.5 --- docker/pygentic_ai/python_build.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docker/pygentic_ai/python_build.sh b/docker/pygentic_ai/python_build.sh index 907ffa7..8085b5b 100755 --- a/docker/pygentic_ai/python_build.sh +++ b/docker/pygentic_ai/python_build.sh @@ -7,15 +7,12 @@ cd /opt/pygentic_ai || exit # Verify Python version python3 --version -# Create venv with Python 3.13 -uv venv .venv --python python3.13 +# Install dependencies from pyproject.toml +# Creates venv automatically if it doesn't exist +uv sync --no-dev + +# Activate venv source .venv/bin/activate # Verify venv Python version python --version - -for FILE in core_requirements dev_requirements -do - uv pip compile --upgrade $FILE.in -o $FILE.txt -done -uv pip sync core_requirements.txt