From 76a93480ddcd586da49c7332057d53e6d31dc7b5 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Mon, 28 Sep 2026 20:54:26 +0000 Subject: [PATCH] build: run the Docker image on Python 3.13, and set up with it in the README --- Dockerfile | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 024c7c72d..19469e5c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-slim AS builder +FROM python:3.13-slim AS builder ENV PYTHONDONTWRITEBYTECODE=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 @@ -10,7 +10,7 @@ WORKDIR /build COPY . . RUN pip install --no-cache-dir . -FROM python:3.12-slim +FROM python:3.13-slim ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 diff --git a/README.md b/README.md index 3f49da446..560d1bb42 100644 --- a/README.md +++ b/README.md @@ -121,13 +121,13 @@ cd TradingAgents Create a virtual environment in any of your favorite environment managers: ```bash -conda create -n tradingagents python=3.12 +conda create -n tradingagents python=3.13 conda activate tradingagents ``` Or with [uv](https://docs.astral.sh/uv/): ```bash -uv venv --python 3.12 +uv venv --python 3.13 source .venv/bin/activate ```