Skip to content

Commit

Permalink
feat: Upgrade the base Python version to 3.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Apr 4, 2024
1 parent 5dce2b6 commit a8308e6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN chmod +x ${PREFIX}/bin/ttyd
RUN cd ${PREFIX}; \
tar cf /root/image.tar ./*

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

# vim: ft=dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:3.11.2-alpine
FROM python:3.12.2-alpine
ARG PREFIX=/opt/backend.ai

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

RUN mkdir -p ${PREFIX}; \
mv /usr/local/* ${PREFIX}; \
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
10
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.1-alpine3.17
FROM python:3.12.2-alpine

RUN apk add \
build-base \
Expand Down
9 changes: 4 additions & 5 deletions src/ai/backend/krunner/alpine/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
async_timeout~=4.0
pyzmq~=25.0
uvloop~=0.17
attrs~=22.1
pyzmq~=25.1
uvloop~=0.19
attrs~=23.2
janus~=1.0
msgpack~=1.0
jupyter-client~=7.4.5
jupyter-client~=8.6.1
setproctitle~=1.3.2

0 comments on commit a8308e6

Please sign in to comment.