[go: nahoru, domu]

Skip to content

Commit

Permalink
Pin google-api-core version due to protobuf v4.21.0 tensorflow incomp…
Browse files Browse the repository at this point in the history
…atibility.

tensorflow/tensorflow#56077

PiperOrigin-RevId: 474432447
  • Loading branch information
brandonmayer authored and tensorflower-gardener committed Sep 15, 2022
1 parent 5d8e14e commit 2f359bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ RUN python3.9 -m venv ${VIRTUAL_ENV}
ENV PATH="${VIRTUAL_ENV}/bin:/app/tensorflow_gnn:${PATH}"
RUN pip3 install --upgrade pip

# TODO(b/246860101) Remove pins when protobuf-4/tensorflow incompatibilities are resolved.
# TF issue: https://github.com/tensorflow/tensorflow/issues/56077
RUN pip3 install "google-api-core==1.31.0" "apache-beam[gcp]==2.38.0" httplib2 notebook ogb

# Add `--no-cache-dir` if disk space is an issue.
RUN python3 -m pip install /app

RUN pip3 install -U "apache-beam[gcp]>=2.37.0" httplib2 notebook ogb

# Install the apache beam sdk for local and dataflow runner support.
COPY --from=apache/beam_python3.9_sdk /opt/apache/beam /opt/apache/beam

Expand Down

0 comments on commit 2f359bb

Please sign in to comment.