-
Notifications
You must be signed in to change notification settings - Fork 112
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
Providing the package as a wheel #178
Comments
The input_event definition in the Linux kernel should be pretty stable, which would make it possible to build this package and distribute it as a wheel. |
@jonasclaes @gvalkov @sezanzeb @KarsMulder Hi! I would like to clarify the minimum kernel version this package requires. It seems that when I'm building on a kernel header without the
The kernel header available next in line (other than v3.10.0 which corresponds to CentOS 7) is v4.18.0. |
Hello! I am here to clean up the mess I created. Pull request #218 should make this package work even on kernels that don't have |
Will it work on CentOS 6 (kernel 2.6.32, without input-event-codes.h) as well as CentOS 7 (kernel 3.10.0) then? Would like a v1.7.1 release ASAP then, as Conda only accepts official releases. |
Even after fixing the CentOS 6 has been EOL since November 30th, 2020. I have not tested functionality on that operating system. |
Great, thank you! |
Some sort of github pipeline would be nice to have. And I think someone (Maybe me, but I'm a tad busy with life right now) should check and improve the automated tests, I think they aren't working. |
Well, I'm glad I'm not the only one anymore who broke something in python-evdev. Though I did some pretty weird stuff back then. |
The pipeline is simple and good. It just needs to test some more complex capabilities that is easy to break in more OSes. Looking forward to the merge and .1 release (which earlier is better for me). |
They are merged. Can you please check if it builds correctly for you now? |
On it. |
All good. @KarsMulder @sezanzeb |
Looking for feedback from @gvalkov on the .1 release. |
It seems that in Ubuntu 22.04 (Python 3.10.6, pip 22.0.2) but not Ubuntu 20.04 (Python 3.8) or Ubuntu 24.04 (Python 3.12), the following error consistently shows during a pip install, preventing the installation of v1.7.0.
|
Hello and sorry for the terrible delay. I've just uploaded 1.7.1 to pypi. I have the best intention to soon provide binary wheels in a manner similar to how psycopg2 does it (i.e. Thanks to everyone involved in this. |
Hi @ehfd, Just gave it a quick try and can confirm that it doesn't work with the system-python and system pip. It seems to work when it is installed in a virtualenv: $ python3 -m venv test
$ test/bin/pip install evdev
$ test/bin/pip freeze
evdev==1.7.1
$ test/bin/python3 -c 'import sys, setuptools, pip; print(sys.version, setuptools.__version__, pip.__version__, sep=", ")'
3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0], 59.6.0, 22.0.2 Upgrading pip also seems to solve it. My gut feeling is that this is something Debian/Ubuntu related. |
Version 1.7.1 is now also available as a binary wheel, through the |
Great. The conda-forge feedstock will be compiled with CentOS 7 (manylinux_2_17/2014) on x64, aarch64, ppc64le when it gets approved. |
https://github.com/conda-forge/evdev-feedstock We have a Conda feedstock. Please tell me if any of you'd like to be added as a maintainer. |
@gvalkov You should have received an invitation to conda-forge. |
Hi,
Do you know if it would be possible to provide wheels (manylinux one even https://github.com/pypa/manylinux ) for this package?
The project can be built as a wheel just fine with
python -m build
andauditwheel repair evdev-1.6.0-cp39-cp39-linux_x86_64.whl
works as well.But my gut feeling tells me that this might not be that easy, especially because the project depends on Kernel headers during the build process and the resulting wheel would then become kernel dependent?
Could someone please confirm this for me?
Thanks for your help :)
The text was updated successfully, but these errors were encountered: