Skip to content

Commit

Permalink
fix: typo, downgrade to python 3.12, missing lib (#796)
Browse files Browse the repository at this point in the history
* fix: typo in jupyter server service template

* fix: missing package for kopf

* fix: downgrade to python 3.12 for amalthea
  • Loading branch information
olevski authored Dec 13, 2024
1 parent 07eeed4 commit 2694c04
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion controller/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:

selector:
app: {{ name }}
ClusterIP: None
clusterIP: None
4 changes: 2 additions & 2 deletions kopf.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13-bookworm as builder
FROM python:3.12-bookworm as builder
ARG DEV_BUILD=false
ARG USER_UID=1000
ARG USER_GID=$USER_UID
Expand All @@ -21,7 +21,7 @@ RUN if $DEV_BUILD ; then \
RUN /home/renku/.local/bin/poetry build -f wheel
RUN env/bin/pip --no-cache-dir install dist/*.whl

FROM python:3.13-slim-bookworm
FROM python:3.12-slim-bookworm
ARG USER_UID=1000
ARG USER_GID=$USER_UID
ENV PROMETHEUS_MULTIPROC_DIR=/prometheus
Expand Down
18 changes: 11 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ prometheus-client = "^0.21.1"
dataconf = "^3.3.0"
boto3 = "^1.35.76"
kopf = {extras = ["uvloop"], version = "^1.37.3"}
python-json-logger = "3.0.1" # Needed by kopf but kopf uses a wrong version which is missing APIs that kopf needs


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 2694c04

Please sign in to comment.