fix(package): correct setuptools build backend for wheel builds#118
Draft
rederik76 wants to merge 2 commits into
Draft
fix(package): correct setuptools build backend for wheel builds#118rederik76 wants to merge 2 commits into
rederik76 wants to merge 2 commits into
Conversation
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
marked this pull request as draft
July 12, 2026 14:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes wheel builds broken in v0.20.0 (#87) by replacing the invalid
setuptools.backends.legacy:buildbackend withsetuptools.build_meta. Also aligns the ADR-0008 example, bumpsVERSIONto v0.20.1, and documentsuv buildas an optional alternative topython -m buildin contributor dev-env docs.Fixes #117
Changes
pyproject.toml—build-backend = "setuptools.build_meta"docs/decisions/0008-lakeflow-framework-package.md— same correction in ADR exampleVERSION— v0.20.0 → v0.20.1docs/source/contributor_dev_env.rst— optionaluv build --wheel --clear -o distcalloutTest plan
uv build --wheel --clear -o distsucceedslakeflow_framework/config/default/**andlakeflow_framework/schemas/**uv pip install dist/lakeflow_framework-0.20.1-py3-none-any.whlresolves deps and installs