Skip to content
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

Avoid keyword arguments for PEP 517 build hooks #3517

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

pip passes these as positional arguments, and at least one build backend relies on that. My personal opinion is that it's a spec violation, and the build backend should be updated, but I'd prefer to favor compatibility over strictness here.

Closes #3509.

Test Plan

cargo run pip install cryptacular==1.6.2

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label May 10, 2024
self.config_settings.escape_for_python(),
metadata_directory,
Copy link
Member Author

Choose a reason for hiding this comment

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

I swapped the order of arguments as config_settings is first and metadata_directory is second. See: https://peps.python.org/pep-0517/#build-wheel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot install cryptacular==1.6.2 (or any recent version) with uv
1 participant