Replies: 1 comment
-
Resolved here: pypa/hatch#1955 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This may be an issue with Hatch (my post there explaining my situation is copied below)
My strategy is below (a modified version of this example):
The code below is the relevant part that calls cibuildwheel after everything in the package directory is setup:
The action always fails immediately due to this message:
Build failed because a pure Python wheel was generated.
If you intend to build a pure-Python wheel, you don't need
cibuildwheel - use
pip wheel .
,pipx run build --wheel
,uv build --wheel
, etc. instead. You only need cibuildwheel if youhave compiled (not Python) code in your wheels making them depend
on the platform.
As mentioned in my other post, this may be an issue with Hatch, but given that I can verify that it is able to include the shared library in the package, I am hoping someone can point me in the right direction on how to produce a platform specific wheel.
Beta Was this translation helpful? Give feedback.
All reactions