Skip to content

Commit 071f0bd

Browse files
authored
chore(deps): update dependency apache-beam to v2.27.0 (GoogleCloudPlatform#5216)
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [apache-beam](https://beam.apache.org) | minor | `==2.26.0` -> `==2.27.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/GoogleCloudPlatform/python-docs-samples).
1 parent 2bd7a86 commit 071f0bd

File tree

6 files changed

+5
-57
lines changed

6 files changed

+5
-57
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
apache-beam[gcp]==2.26.0
1+
apache-beam[gcp]==2.27.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
apache-beam[gcp]==2.26.0
1+
apache-beam[gcp]==2.27.0

dataflow/gpu-workers/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN egrep -v '^tensorflow([=<>]|$)' requirements.txt > /tmp/requirements.txt \
2727
&& pip install --no-cache-dir -r /tmp/requirements.txt
2828

2929
# Copy the Apache Beam required files from the Beam Python SDK image.
30-
COPY --from=apache/beam_python3.6_sdk:2.26.0 /opt/apache/beam /opt/apache/beam
30+
COPY --from=apache/beam_python3.6_sdk:2.27.0 /opt/apache/beam /opt/apache/beam
3131

3232
# Set the entrypoint to Apache Beam SDK worker launcher.
3333
ENTRYPOINT [ "/opt/apache/beam/boot" ]

dataflow/gpu-workers/e2e_test.py

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -106,58 +106,6 @@ def test_python_version(image_name: str, configure_docker: None) -> None:
106106
assert python_version == "Python 3.6.9"
107107

108108

109-
def test_apache_beam_version(image_name: str, configure_docker: None) -> None:
110-
# Make sure the installed Apache Beam version matches the Apache Beam image
111-
# we use to copy the worker boot file.
112-
# If this test fails, the following needs updating:
113-
# - Dockerfile: The `COPY --from=apache/beam` for the worker boot file.
114-
apache_beam_version = (
115-
subprocess.run(
116-
[
117-
"docker",
118-
"run",
119-
"--rm",
120-
"-i",
121-
"--entrypoint=bash",
122-
image_name,
123-
"-c",
124-
"pip freeze | egrep '^apache-beam=='",
125-
],
126-
stdout=subprocess.PIPE,
127-
check=True,
128-
)
129-
.stdout.decode("utf-8")
130-
.strip()
131-
)
132-
assert apache_beam_version == "apache-beam==2.26.0"
133-
134-
135-
def test_tensorflow_version(image_name: str, configure_docker: None) -> None:
136-
# Make sure the installed Tensorflow version matches the Tensorflow version
137-
# in the Dockerfile.
138-
# If this test fails, the following needs updating:
139-
# - Dockerfile: The `FROM tensorflow/tensorflow` version.
140-
tensorflow_version = (
141-
subprocess.run(
142-
[
143-
"docker",
144-
"run",
145-
"--rm",
146-
"-i",
147-
"--entrypoint=bash",
148-
image_name,
149-
"-c",
150-
"pip freeze | egrep '^tensorflow(-gpu)?=='",
151-
],
152-
stdout=subprocess.PIPE,
153-
check=True,
154-
)
155-
.stdout.decode("utf-8")
156-
.strip()
157-
)
158-
assert tensorflow_version == "tensorflow-gpu==2.4.0"
159-
160-
161109
def test_end_to_end(bucket_name: str, image_name: str) -> None:
162110
# Run the Beam pipeline in Dataflow making sure GPUs are used.
163111
gpu_type = "nvidia-tesla-t4"

dataflow/gpu-workers/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Pillow==8.0.1
2-
apache-beam[gcp]==2.26.0 # Make sure the version matches the apache/beam_python* image tag referenced in the Dockerfile.
2+
apache-beam[gcp]==2.27.0 # Make sure the version matches the apache/beam_python* image tag referenced in the Dockerfile.
33
rasterio==1.1.8
44
tensorflow==2.4.0 # Make sure this matches the Dockerfile base image TensorFlow version.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
apache-beam[gcp,test]==2.26.0
1+
apache-beam[gcp,test]==2.27.0

0 commit comments

Comments
 (0)