build: run the Docker image on Python 3.13, and set up with it in the README

This commit is contained in:
Yijia-Xiao
2026-09-29 05:57:18 +00:00
parent 23bed8dace
commit 76a93480dd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
```