Skip to content

build: modernize Makefile to uv - #309

Merged
hemna merged 1 commit into
masterfrom
build/makefile-uv
Sep 20, 2026
Merged

hemna merged 1 commit into
masterfrom
build/makefile-uv

Conversation

@hemna

@hemna hemna commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

The Makefile contradicted the uv-based CONTRIBUTING.md that the README and install docs point to:

  • It included a remote-fetched Makefile.venv (curl from GitHub + sha256sum --check — sha256sum is not present on macOS by default, so the include fails there before any target runs).
  • Targets used pip / the VENV variable while the docs recommend uv.
  • make check ran tox -efmt-check and tox -epep8 — neither env exists in tox.ini.
  • docker-dev referenced docker/Dockerfile-dev (does not exist); update-requirements referenced requirements-dev.in (does not exist).

Changes:

  • All targets now use uv (uv venv, uv pip install -e ".[dev]", uv run ...); no remote fetch, no sha256sum.
  • make docs/check/test delegate to the tox envs CI actually runs (tox -edocs, tox -elint+tox -efmt, tox -p all).
  • make build/upload (used by the README Release section) kept, adapted to uv + twine.
  • README Development section and install.rst 'Install for development' updated to make dev and to describe the uv-created .venv.

Verified: make help renders all targets; make -n dev/docs/build/clean dry-runs correct command sequences.

- Drop the remote-fetched Makefile.venv include (curl + sha256sum,
  which is not available on macOS by default)
- dev/run/server/build targets now use uv (venv + pip install -e
  ".[dev"] + uv run), matching the uv-based CONTRIBUTING.md
- docs/check/test delegate to the tox envs that CI uses
  (tox -edocs, tox -elint/-efmt, tox -p all)
- check no longer references the deleted fmt-check/ep8 tox envs
- Remove dead docker-dev target (docker/Dockerfile-dev does not
  exist) and the requirements-dev.in lines (file does not exist)
- README + install.rst: 'make' -> 'make dev' and describe the uv
  virtualenv the target creates
@hemna
hemna merged commit 025436b into master Sep 20, 2026
8 checks passed
@hemna
hemna deleted the build/makefile-uv branch September 20, 2026 23:03
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.

1 participant