Skip to content

Conversation

neutrinoceros
Copy link
Contributor

@neutrinoceros neutrinoceros commented Jul 24, 2025

close #2511

disclaimer: I have not attempted to run tests locally yet (I have very limited battery at the moment), but I did run typechecking via pre-commit, which correctly caught a mistake in my initial iteration, so I'm reasonably confident in this patch.

@neutrinoceros
Copy link
Contributor Author

looks like I should have run tests locally after all... sorry for the time this wasted. Let's try again, this time including test changes.

@neutrinoceros neutrinoceros marked this pull request as ready for review July 24, 2025 11:42
@henryiii
Copy link
Contributor

Unrelated to this PR, but @mhsmith all PRs are getting this warning:

 Check notice on line 1 in cibuildwheel/platforms/pyodide.py

 
GitHub Actions
/ Linters (mypy, ruff, etc.)

R0401
Cyclic import (cibuildwheel.platforms -> cibuildwheel.platforms.android)

Pylint is detecting a circular import that Python is able to handle at runtime. Maybe there's a way to remove the circular pattern, or we can just silence the warning.

@henryiii henryiii merged commit 1ac7fa7 into pypa:main Jul 24, 2025
28 checks passed
@neutrinoceros neutrinoceros deleted the hotfix-summaries branch July 24, 2025 16:30
@mhsmith
Copy link
Member

mhsmith commented Jul 24, 2025

In this context the circular import is perfectly safe, so I've silenced it in #2515.


n = len(self.summary)
s = "s" if n > 1 else ""
n_wheels = len([info for info in self.summary if not info.filename])
Copy link
Contributor

Choose a reason for hiding this comment

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

@neutrinoceros The not here is looking wrong to me!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh my, definitely 🤦🏻‍♂️ I'll fix this in a minute

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#2517 👀

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.

BUG: incorrect reporting of the number of wheels produced

4 participants