-
Notifications
You must be signed in to change notification settings - Fork 906
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
Feature: Pre-built binary support for Alpine #520
Comments
My apologies I closed #387 since the work around worked for the requester and Alpine is not yet an officially supported platform. There is a growing amount of interest in Alpine support however so we will likely add support in the future. In the meantime building librdkafka on Alpine isn't too terrible, albeit a tiny bit of work. You can see how I do it at the link below. https://github.com/rnpridgeon/clients_dev Either way I'll leave this Issue open as a feature request for Alpine support. |
Thank you for references but we would prefer to use all dependencies from official repositories, so for now we are installing librdkafka from Alpine Edge: https://github.com/openstack/monasca-common/blob/master/docker/Dockerfile#L83-L90 |
100% understood. This is on the roadmap although I can't give an ETA at this point. I'll keep this issue open and use it to track the feature. Do you mind if I edit the title to reflect this? |
Alpine, or rather specifix linux distros, is not supported by Python wheels. As a temporary workaround we're looking into providing alpine wheels by using a separate package name, e.g. confluent-kafka-alpine, or perhaps a confluent-kafka[alpine] sub-package. |
@rnpridgeon Yes, you can change everything that will work better for you. |
|
Any updates on this? |
Would indeed be nice to have prebuilt alpine binaries. Makes consuming some alpine based images much easier as I would be able to use officially produced images and build on top of them instead of having to maintain my own. |
Is there any work going on on this? |
@edenhill, now that PEP 656 has been implemented by cibuildwheel and warehouse (reference), providing wheels for Alpine using separate package or extra won't be needed. |
Description
Pre-build binary wheels are not working on Alpine and pip is trying to compile library from sources on this system. Installing from sources is working but we need librdkafka version from Alpine Edge version, because the one in last stable release (3.8) is too old (0.11.4).
Related to #387 (comment) . Not sure why #387 was closed.
How to reproduce
Logs output
Same command with ubuntu is working fine and installing library properly (without installing
librdkafka
):Logs output
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
):('0.11.6', 722687)
{...}
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: