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

add logging to resolver #552

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

dhellmann
Copy link
Member

Implement the reporter API used by resolvelib so that the resolver can
report progress and explain why candidates are rejected.

Fixes #548

Implement the reporter API used by resolvelib so that the resolver can
report progress and explain why candidates are rejected.

Fixes python-wheel-build#548
@dhellmann dhellmann marked this pull request as draft February 23, 2025 21:43
@dhellmann dhellmann marked this pull request as ready for review February 24, 2025 13:32
@dhellmann
Copy link
Member Author

Some sample output from a run downstream

pyproject-metadata: looking for candidates for <Requirement('pyproject-metadata>=0.7.1')>
pyproject-metadata: selecting <pyproject-metadata==0.9.0>
pyproject-metadata: successfully resolved <Requirement('pyproject-metadata>=0.7.1')>
pyproject-metadata: new build-system dependency pyproject-metadata>=0.7.1 resolves to 0.9.0
pyproject-metadata: checking if wheel was already uploaded to https://gitlab.com/api/v4/projects/66357902/packages/pypi/simple/
pyproject-metadata: looking for candidates for <Requirement('pyproject-metadata==0.9.0')>
pyproject-metadata: selecting <pyproject-metadata==0.9.0>
pyproject-metadata: successfully resolved <Requirement('pyproject-metadata==0.9.0')>
pyproject-metadata: has expected build tag (1, '')
pyproject-metadata: have existing wheel /work/bootstrap-output.cuda-ubi9/wheels-repo/downloads/pyproject_metadata-0.9.0-1-py3-none-any.whl
pyproject-metadata: found built wheel on cache server

@rd4398
Copy link
Contributor

rd4398 commented Feb 24, 2025

Looks good to me!

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.

Looks good

@mergify mergify bot merged commit feea4eb into python-wheel-build:main Feb 24, 2025
80 checks passed
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.

better logging for why a wheel is built in bootstrap
2 participants