Skip to content

examples: the Docker bootstrap downloads the pinned uv 0.12.0, not the latest via the GitHub API - #139

Merged
tae898 merged 1 commit into
mainfrom
examples/137-pin-uv
Oct 29, 2026
Merged

tae898 merged 1 commit into
mainfrom
examples/137-pin-uv

Conversation

@tae898

@tae898 tae898 commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Closes #137

The --docker paths of examples 07 to 12 bootstrap uv inside their containers with uv_bootstrap_commands(). It asked the GitHub API for the latest uv release, which left the version unpinned and hit the anonymous API rate limit when several runs start in a row. Each file now defines UV_VERSION = "0.12.0" (the version test-native.yml pins) and downloads that release straight from its release URL. The Milvus compose lookup in 11 and 12, also a "latest" query, is separate and unchanged.

Smoke runs (laptop, stackoverflow-tiny, the arcadedb_jvm 26.11.1.dev0 wheel of main, containers pinned to two cores):

example backend result
07 arcadedb_sql pass, 891 ops/s
11 arcadedb_sql pass
12 arcadedb_sql on the 11 output pass, recall@10 1.0

One thing the smoke showed that this PR does not change: example 07 picks its container image from the host Python version, so a host on 3.15 gets python:3.15-slim, where JPype has no wheel yet and fails to build. With a 3.12 host it passes.

Static gate: compile(), black and isort on the six files.

🤖 Generated with Claude Code

…e latest via the GitHub API (#137)

uv_bootstrap_commands() asked api.github.com for the latest uv release (unpinned, and rate-limited for anonymous
use) before downloading it. Each of 07 to 12 now has UV_VERSION = "0.12.0", the version CI pins, and downloads
that release directly. Smoked: 07 arcadedb_sql, 11 arcadedb_sql and 12 on 11's output, in their containers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit cda51dc into main Oct 29, 2026
28 checks passed
@tae898
tae898 deleted the examples/137-pin-uv branch October 29, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Examples 07 to 12: the Docker bootstrap downloads the latest uv via the GitHub API; pin the version

1 participant