Skip to content

Commit

Permalink
Update system test apache-beam[gcp] sdk to the latest supported version
Browse files Browse the repository at this point in the history
Latest gcp supported version and known issues doc:
https://cloud.google.com/dataflow/docs/support/sdk-version-support-status.
  • Loading branch information
Oleg Kachur committed Oct 10, 2024
1 parent efcb554 commit d232e98
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions providers/tests/system/apache/beam/example_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
task_id="start_python_pipeline_local_direct_runner",
py_file="apache_beam.examples.wordcount",
py_options=["-m"],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
)
Expand All @@ -60,7 +60,7 @@
py_file=GCS_PYTHON,
py_options=[],
pipeline_options={"output": GCS_OUTPUT},
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
)
Expand All @@ -77,7 +77,7 @@
"output": GCS_OUTPUT,
},
py_options=[],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config=DataflowConfiguration(
Expand All @@ -91,7 +91,7 @@
py_file="apache_beam.examples.wordcount",
runner="SparkRunner",
py_options=["-m"],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
)
Expand All @@ -104,7 +104,7 @@
pipeline_options={
"output": "/tmp/start_python_pipeline_local_flink_runner",
},
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
)
Expand Down
10 changes: 5 additions & 5 deletions providers/tests/system/apache/beam/example_python_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
task_id="start_python_pipeline_local_direct_runner",
py_file="apache_beam.examples.wordcount",
py_options=["-m"],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
deferrable=True,
Expand All @@ -61,7 +61,7 @@
py_file=GCS_PYTHON,
py_options=[],
pipeline_options={"output": GCS_OUTPUT},
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
deferrable=True,
Expand All @@ -79,7 +79,7 @@
"output": GCS_OUTPUT,
},
py_options=[],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config=DataflowConfiguration(
Expand All @@ -95,7 +95,7 @@
py_file="apache_beam.examples.wordcount",
runner="SparkRunner",
py_options=["-m"],
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
deferrable=True,
Expand All @@ -111,7 +111,7 @@
pipeline_options={
"output": "/tmp/start_python_pipeline_local_flink_runner",
},
py_requirements=["apache-beam[gcp]==2.46.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
deferrable=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"output": GCS_OUTPUT,
},
py_options=[],
py_requirements=["apache-beam[gcp]==2.26.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config=DataflowConfiguration(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
pipeline_options={
"output": GCS_OUTPUT,
},
py_requirements=["apache-beam[gcp]==2.47.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config={"location": LOCATION, "job_name": "start_python_job"},
Expand All @@ -82,7 +82,7 @@
pipeline_options={
"output": GCS_OUTPUT,
},
py_requirements=["apache-beam[gcp]==2.47.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
pipeline_options={
"output": GCS_OUTPUT,
},
py_requirements=["apache-beam[gcp]==2.47.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
pipeline_options={
"output": GCS_OUTPUT,
},
py_requirements=["apache-beam[gcp]==2.47.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"output_topic": f"projects/{PROJECT_ID}/topics/{TOPIC_ID}",
"streaming": True,
},
py_requirements=["apache-beam[gcp]==2.47.0"],
py_requirements=["apache-beam[gcp]==2.59.0"],
py_interpreter="python3",
py_system_site_packages=False,
dataflow_config={"location": LOCATION, "job_name": "start_python_job_streaming"},
Expand Down

0 comments on commit d232e98

Please sign in to comment.