Skip to content
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

[Fix] Pin avro==1.9.1 #3067

Merged
merged 14 commits into from
Feb 13, 2020
Merged
3 changes: 2 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ FROM python:3.5 as compiler
RUN apt-get update -y && \
apt-get install --no-install-recommends -y -q default-jdk python3-setuptools python3-dev
RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
RUN python3 -m pip install tfx==0.21.0rc0
# pin avro==1.9.1 because installing just tfx brings avro 1.9.2, which breaks the build
RUN python3 -m pip install avro-python3==1.9.1 tfx==0.21.0rc0

WORKDIR /go/src/github.com/kubeflow/pipelines
COPY sdk sdk
Expand Down
1 change: 1 addition & 0 deletions backend/src/apiserver/visualization/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
avro-python3==1.9.1
bokeh==1.2.0
gcsfs==0.2.3
google-api-python-client==1.7.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ absl-py,https://github.com/abseil/abseil-py/blob/master/LICENSE,Apache 2.0
apache-beam,https://github.com/apache/beam/blob/master/LICENSE,Apache 2.0
astor,https://github.com/berkerpeksag/astor/blob/master/LICENSE,BSD-3
attrs,https://github.com/python-attrs/attrs/blob/master/LICENSE,MIT
avro,https://github.com/apache/avro/blob/master/LICENSE.txt,Apache 2.0
avro-python3,https://github.com/apache/avro/blob/master/LICENSE.txt,Apache 2.0
backcall,https://github.com/takluyver/backcall/blob/master/LICENSE,BSD-3
bleach,https://github.com/mozilla/bleach/blob/master/LICENSE,Apache 2.0
Expand Down
2 changes: 1 addition & 1 deletion test/sample-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN pip3 install google-api-python-client==1.7.0
RUN pip3 install google-cloud-storage==1.17.0
RUN pip3 install fire==0.2.1
RUN pip3 install yamale==2.0
RUN pip3 install tfx==0.21.0rc0
RUN pip3 install tfx==0.21.0rc0 avro-python3==1.9.1

# Install python client, including DSL compiler.
COPY ./sdk/python /sdk/python
Expand Down