confluent-kafka-python
confluent-kafka-python copied to clipboard
PEP517
Can you explain what problems it would solve?
Because I'm packaging for gentoo overlay ::guru and now non PEP517 build are considered legacy see https://projects.gentoo.org/python/guide/distutils.html#the-pep-517-and-legacy-modes
It is unlikely that we'll spend time migrating to PEP517 until the current build system is considered a blocker. But if you want to submit a PR we would definitely take a look and see if it is a feasible way forward.
Do note that our build and release process is a bit complex due to the multi-platform support and bundled C libraries.
cross referencing with: https://github.com/confluentinc/confluent-kafka-python/issues/1403
So how do we install this on a linux system if we are using python 3.11? In a dockerfile of "FROM python:3.11-slim" I cannot install "confluent-kafka" as it gives me:
""" #0 9.999 Note: This error originates from the build backend, and is likely not a problem with poetry but with confluent-kafka (2.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "confluent-kafka (==2.0.2)"'. """
Faced same issue for my build as well - Note: This error originates from the build backend, and is likely not a problem with poetry but with confluent-kafka (1.9.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "confluent-kafka (==1.9.2)"'.
So how do we install this on a linux system if we are using python 3.11? In a dockerfile of "FROM python:3.11-slim" I cannot install "confluent-kafka" as it gives me:
""" #0 9.999 Note: This error originates from the build backend, and is likely not a problem with poetry but with confluent-kafka (2.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "confluent-kafka (==2.0.2)"'. """
Is there a workaround for this issue or the only alternative is to switch to another Kafka client? Any suggestions on how to solve it? I am using confluent-kafka 2.3.0
We are facing the same issue, is there any working solution how to solve this issue?
I have same issue when try to install with Docker python 3.12 . Any active attentions from teams for this issue ?
at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with confluent-kafka (2.1.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "confluent-kafka (==2.1.1)"'.
Hi @mhowlett @edenhill @ekeric13 @rc-ctream @RajendraP @Alessandro-Barbieri @sergeykad @cuongquach , I am getting the below error while using python3.10.14-alpine as base image , if anyone else has successfully found a turnaround or fixes then please help here it is urgent.
Error : 68.42 Note: This error originates from the build backend, and is likely not a problem with poetry but with confluent-kafka (2.3.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "confluent-kafka (==2.3.0)"'.