GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Build scripts: replace uv pip with uv build and uv run by tae898 · Pull Request #392 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Conversation

@tae898

@tae898 tae898 commented Oct 21, 2026

Copy link
Copy Markdown

Closes #381.

The three build scripts under bindings/python/scripts/ no longer use uv pip or uv venv; nothing is installed into an interpreter any more. This follows PR #380, which did the same for the workflows.

  • Dockerfile.build, python-builder stage: the uv pip install --system build wheel setuptools jpype1 line is gone, and python3 -m build --wheel [--config-setting=--build-option=--plat-name=...] is now uv build --wheel [--config-setting=--build-option=--plat-name=...]. The old line was redundant, because python -m build already builds in an isolated environment from the [build-system] requires of pyproject.toml (build, setuptools, wheel, jpype1), and uv build does the same. The output stays in /build/dist, so the later ls and verify_wheel_platform_tag.py steps are unchanged.
  • Dockerfile.build, tester stage: uv pip install --system /tmp/*.whl pytest pytest-cov is gone. The smoke test runs as uv run --no-project --with /tmp/*.whl --with pytest --with pytest-cov python3 /test/test_install.py, and the CMD runs the same command with --offline so it reuses the environment cached in the image.
  • after_tag_verify.sh: uv venv plus uv pip install --no-cache is now uv run --no-project --cache-dir <fresh dir> --python <v> --with arcadedb-embedded==<version>, once for the install check and once for the smoke script. The fresh cache directory gives the same "download from PyPI" guarantee as --no-cache without downloading the wheel twice. The pins are unchanged.
  • ensure-build-tools.sh (not called by any script or workflow) now checks that build, wheel and setuptools resolve for each Python with uv run --no-project --with ... python -m build --version, instead of installing build into the interpreter.
  • build-native.sh: only the error message changed, from uv pip install build to the uv run --no-project --with build --with wheel --with setuptools bash ./scripts/build.sh command that CI uses.
  • Docs: ci-setup.md (the sentence that said the Docker build still installs its tools), build-architecture.md and contributing.md.

Ran locally: bash -n on the three shell scripts; shellcheck (no new findings against main); hadolint on Dockerfile.build (no new findings, the existing ones are unchanged); uv build --wheel --config-setting=--build-option=--plat-name=manylinux_2_34_x86_64 on a minimal setuptools project with the same [build-system] table, which produced the manylinux-tagged wheel; the after_tag_verify.sh smoke loop on Python 3.12 against the published 26.10.2 wheel (passes); ensure-build-tools.sh; the tester pattern in a scratch python:3.12-slim image with that wheel (the RUN and the offline CMD both pass); pre-commit on the changed files; the strict docs build. Not run locally, on purpose: the full Linux build image, which this PR's CI builds.

Left for a follow-up: the uv pip install commands inside the Docker wrappers of the benchmark examples (07 to 12, plus the Milvus runner image in 11 and 12) and in examples/scripts/_matrix_helpers.sh. They install into a venv inside the benchmark container or into the host environment, so changing them changes the measured benchmark setup and needs benchmark runs, not a build-script check.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tae898 @claude
Build scripts: replace uv pip with uv build and uv run
2bdc7bb
Dockerfile.build builds the Linux wheel with `uv build --wheel` (isolated build environment from pyproject.toml) and runs the tester smoke script in a `uv run --no-project --with` environment. after_tag_verify.sh smoke-tests the PyPI release in a throwaway `uv run --with` environment. ensure-build-tools.sh now checks that the build tools resolve instead of installing them. build-native.sh points to the same `uv run` command in its error message. The development docs show the new commands.

Closes #381

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898 tae898 mentioned this pull request Oct 21, 2026
Benchmark examples: replace uv pip in the Docker wrappers of examples 07-12 and _matrix_helpers.sh #393
Closed
@tae898
tae898 merged commit 552098e into main Oct 21, 2026
42 of 44 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@tae898
tae898 deleted the uv-build-scripts-381 branch October 21, 2026 12:10
This was referenced Oct 21, 2026
Stale and legacy material sweep in bindings/python and the root README #417
Closed
Benchmark examples: replace uv pip in the Docker wrappers and matrix helpers with uv run #502
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Build scripts: replace uv pip in Dockerfile.build, ensure-build-tools.sh and after_tag_verify.sh

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@tae898
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.