Skip to content

Update pypa/build and our vendored parts of it#312

Merged
agriyakhetarpal merged 5 commits intomainfrom
update-pypa-build
Mar 17, 2026
Merged

Update pypa/build and our vendored parts of it#312
agriyakhetarpal merged 5 commits intomainfrom
update-pypa-build

Conversation

@agriyakhetarpal
Copy link
Member

@agriyakhetarpal agriyakhetarpal commented Mar 16, 2026

I've bumped our vendored build code to match build==1.4.0's code more closely. We are still using one part of the private API, which is self._env_backend.scripts_dir from the _DefaultIsolatedEnv, but otherwise, all the changes make us match the new build version's updates. The dependency has been updated to ~=1.4.0. Also, the _ProjectBuilder subclass is no longer needed because we now use _ctx.log() instead of self.log() and don't need to override behaviour.

See pypa/cibuildwheel#2782 (comment) for more info.

CHANGELOG for build 1.4.0: https://build.pypa.io/en/stable/changelog.html

@agriyakhetarpal agriyakhetarpal added the integration This PR will run the integration tests. This label can be used as a persistent marker to do so. label Mar 16, 2026
Copy link
Member

@ryanking13 ryanking13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@agriyakhetarpal
Copy link
Member Author

Thanks for the review!

@agriyakhetarpal agriyakhetarpal merged commit 47d7a54 into main Mar 17, 2026
16 of 22 checks passed
@agriyakhetarpal agriyakhetarpal deleted the update-pypa-build branch March 17, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration This PR will run the integration tests. This label can be used as a persistent marker to do so.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants