Closed JanLahmann closed 3 years ago
Ok, this is an unusual one. I've just tracked down why this is failing.
The failure boils down to:
File "setup.py", line 33, in <module>
version=versioneer.get_version(),
AttributeError: module 'versioneer' has no attribute 'get_version'
We have the library versioneer installed on the piwheels builders but this output is complaining that the module doesn't have a get_version
function. We have the latest version installed, so it's not that.
However, what 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.
I will report this issue to cmake and I'll manually build the recent failing versions and import them in the next few days.
Thank you, @bennuttall . That is great !
All imported:
If you see another release that fails in future, feel free to reopen this issue and I'll build it again.
Hopefully cmake will fix the issue before too long.
Package name
cmake
Package version
3.21.1
PyPI URL
https://pypi.org/project/cmake/
piwheels URL
https://www.piwheels.org/project/cmake/
Python version
I am the maintainer
More information
The latest cmake versions cannot be build with the default
sudo pip3 install cmake
But the following seems to work:
Could you update the procedure accordingly ?