Re: [DISCUSS] Separate the Python Functions from the installation of the Python client

2023-04-19 Thread Yunze Xu
Hi Pengcheng, > I think there is no need to setup a "functions" lib? Yes. Even before 3.2.0 (not released yet), users can still set up the functions by installing `pulsar-client` without the `functions` extra component and installing the other dependencies manually. Thanks, Yunze On Thu, Apr 20

Re: [DISCUSS] Separate the Python Functions from the installation of the Python client

2023-04-19 Thread Pengcheng Jiang
Hi Yunze, +1 for separating And for the migration progress: 1. since the `pulsar-functions` lib doesn't have any code but just a list of dependencies, I think there is no need to setup a "functions" lib? 2. we should update docs about what dependencies are required for Python functions 3. the Doc

Re: [DISCUSS] Separate the Python Functions from the installation of the Python client

2023-04-19 Thread Yunze Xu
Hi Neng, I think currently a simple solution is to document which dependencies should users install to use the Python Functions. Before: ``` # For version < 3.2.0 pip install pulsar-client[functions] ``` Now: ``` # For version >= 3.2.0 pip install pulsar-client pip install grpc-io # Other depe

Re: [DISCUSS] Separate the Python Functions from the installation of the Python client

2023-04-19 Thread Neng Lu
Hi Yunze, +1 for separating Python client and Python Pulsar Functions pip installation. On the Java side, the client lib and functions lib are also published separately. My concern is how the migration progress should look like, 1. we need to set up functions lib so that users can install it usi

[DISCUSS] Separate the Python Functions from the installation of the Python client

2023-04-19 Thread Yunze Xu
Hi all, The Python client has been separated since PIP-209 [1] and now the Python client is maintained in a separated repository [2]. However, the Python Function is still maintained in the main repo [3]. Currently, we can install the Python client with the following ways: 1. pip install pulsar-c