Skip to content

Commit a392f62

Browse files
authored
Merge pull request #227 from cs50/python-3-13-x
Python 3.13.x
2 parents a410056 + c4966a1 commit a392f62

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,19 @@ RUN apt update && \
6161
make tk-dev unzip wget xz-utils zlib1g-dev
6262

6363

64-
# Install Python 3.12.x
64+
# Install Python 3.13.x
6565
# https://www.python.org/downloads/
6666
RUN cd /tmp && \
67-
curl --remote-name https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz && \
68-
tar xzf Python-3.12.10.tgz && \
69-
rm --force Python-3.12.10.tgz && \
70-
cd Python-3.12.10 && \
67+
curl --remote-name https://www.python.org/ftp/python/3.13.5/Python-3.13.5.tgz && \
68+
tar xzf Python-3.13.5.tgz && \
69+
rm --force Python-3.13.5.tgz && \
70+
cd Python-3.13.5 && \
7171
CFLAGS="-Os" ./configure --disable-static --enable-optimizations --enable-shared --with-lto --without-tests && \
7272
./configure && \
7373
make && \
7474
make install && \
7575
cd .. && \
76-
rm --force --recursive Python-3.12.10 && \
76+
rm --force --recursive Python-3.13.5 && \
7777
ln --relative --symbolic /usr/local/bin/pip3 /usr/local/bin/pip && \
7878
ln --relative --symbolic /usr/local/bin/python3 /usr/local/bin/python && \
7979
pip3 install --no-cache-dir --upgrade pip

0 commit comments

Comments
 (0)