Skip to content

Refactor get_build_backend_hook_caller() API #574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2025

Conversation

tiran
Copy link
Collaborator

@tiran tiran commented Mar 24, 2025

Change the get_build_backend_hook_caller() helper to align with other APIs. The function now takes a ctx and req parameter like most other functions. The sdist_root_dir parameter was misleading, because the function actually requires the build_dir with pyproject.toml. The argument has been renamed to build_dir. pyproject.toml content and network_isolation parameter are handled internally, too.

Change the `get_build_backend_hook_caller()` helper to align with other
APIs. The function now takes a `ctx` and `req` parameter like most other
functions. The `sdist_root_dir` parameter was misleading, because the
function actually requires the `build_dir` with `pyproject.toml`. The
argument has been renamed to `build_dir`. `pyproject.toml` content
and `network_isolation` parameter are handled internally, too.

Signed-off-by: Christian Heimes <[email protected]>
@tiran tiran force-pushed the refactor-hook-caller branch from 49c4ebe to d295758 Compare March 24, 2025 15:36
@mergify mergify bot merged commit 0ed6e75 into python-wheel-build:main Apr 6, 2025
175 of 178 checks passed
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.

2 participants