Skip to content

Commit

Permalink
Restore release-essential references to 3.8 (#32499)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey authored Sep 18, 2024
1 parent ef53217 commit 7daeadf
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/beam_Publish_Beam_SDK_Snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
- "java:container:java11"
- "java:container:java17"
- "java:container:java21"
- "python:container:py38"
- "python:container:py39"
- "python:container:py310"
- "python:container:py311"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
env:
EVENT_NAME: ${{ github.event_name }}
# Keep in sync with py_version matrix value below - if changed, change that as well.
PY_VERSIONS_FULL: "cp39-* cp310-* cp311-* cp312-*"
PY_VERSIONS_FULL: "cp38-* cp39-* cp310-* cp311-* cp312-*"
outputs:
gcp-variables-set: ${{ steps.check_gcp_variables.outputs.gcp-variables-set }}
py-versions-full: ${{ steps.set-py-versions.outputs.py-versions-full }}
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
{"os": "ubuntu-20.04", "runner": [self-hosted, ubuntu-20.04, main], "python": "${{ needs.check_env_variables.outputs.py-versions-test }}", arch: "aarch64" }
]
# Keep in sync with PY_VERSIONS_FULL env var abvove - if changed, change that as well.
py_version: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
py_version: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
steps:
- name: Download python source distribution from artifacts
# Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_python_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: |
3.8
3.9
3.10
3.11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3145,6 +3145,7 @@ class BeamModulePlugin implements Plugin<Project> {
mustRunAfter = [
":runners:flink:${project.ext.latestFlinkVersion}:job-server:shadowJar",
':runners:spark:3:job-server:shadowJar',
':sdks:python:container:py38:docker',
':sdks:python:container:py39:docker',
':sdks:python:container:py310:docker',
':sdks:python:container:py311:docker',
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ docker_image_default_repo_prefix=beam_
# supported flink versions
flink_versions=1.15,1.16,1.17,1.18
# supported python versions
python_versions=3.9,3.10,3.11,3.12
python_versions=3.8,3.9,3.10,3.11,3.12
4 changes: 2 additions & 2 deletions local-env-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ "$kernelname" = "Linux" ]; then
exit
fi

for ver in 3.9 3.10 3.11 3.12 3; do
for ver in 3.8 3.9 3.10 3.11 3.12 3; do
apt install --yes python$ver-venv
done

Expand Down Expand Up @@ -89,7 +89,7 @@ elif [ "$kernelname" = "Darwin" ]; then
echo "Installing openjdk@8"
brew install openjdk@8
fi
for ver in 3.9 3.10 3.11 3.12; do
for ver in 3.8 3.9 3.10 3.11 3.12; do
if brew ls --versions python@$ver > /dev/null; then
echo "python@$ver already installed. Skipping"
brew info python@$ver
Expand Down
3 changes: 2 additions & 1 deletion release/src/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ RUN curl https://pyenv.run | bash && \
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> /root/.bashrc && \
echo ''eval "$(pyenv init -)"'' >> /root/.bashrc && \
source /root/.bashrc && \
pyenv install 3.8.9 && \
pyenv install 3.9.4 && \
pyenv install 3.10.7 && \
pyenv install 3.11.3 && \
pyenv install 3.12.3 && \
pyenv global 3.9.4 3.10.7 3.11.3 3.12.3
pyenv global 3.8.9 3.9.4 3.10.7 3.11.3 3.12.3

# Install a Go version >= 1.16 so we can bootstrap higher
# Go versions
Expand Down
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.9 3.10 3.11 3.12
for version in 3.8 3.9 3.10 3.11 3.12
do
run_release_candidate_python_quickstart "tar" "python${version}"
run_release_candidate_python_mobile_gaming "tar" "python${version}"
Expand Down

0 comments on commit 7daeadf

Please sign in to comment.