Skip to content

Conversation

@ichard26
Copy link
Member

Towards #13103.

We may be affected by pypa/pyproject-hooks#206. PTAL.

except InstallationSubprocessError as error:
raise MetadataGenerationFailed(package_details=details) from error

assert distinfo_dir is not None
Copy link
Member Author

@ichard26 ichard26 Dec 23, 2024

Choose a reason for hiding this comment

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

I don't think this should be necessary given that prepare_metadata_for_build_wheel() on the super class is typed to return str. This seems an oversight when type annotations were added to pyproject-hooks. I've asked around whether this is intentional.

Copy link
Member Author

Choose a reason for hiding this comment

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

See also pypa/pyproject-hooks#209 where I propose fixing prepare_metadata_for_build_editable()'s return type to str.

@ichard26
Copy link
Member Author

Ah, the pyproject-hooks issue was seemingly fixed by pypa/setuptools#4680.

@ichard26 ichard26 merged commit dafc095 into pypa:main Jan 12, 2025
31 checks passed
@ichard26 ichard26 deleted the pyproject-hooks branch January 12, 2025 04:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants