Skip to content

fix(package): correct setuptools build backend for wheel builds#118

Draft
rederik76 wants to merge 2 commits into
mainfrom
fix/wheel-build-backend
Draft

fix(package): correct setuptools build backend for wheel builds#118
rederik76 wants to merge 2 commits into
mainfrom
fix/wheel-build-backend

Conversation

@rederik76

Copy link
Copy Markdown
Collaborator

Summary

Fixes wheel builds broken in v0.20.0 (#87) by replacing the invalid setuptools.backends.legacy:build backend with setuptools.build_meta. Also aligns the ADR-0008 example, bumps VERSION to v0.20.1, and documents uv build as an optional alternative to python -m build in contributor dev-env docs.

Fixes #117

Changes

  • pyproject.tomlbuild-backend = "setuptools.build_meta"
  • docs/decisions/0008-lakeflow-framework-package.md — same correction in ADR example
  • VERSION — v0.20.0 → v0.20.1
  • docs/source/contributor_dev_env.rst — optional uv build --wheel --clear -o dist callout

Test plan

  • uv build --wheel --clear -o dist succeeds
  • Wheel contains lakeflow_framework/config/default/** and lakeflow_framework/schemas/**
  • uv pip install dist/lakeflow_framework-0.20.1-py3-none-any.whl resolves deps and installs
  • CI green on PR

Replace invalid setuptools.backends.legacy:build with setuptools.build_meta
so uv build and python -m build produce wheels successfully.
Keep python -m build as the canonical path and note that uv build uses the
same setuptools backend from pyproject.toml.
@rederik76 rederik76 self-assigned this Jul 11, 2026
@rederik76
rederik76 marked this pull request as draft July 12, 2026 14:54
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.

[BUG]: Wheel build fails — invalid setuptools build backend in pyproject.toml

1 participant