cibuildwheel icon indicating copy to clipboard operation
cibuildwheel copied to clipboard

Plain --print-build-identifiers currently requires --platform

Open henryiii opened this issue 2 years ago • 1 comments

I was interested to get the identifier I needed for --only, so I ran:

$ pipx run cibuildwheel --print-build-identifiers

cibuildwheel: Unable to detect platform. cibuildwheel should run on your CI server;
Travis CI, AppVeyor, Azure Pipelines, GitHub Actions, CircleCI, Gitlab, and Cirrus CI
are supported. You can run on your development machine or other CI providers
using the --platform argument. Check --help output for more information.

I feel like, especially now with --only, it should instead just print all platform's identifiers, so you know what to pick for --only.

henryiii avatar Aug 31 '23 12:08 henryiii

Yeah, that makes sense. For consistency, it should probably print them all even when a platform can be detected. Does that interfere with your GHA build-matrix generation method?

joerick avatar Sep 19 '23 13:09 joerick