Skip to content

Commit

Permalink
Update release instructions in Python 3.10 (#23702)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva authored Oct 19, 2022
1 parent 1179fdc commit 437c015
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
source release/src/main/python-release/run_release_candidate_python_quickstart.sh
source release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh

for version in 3.6 3.7 3.8
for version in 3.7 3.8 3.9 3.10
do
run_release_candidate_python_quickstart "tar" "python${version}"
run_release_candidate_python_mobile_gaming "tar" "python${version}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ function get_version() {
#######################################
function download_files() {
if [[ $1 = *"wheel"* ]]; then
if [[ $2 == "python3.6" ]]; then
BEAM_PYTHON_SDK_WHL="apache_beam-$VERSION*-cp36-cp36m-manylinux1_x86_64.whl"
elif [[ $2 == "python3.7" ]]; then
if [[ $2 == "python3.7" ]]; then
BEAM_PYTHON_SDK_WHL="apache_beam-$VERSION*-cp37-cp37m-manylinux1_x86_64.whl"
elif [[ $2 == "python3.8" ]]; then
BEAM_PYTHON_SDK_WHL="apache_beam-$VERSION*-cp38-cp38-manylinux1_x86_64.whl"
elif [[ $2 == "python3.9" ]]; then
BEAM_PYTHON_SDK_WHL="apache_beam-$VERSION*-cp39-cp39-manylinux1_x86_64.whl"
elif [[ $2 == "python3.10" ]]; then
BEAM_PYTHON_SDK_WHL="apache_beam-$VERSION*-cp310-cp310-manylinux1_x86_64.whl"
else
echo "Unable to determine a Beam wheel for interpreter version $2."
exit 1
Expand Down
1 change: 1 addition & 0 deletions release/src/main/scripts/mass_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"Run Python 3.7 PostCommit",
"Run Python 3.8 PostCommit",
"Run Python 3.9 PostCommit",
"Run Python 3.10 PostCommit",
"Run Python Dataflow V2 ValidatesRunner",
"Run Python Dataflow ValidatesContainer",
"Run Python Dataflow ValidatesRunner",
Expand Down

0 comments on commit 437c015

Please sign in to comment.