Skip to content

chore: better error message when python is missing in an OCI image#1298

Merged
mayeut merged 1 commit intopypa:mainfrom
mayeut:better-error-no-python
Oct 9, 2022
Merged

chore: better error message when python is missing in an OCI image#1298
mayeut merged 1 commit intopypa:mainfrom
mayeut:better-error-no-python

Conversation

@mayeut
Copy link
Copy Markdown
Member

@mayeut mayeut commented Oct 8, 2022

Copy link
Copy Markdown
Contributor

@joerick joerick left a comment

Choose a reason for hiding this comment

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

Nice one.

Copy link
Copy Markdown
Contributor

@henryiii henryiii left a comment

Choose a reason for hiding this comment

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

If this was more library-like, this would be a good use for exceptiongroup/stdlib 3.11's ExceptionGroup. You'd collect the errors in a list then throw it, and catch and print them. (cattrs is using this very well already.) But we exit from cibuildwheel/<platform>.py in lots of other places already. :)

@mayeut mayeut merged commit 758dfec into pypa:main Oct 9, 2022
@mayeut mayeut deleted the better-error-no-python branch October 9, 2022 14:45
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.11 builds failing with v2.8.1 on manylinux2010 images

3 participants