-
Notifications
You must be signed in to change notification settings - Fork 256
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
Windows python 3.8 wheel contains python 3.10 .pyd #1174
Comments
At first, did you check the last cibuilwheel release (2.8.0)? You use custom code for cmake builds. Could you verify by some artifact which python executable is passed to cmake? |
Just tested with the latest cibuildhweel 2.8.0 and I get the same issue: I'm using the pybind11 cmake script from https://github.com/pybind/cmake_example . Do you think this might be a pybind11 issue? @henryiii might be able to help. I also get a similar issue on MacOS but Linux is fine for some reason:
Will see if I can verify which python executable is passed to cmake. |
Two problems: You are setting the old FindPythonLibs/FindPythonInterp variables ( |
Ahh I see thank you so much! I missed the difference between |
Description
Hi,
I'm building a Windows Python 3.8 wheel using cibuildwheel (see CI config link).
But the resulting Python 3.8 wheel contains a Python 3.10
.pyd
:See the wheel on PyPI: https://pypi.org/project/gofit/#files
Predictably the package then fails to import with a
ModuleNotFoundError
(see build log link).I assume this must be an issue in cibuildhweel somewhere?
Build log
https://github.com/ralna/GOFit/runs/7302891517
CI config
https://github.com/ralna/GOFit/blob/master/.github/workflows/build_wheels.yml
The text was updated successfully, but these errors were encountered: