Skip to content

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Jun 5, 2025

Pass config_settings to all hooks. This fixes sdist-only mode for matplotlib. The settings are now passed to
prepare_metadata_for_build_wheel and meson no longer attempts to download freetype when getting build metadata.

This change is backwards incompatible. config_settings is now a mapping of strings to list of strings. Before it was just a list of strings.

I'm including my e2e/matplotlib_settings files for future testing.

@mergify mergify bot added the ci label Jun 5, 2025
Pass `config_settings` to all hooks. This fixes sdist-only mode for
`matplotlib`. The settings are now passed to
`prepare_metadata_for_build_wheel` and meson no longer attempts to
download freetype when getting build metadata.

This change is backwards incompatible. `config_settings` is now a
mapping of strings to list of strings. Before it was just a list of
strings.

I'm including my `e2e/matplotlib_settings` files for future testing.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@tiran tiran force-pushed the pass-config-settings branch from 9a5ab75 to 9436558 Compare June 5, 2025 16:19
Copy link
Member

@dhellmann dhellmann left a comment

Choose a reason for hiding this comment

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

This looks good. I will watch for you to remove the draft flag before approving, though, in case you have other changes coming.

@tiran tiran marked this pull request as ready for review June 5, 2025 17:14
@tiran tiran requested a review from a team as a code owner June 5, 2025 17:14
@tiran
Copy link
Collaborator Author

tiran commented Jun 5, 2025

I have removed the draft flag.

Copy link
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

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

This looks good to me! I will wait for @dhellmann for final approval since he provided feedback earlier

@mergify mergify bot merged commit 12ffcbb into python-wheel-build:main Jun 5, 2025
102 checks passed
@tiran tiran deleted the pass-config-settings branch October 6, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants