vicaya opened a new issue #4089: 2.3+ python client depends on bookkeeper client
URL: https://github.com/apache/pulsar/issues/4089
 
 
   **Describe the bug**
   2.3+ python client pip install doesn't work on python slim images, as it 
pulls in bookkeeper client, which requires gcc to compile a source only 
dependency (mmh3). This breaks existing build systems that rely on python slim 
images.
   
   **To Reproduce**
   Use this Dockerfile
   ```
   FROM python:3.6-slim
   RUN pip install pulsar-client
   ```
   
   **Expected behavior**
   Before 2.3 the above Dockerfile works fine
   
   **Additional context**
   It appears that the bookkeeper client got pulled into pulsar-client to 
support pulsar-function writing, which is a new feature. I suggest that we 
create a separate pulsar-function-client package that depends on the lighter 
weight pulsar-client.
   
   In some cases, the workaround is to use the full python image (928MB vs 
138MB), which may not be possible in other cases.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to