Skip to content

Conversation

@ichard26
Copy link
Member

prepare_metadata_for_build_wheel was initially typed to return Optional[str] just like the editable metadata hook, but it got changed to str during review. However, the editable hook's return type was never corrected. This seems to be an oversight as I can't find anything in the PEP 517 or 660 specifications allowing these hooks to return None.

`prepare_metadata_for_build_wheel` was initially typed to return Optional[str] just like the editable metadata hook, but it got changed to `str` during review. However, the editable hook's return type was never corrected. This seems to be an oversight as I can't find anything in the PEP 517 or 660 specifications allowing these hooks to return None.
@matthewhughes934
Copy link

You could probably drop Python 3.7 support to make the checks green again. It looks like it was previously dropped with 69ed8b1 but that was reverted 9cf1649 it seems it was kept because pip also supported it at the time (context: #167 (comment)) but pip has since dropped support for it pypa/pip@1dbd717, see also #168

@pradyunsg pradyunsg merged commit e89c52f into pypa:main Apr 13, 2025
21 checks passed
@ichard26 ichard26 deleted the patch-1 branch April 13, 2025 01:04
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.

3 participants