Skip to content

Commit

Permalink
[Fix] Pin avro==1.9.1 (#3067)
Browse files Browse the repository at this point in the history
* pin

* pin

* remove

* pin in docker

* correct name

* add license (why)

* revert avro

* Update backend/src/apiserver/visualization/third_party_licenses.csv

* Pin avro 1.9.1 for backend dockerfile

* pin in sample test image

* Update Dockerfile

* fix typo

Co-authored-by: Yuan (Bob) Gong <gongyuan94@gmail.com>
  • Loading branch information
Jiaxiao Zheng and Bobgy authored Feb 13, 2020
1 parent 1a8225f commit 7876f78
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
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

0 comments on commit 7876f78

Please sign in to comment.