Skip to content

Commit 288170f

Browse files
sec(dep): starlette
chore(Docker): fix
1 parent 148ad5e commit 288170f

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13.7
1+
3.13.9

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM base AS builder
88
COPY --from=ghcr.io/astral-sh/uv:0.9.5 /uv /bin/uv
99

1010
# We use the system interpreter managed by uv
11-
ENV UV_PYTHON_DOWNLOADS=1
11+
ENV UV_PYTHON_DOWNLOADS=0
1212

1313
# Enable bytecode compilation
1414
ENV UV_COMPILE_BYTECODE=1
@@ -125,6 +125,10 @@ FROM target AS all
125125
# Copy fat app, i.e. with all extras, make it immutable
126126
COPY --from=builder-all --chown=root:root --chmod=755 /app /app
127127

128+
# Provide writeable .cache folder for python sdk, used for token storage
129+
RUN mkdir -p /app/.cache
130+
RUN chmod 777 /app/.cache
131+
128132
# Run as nonroot
129133
USER app
130134
WORKDIR /app

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ def _get_test_python_versions() -> list[str]:
6363
Returns:
6464
list[str]: List of Python version strings to test against
6565
"""
66-
versions = ["3.11.9", "3.12.12", "3.13.7"]
66+
versions = ["3.11.9", "3.12.12", PYTHON_VERSION]
6767
if platform.system() == "Windows" and platform.machine().lower() in {"arm64", "aarch64"}:
68-
versions = ["3.13.7"]
69-
# Only test with 3.13.7 on Windows ARM due to:
68+
versions = [PYTHON_VERSION]
69+
# Only test with 3.13.x on Windows ARM due to:
7070
# 1. Access denied errors when uv >= 0.9.4 tries to recreate venv directories (all Python versions)
7171
# 2. Instability of Python 3.12.x on Windows ARM platform
7272
return versions

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ override-dependencies = [ # https://github.com/astral-sh/uv/issues/4422
204204
"uv>=0.9.5", # CVE-2025-54368
205205
"jupyterlab>=4.4.9", # CVE-2025-59842
206206
"pip>=5.3", # CVE-2025-8869
207+
"starlette>=0.49.1", # GHSA-7f5h-v6xp-fcq8
207208
]
208209

209210
[tool.uv.sources]

uv.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)