Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Python version and krunner dependencies #7

Merged
merged 4 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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