Skip to content

Commit 0899aa2

Browse files
Use latest protobuf in python image
1 parent 78e3688 commit 0899aa2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

images/pulsar-functions-python-runner/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ RUN rm -rf /pulsar/instances/python-instance/pulsar/ \
4242

4343

4444
USER $USER
45-
# a temp solution from https://github.com/apache/pulsar/pull/15846 to fix python protobuf version error
46-
RUN pip3 install protobuf==3.20.2 --user
45+
RUN pip3 install protobuf --upgrade --user
4746
# to make the python runner could print json logs
4847
RUN pip3 install python-json-logger --user

images/pulsar-functions-python-runner/pulsarctl.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ RUN rm -rf /pulsar/instances/python-instance/pulsar/ \
6464
WORKDIR /pulsar
6565

6666
USER $USER
67-
# a temp solution from https://github.com/apache/pulsar/pull/15846 to fix python protobuf version error
68-
RUN pip3 install protobuf==3.20.2 --user
67+
RUN pip3 install protobuf --upgrade --user
6968
# to make the python runner could print json logs
7069
RUN pip3 install python-json-logger --user

0 commit comments

Comments
 (0)