Skip to content

Commit

Permalink
chore: Update Python version and krunner dependencies (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol authored Sep 20, 2024
1 parent 3ad0537 commit 01f2ba2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN chmod +x ${PREFIX}/bin/ttyd
RUN cd ${PREFIX}; \
tar cf /root/image.tar ./*

LABEL ai.backend.krunner.version=12
LABEL ai.backend.krunner.version=13
CMD ["${PREFIX}/bin/python"]

# vim: ft=dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG PREFIX=/opt/backend.ai
ARG ARCH=x86_64

ENV PATH=${PREFIX}/bin:$PATH \
PYTHON_VERSION=3.12.2 \
PYTHON_VERSION=3.12.6 \
LANG=C.UTF-8

RUN <<-EOF
Expand All @@ -27,9 +27,9 @@ RUN <<-EOF
mkdir -p ${PREFIX}
cd /root
if [ "${ARCH}" = "x86_64" ]; then
wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-x86_64_v2-unknown-linux-gnu-pgo-full.tar.zst"
wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6+20240909-x86_64_v2-unknown-linux-gnu-pgo-full.tar.zst"
else
wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-aarch64-unknown-linux-gnu-noopt-full.tar.zst"
wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6+20240909-aarch64-unknown-linux-gnu-noopt-full.tar.zst"
fi
tar -I zstd -xC . --strip-components=1 -f python.tar.zst
mv /root/install/* ${PREFIX}/
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
13
8 changes: 4 additions & 4 deletions src/ai/backend/krunner/static_gnu/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pyzmq~=25.1
uvloop~=0.19
attrs~=23.2
pyzmq~=26.2
uvloop~=0.20
attrs~=24.2
janus~=1.0
msgpack~=1.0
msgpack~=1.1
jupyter-client~=8.6.1
setproctitle~=1.3.3

0 comments on commit 01f2ba2

Please sign in to comment.