You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jr...@apache.org on 2024/08/27 17:46:59 UTC
(beam) branch py38dep updated: update more files
This is an automated email from the ASF dual-hosted git repository.
jrmccluskey pushed a commit to branch py38dep
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/py38dep by this push:
new 3cec63434f6 update more files
3cec63434f6 is described below
commit 3cec63434f6225b18e1b350d4ba6a2a6349c5176
Author: Jack McCluskey <th...@gmail.com>
AuthorDate: Tue Aug 27 13:46:44 2024 -0400
update more files
---
.github/workflows/build_wheels.yml | 2 +-
.../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 4 ++--
.../test-suites/containers/tensorrt_runinference/tensor_rt.dockerfile | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index ae43fd7e862..4d2b2fbca6e 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -234,7 +234,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: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
+ py_version: ["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
diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 6f8e776d473..0d1a4eb415e 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -2866,7 +2866,7 @@ class BeamModulePlugin implements Plugin<Project> {
// Transform service delivers transforms that refer to SDK harness containers with following sufixes.
def transformServiceJavaContainerSuffix = 'java11'
- def transformServicePythonContainerSuffix = '38'
+ def transformServicePythonContainerSuffix = '39'
def setupTask = project.tasks.register(config.name+"Setup", Exec) {
// Containers for main SDKs when running tests.
@@ -3144,10 +3144,10 @@ 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',
+ ':sdks:python:container:py312:docker',
]
doLast {
// TODO: Figure out GCS credentials and use real GCS input and output.
diff --git a/sdks/python/test-suites/containers/tensorrt_runinference/tensor_rt.dockerfile b/sdks/python/test-suites/containers/tensorrt_runinference/tensor_rt.dockerfile
index 6d99a6393fa..c51099264e8 100644
--- a/sdks/python/test-suites/containers/tensorrt_runinference/tensor_rt.dockerfile
+++ b/sdks/python/test-suites/containers/tensorrt_runinference/tensor_rt.dockerfile
@@ -22,7 +22,7 @@ ENV PATH="/usr/src/tensorrt/bin:${PATH}"
WORKDIR /workspace
-COPY --from=apache/beam_python3.8_sdk:latest /opt/apache/beam /opt/apache/beam
+COPY --from=apache/beam_python3.9_sdk:latest /opt/apache/beam /opt/apache/beam
RUN pip install --upgrade pip \
&& pip install torch>=1.7.1 \
@@ -32,4 +32,4 @@ RUN pip install --upgrade pip \
&& pip install cuda-python
ENTRYPOINT [ "/opt/apache/beam/boot" ]
-RUN apt-get update && apt-get install -y python3.8-venv
+RUN apt-get update && apt-get install -y python3.9-venv