Skip to content

Commit f1a0855

Browse files
authored
Fix PostCommit Python ValidatesContainer Dataflow With RC job (#36016)
Fix PostCommit Python ValidatesContainer Dataflow With RC job
2 parents e8fab26 + e72d9c7 commit f1a0855

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sdks/python/container/common.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def generatePythonRequirements = tasks.register("generatePythonRequirements") {
4141
"${project.ext.pythonVersion} " +
4242
"${files(configurations.sdkSourceTarball.files).singleFile} " +
4343
"base_image_requirements.txt " +
44-
"container" +
44+
"container " +
4545
"[gcp,dataframe,test] " +
4646
"${pipExtraOptions}"
4747
}
@@ -52,7 +52,7 @@ def generatePythonRequirements = tasks.register("generatePythonRequirements") {
5252
"${project.ext.pythonVersion} " +
5353
"${files(configurations.sdkSourceTarball.files).singleFile} " +
5454
"ml_image_requirements.txt " +
55-
"container/ml" +
55+
"container/ml " +
5656
"[gcp,dataframe,test,tensorflow,torch,transformers] " +
5757
"${pipExtraOptions}"
5858
}

sdks/python/container/run_generate_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ EXTRAS=$5
4444
# Use the PIP_EXTRA_OPTIONS environment variable to pass additional flags to the pip install command.
4545
# For example, you can include the --pre flag in $PIP_EXTRA_OPTIONS to download pre-release versions of packages.
4646
# Note that you can modify the behavior of the pip install command in this script by passing in your own $PIP_EXTRA_OPTIONS.
47-
PIP_EXTRA_OPTIONS=$5
47+
PIP_EXTRA_OPTIONS=$6
4848

4949
if ! python"$PY_VERSION" --version > /dev/null 2>&1 ; then
5050
echo "Please install a python${PY_VERSION} interpreter. See s.apache.org/beam-python-dev-wiki for Python installation tips."

0 commit comments

Comments
 (0)