You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@99a13277f8eb ~]# pip install snagboot
[...] long logs and build failures
We see errors such:
/tmp/pip-install-j9ti8x4b/kivy_0e9b85324a1749da9ae5d4e405dfadf9/kivy/_clock.c: In function ‘__Pyx_PyInt_As_long’:
/tmp/pip-install-j9ti8x4b/kivy_0e9b85324a1749da9ae5d4e405dfadf9/kivy/_clock.c:33647:23: error: too few arguments to function ‘_PyLong_AsByteArray’
33647 | ret = _PyLong_AsByteArray((PyLongObject *)v,
| ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
Hello Mattijs, thanks for the detailed bug report!
This issue seems to occur when using python3.13. Kivy does not (yet?) provide prebuilt wheels for python3.13 on Linux. So pip tries to build the wheel from source, which fails because the Kivy source build requires specific versions of some dependencies (see kivy docs.
Once a newer version of Kivy with prebuilt wheels for Python3.13 is released to Pypi, I'll see if I can upgrade the dependency in Snagboot so that people don't encounter this issue.
For now, a possible workaround is to use Python3.12 instead:
dnf install python3.12-devel
#download and check integrity of get-pip script from https://bootstrap.pypa.io/get-pip.py
python3.12 get-pip.py
python3.12 -m pip install snagboot
Steps to reproduce:
We see errors such:
Full log attached here:
kivi_install_fail.txt
Work-around on Fedora Workstation 41: install an older version of snagboot with:
The text was updated successfully, but these errors were encountered: