-
Notifications
You must be signed in to change notification settings - Fork 34
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
Cannot build cmake if package versioneer is installed #171
Comments
This should work well with build isolation. How is the wheel built ? where can we see logs ? |
Build log is here: https://paste.debian.net/1206146/ |
Thanks for the log. Unfortunately, it does not show how pip is invoked & I guess something in there might help us reproduce/understand the issue before fixing it (& check it's fixed). |
The pip command we run is:
as per https://github.com/piwheels/piwheels/blob/master/piwheels/slave/builder.py#L439 |
Thanks. I could not reproduce with:
but I could with the following which I suspected:
============ with the following
or the following environment variable
fails as well which suggest one or the other is probably used on your builder. I will nevertheless fix the issue for "--no-build-isolation" builds now that I can reproduce/verify it. |
Thanks, I've tested building from github and it worked 👍 |
cmake 3.21.1.post1 is now available on PyPI with this fix. |
Thanks! It's building now (will work through the ABIs one-by-one): https://www.piwheels.org/project/cmake/ (I built the last few versions myself and imported them) |
Thank you to both of you, @bennuttall and @mayeut ! |
Built successfully for all ABIs now 👍 |
I tried to build cmake and I experienced this error:
I have the library versioneer installed it's importing that. But the versioneer module doesn't have a
get_version()
function.I discovered is that
import versioneer
in cmake's setup.py does not intend to import this library, it is supposed to import a file called versioneer.py.Unfortunately this means you can't build cmake if you have the library versioneer installed.
FYI I discovered this as it was reported that recent versions of cmake were missing from the piwheels index. The issue was reported here: piwheels/packages#227
The text was updated successfully, but these errors were encountered: