Skip to content

Conversation

@blueraft
Copy link
Contributor

… package.

Summary

Closes #15118

Test Plan

cargo test

… package.

Add additional hints for `pip` and `setuptools`
@blueraft blueraft force-pushed the hint-extra-build-dependencies branch from fd2c90b to d65b4ff Compare August 13, 2025 20:21
hint: This usually indicates a problem with the package or the build environment.
"###
hint: This error likely indicates that `anyio @ https://files.pythonhosted.org/packages/db/4d/3970183622f0330d3c23d9b8a5f52e365e50381fd484d08e3285104333d3/anyio-4.3.0.tar.gz` depends on `setuptools`, but doesn't declare it as a build dependency. If `anyio @ https://files.pythonhosted.org/packages/db/4d/3970183622f0330d3c23d9b8a5f52e365e50381fd484d08e3285104333d3/anyio-4.3.0.tar.gz` is a first-party package, consider adding `setuptools` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
Copy link
Member

Choose a reason for hiding this comment

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

I know it was already here, but for the second "anyio @ https://files.pythonhosted.org/packages/db/4d/3970183622f0330d3c23d9b8a5f52e365e50381fd484d08e3285104333d3/anyio-4.3.0.tar.gz", can we just show the package name instead of the full URL? Like "anyio".

Copy link
Member

Choose a reason for hiding this comment

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

zanieb pushed a commit that referenced this pull request Aug 14, 2025
…ailure (#15252)

Alternative to #15251.

As suggested in
#15118 (comment)

## Test Plan

`cargo test`

---------

Co-authored-by: Charlie Marsh <[email protected]>
@zanieb zanieb closed this Aug 14, 2025
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.

Add a hint to use extra-build-dependencies when a build fails with a missing package

3 participants