gpt-engineer
gpt-engineer copied to clipboard
Upgrade Docker setup to Python 3.13
Description
This PR updates the Docker environment for GPT Engineer to use Python 3.13, enabling compatibility with the latest Python version.
Changes include
- Updated base images in the Dockerfile from
python:3.11-slim→python:3.13-slim. - Adjusted Python library paths to match Python 3.13.
- Ensured all dependencies (
openai>=1.0.0,backoff) remain installed and functional. - Maintained existing multi-stage Docker setup and entrypoint configuration.
Motivation
- Support Python 3.13 for users who run GPT Engineer on the latest Python versions.
- Showcase GPT Engineer on YouTube using Python 3.13.
Impact
- No functional changes to the application.
- Existing projects and workflow remain compatible.
[!IMPORTANT] Upgrade Docker setup to Python 3.13, updating base images, paths, and error handling.
- Docker Setup:
- Update
Dockerfileto usepython:3.13-slimfor both builder and final stages.- Adjust Python library paths to
/usr/local/lib/python3.13/site-packages.- Ensure dependencies
openai>=1.0.0andbackoffare installed.- docker-compose:
- Update
docker-compose.ymlto version3.9.- Entrypoint Script:
- Add
set -einentrypoint.shfor immediate exit on errors.- Adjust file permissions handling in
entrypoint.sh.This description was created by
for fc57ee1a18ed4ecc9255db2ddc044e4598ffd406. You can customize this summary. It will automatically update as commits are pushed.