This is an automated email from the ASF dual-hosted git repository.

jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 55c5854e6a3 Remove remaining ununsed Python 3.9 artifacts (#36812)
55c5854e6a3 is described below

commit 55c5854e6a312f7f323c74a8645cf4ccb22f56fe
Author: Jack McCluskey <[email protected]>
AuthorDate: Thu Nov 13 12:50:36 2025 -0500

    Remove remaining ununsed Python 3.9 artifacts (#36812)
---
 sdks/python/container/distroless/py39/build.gradle |  28 ---
 .../container/ml/py39/base_image_requirements.txt  | 228 --------------------
 sdks/python/container/ml/py39/build.gradle         |  28 ---
 .../container/py39/base_image_requirements.txt     | 194 -----------------
 sdks/python/container/py39/build.gradle            |  28 ---
 sdks/python/test-suites/dataflow/py39/build.gradle |  24 ---
 sdks/python/test-suites/direct/py39/build.gradle   |  24 ---
 sdks/python/test-suites/portable/py39/build.gradle |  26 ---
 sdks/python/test-suites/tox/py39/build.gradle      | 236 ---------------------
 9 files changed, 816 deletions(-)

diff --git a/sdks/python/container/distroless/py39/build.gradle 
b/sdks/python/container/distroless/py39/build.gradle
deleted file mode 100644
index c5f55ae53af..00000000000
--- a/sdks/python/container/distroless/py39/build.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-plugins {
-    id 'base'
-    id 'org.apache.beam.module'
-}
-applyDockerNature()
-applyPythonNature()
-
-pythonVersion = '3.9'
-
-apply from: "../common.gradle"
diff --git a/sdks/python/container/ml/py39/base_image_requirements.txt 
b/sdks/python/container/ml/py39/base_image_requirements.txt
deleted file mode 100644
index ba76be53c48..00000000000
--- a/sdks/python/container/ml/py39/base_image_requirements.txt
+++ /dev/null
@@ -1,228 +0,0 @@
-#    Licensed to the Apache Software Foundation (ASF) under one or more
-#    contributor license agreements.  See the NOTICE file distributed with
-#    this work for additional information regarding copyright ownership.
-#    The ASF licenses this file to You under the Apache License, Version 2.0
-#    (the "License"); you may not use this file except in compliance with
-#    the License.  You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS,
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#    See the License for the specific language governing permissions and
-#    limitations under the License.
-
-# Autogenerated requirements file for Apache Beam py39 container image.
-# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
-# Do not edit manually, adjust ../base_image_requirements_manual.txt or
-# Apache Beam's setup.py instead, and regenerate the list.
-# You will need Python interpreters for all versions supported by Beam, see:
-# https://s.apache.org/beam-python-dev-wiki
-# Reach out to a committer if you need help.
-
-absl-py==2.3.1
-aiofiles==25.1.0
-aiohappyeyeballs==2.6.1
-aiohttp==3.13.2
-aiosignal==1.4.0
-annotated-types==0.7.0
-anyio==4.11.0
-asn1crypto==1.5.1
-astunparse==1.6.3
-async-timeout==5.0.1
-attrs==25.4.0
-backports.tarfile==1.2.0
-beartype==0.21.0
-beautifulsoup4==4.14.2
-bs4==0.0.2
-build==1.3.0
-cachetools==6.2.1
-certifi==2025.10.5
-cffi==2.0.0
-charset-normalizer==3.4.4
-click==8.1.8
-cloud-sql-python-connector==1.18.5
-crcmod==1.7
-cryptography==46.0.3
-Cython==3.1.6
-dill==0.3.1.1
-dnspython==2.7.0
-docker==7.1.0
-docopt==0.6.2
-docstring_parser==0.17.0
-exceptiongroup==1.3.0
-execnet==2.1.1
-fastavro==1.12.1
-fasteners==0.20
-filelock==3.19.1
-flatbuffers==25.9.23
-freezegun==1.5.5
-frozenlist==1.8.0
-fsspec==2025.10.0
-future==1.0.0
-gast==0.6.0
-google-api-core==2.28.1
-google-api-python-client==2.186.0
-google-apitools==0.5.31
-google-auth==2.42.1
-google-auth-httplib2==0.2.1
-google-cloud-aiplatform==1.124.0
-google-cloud-bigquery==3.38.0
-google-cloud-bigquery-storage==2.34.0
-google-cloud-bigtable==2.34.0
-google-cloud-core==2.5.0
-google-cloud-datastore==2.21.0
-google-cloud-dlp==3.33.0
-google-cloud-language==2.18.0
-google-cloud-profiler==4.1.0
-google-cloud-pubsub==2.33.0
-google-cloud-pubsublite==1.12.0
-google-cloud-recommendations-ai==0.10.18
-google-cloud-resource-manager==1.15.0
-google-cloud-secret-manager==2.25.0
-google-cloud-spanner==3.59.0
-google-cloud-storage==2.19.0
-google-cloud-videointelligence==2.17.0
-google-cloud-vision==3.11.0
-google-crc32c==1.7.1
-google-genai==1.47.0
-google-pasta==0.2.0
-google-resumable-media==2.7.2
-googleapis-common-protos==1.71.0
-greenlet==3.2.4
-grpc-google-iam-v1==0.14.3
-grpc-interceptor==0.15.4
-grpcio==1.65.5
-grpcio-status==1.65.5
-guppy3==3.1.5
-h11==0.16.0
-h5py==3.14.0
-hdfs==2.7.3
-hf-xet==1.2.0
-httpcore==1.0.9
-httplib2==0.22.0
-httpx==0.28.1
-huggingface-hub==0.36.0
-hypothesis==6.141.1
-idna==3.11
-importlib_metadata==8.7.0
-iniconfig==2.1.0
-jaraco.classes==3.4.0
-jaraco.context==6.0.1
-jaraco.functools==4.3.0
-jeepney==0.9.0
-Jinja2==3.1.6
-joblib==1.5.2
-jsonpickle==3.4.2
-keras==3.10.0
-keyring==25.6.0
-keyrings.google-artifactregistry-auth==1.1.2
-libclang==18.1.1
-Markdown==3.9
-markdown-it-py==3.0.0
-MarkupSafe==3.0.3
-mdurl==0.1.2
-milvus-lite==2.5.1
-ml_dtypes==0.5.3
-mmh3==5.2.0
-mock==5.2.0
-more-itertools==10.8.0
-mpmath==1.3.0
-multidict==6.7.0
-namex==0.1.0
-networkx==3.2.1
-nltk==3.9.2
-numpy==2.0.2
-oauth2client==4.1.3
-objsize==0.7.1
-opentelemetry-api==1.38.0
-opentelemetry-sdk==1.38.0
-opentelemetry-semantic-conventions==0.59b0
-opt_einsum==3.4.0
-optree==0.17.0
-oracledb==3.4.0
-orjson==3.11.4
-overrides==7.7.0
-packaging==25.0
-pandas==2.2.3
-parameterized==0.9.0
-pg8000==1.31.5
-pillow==11.3.0
-pip==25.3
-pluggy==1.6.0
-propcache==0.4.1
-proto-plus==1.26.1
-protobuf==5.29.5
-psycopg2-binary==2.9.9
-pyarrow==18.1.0
-pyarrow-hotfix==0.7
-pyasn1==0.6.1
-pyasn1_modules==0.4.2
-pycparser==2.23
-pydantic==2.12.3
-pydantic_core==2.41.4
-Pygments==2.19.2
-PyHamcrest==2.1.0
-PyJWT==2.10.1
-pymilvus==2.5.16
-pymongo==4.15.3
-PyMySQL==1.1.2
-pyparsing==3.2.5
-pyproject_hooks==1.2.0
-pytest==8.4.2
-pytest-timeout==2.4.0
-pytest-xdist==3.8.0
-python-dateutil==2.9.0.post0
-python-dotenv==1.2.1
-python-tds==1.17.1
-pytz==2025.2
-PyYAML==6.0.3
-redis==5.3.1
-regex==2025.10.23
-requests==2.32.5
-requests-mock==1.12.1
-rich==14.2.0
-rsa==4.9.1
-safetensors==0.6.2
-scikit-learn==1.6.1
-scipy==1.13.1
-scramp==1.4.6
-SecretStorage==3.3.3
-setuptools==80.9.0
-shapely==2.0.7
-six==1.17.0
-sniffio==1.3.1
-sortedcontainers==2.4.0
-soupsieve==2.8
-SQLAlchemy==2.0.44
-sqlalchemy_pytds==1.0.2
-sqlparse==0.5.3
-sympy==1.14.0
-tenacity==8.5.0
-tensorboard==2.20.0
-tensorboard-data-server==0.7.2
-tensorflow==2.20.0
-tensorflow-cpu-aws==2.20.0;platform_machine=="aarch64"
-termcolor==3.1.0
-testcontainers==4.13.2
-threadpoolctl==3.6.0
-tokenizers==0.21.4
-tomli==2.3.0
-torch==2.8.0+cpu
-tqdm==4.67.1
-transformers==4.54.1
-typing-inspection==0.4.2
-typing_extensions==4.15.0
-tzdata==2025.2
-ujson==5.11.0
-uritemplate==4.2.0
-urllib3==2.5.0
-virtualenv-clone==0.5.7
-websockets==15.0.1
-Werkzeug==3.1.3
-wheel==0.45.1
-wrapt==2.0.0
-yarl==1.22.0
-zipp==3.23.0
-zstandard==0.25.0
diff --git a/sdks/python/container/ml/py39/build.gradle 
b/sdks/python/container/ml/py39/build.gradle
deleted file mode 100644
index c5f55ae53af..00000000000
--- a/sdks/python/container/ml/py39/build.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-plugins {
-    id 'base'
-    id 'org.apache.beam.module'
-}
-applyDockerNature()
-applyPythonNature()
-
-pythonVersion = '3.9'
-
-apply from: "../common.gradle"
diff --git a/sdks/python/container/py39/base_image_requirements.txt 
b/sdks/python/container/py39/base_image_requirements.txt
deleted file mode 100644
index 07579d1a4cd..00000000000
--- a/sdks/python/container/py39/base_image_requirements.txt
+++ /dev/null
@@ -1,194 +0,0 @@
-#    Licensed to the Apache Software Foundation (ASF) under one or more
-#    contributor license agreements.  See the NOTICE file distributed with
-#    this work for additional information regarding copyright ownership.
-#    The ASF licenses this file to You under the Apache License, Version 2.0
-#    (the "License"); you may not use this file except in compliance with
-#    the License.  You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS,
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#    See the License for the specific language governing permissions and
-#    limitations under the License.
-
-# Autogenerated requirements file for Apache Beam py39 container image.
-# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
-# Do not edit manually, adjust ../base_image_requirements_manual.txt or
-# Apache Beam's setup.py instead, and regenerate the list.
-# You will need Python interpreters for all versions supported by Beam, see:
-# https://s.apache.org/beam-python-dev-wiki
-# Reach out to a committer if you need help.
-
-aiofiles==25.1.0
-aiohappyeyeballs==2.6.1
-aiohttp==3.13.2
-aiosignal==1.4.0
-annotated-types==0.7.0
-anyio==4.11.0
-asn1crypto==1.5.1
-async-timeout==5.0.1
-attrs==25.4.0
-backports.tarfile==1.2.0
-beartype==0.21.0
-beautifulsoup4==4.14.2
-bs4==0.0.2
-build==1.3.0
-cachetools==6.2.1
-certifi==2025.10.5
-cffi==2.0.0
-charset-normalizer==3.4.4
-click==8.1.8
-cloud-sql-python-connector==1.18.5
-crcmod==1.7
-cryptography==46.0.3
-Cython==3.1.6
-dill==0.3.1.1
-dnspython==2.7.0
-docker==7.1.0
-docopt==0.6.2
-docstring_parser==0.17.0
-exceptiongroup==1.3.0
-execnet==2.1.1
-fastavro==1.12.1
-fasteners==0.20
-freezegun==1.5.5
-frozenlist==1.8.0
-future==1.0.0
-google-api-core==2.28.1
-google-api-python-client==2.186.0
-google-apitools==0.5.31
-google-auth==2.42.1
-google-auth-httplib2==0.2.1
-google-cloud-aiplatform==1.124.0
-google-cloud-bigquery==3.38.0
-google-cloud-bigquery-storage==2.34.0
-google-cloud-bigtable==2.34.0
-google-cloud-core==2.5.0
-google-cloud-datastore==2.21.0
-google-cloud-dlp==3.33.0
-google-cloud-language==2.18.0
-google-cloud-profiler==4.1.0
-google-cloud-pubsub==2.33.0
-google-cloud-pubsublite==1.12.0
-google-cloud-recommendations-ai==0.10.18
-google-cloud-resource-manager==1.15.0
-google-cloud-secret-manager==2.25.0
-google-cloud-spanner==3.59.0
-google-cloud-storage==2.19.0
-google-cloud-videointelligence==2.17.0
-google-cloud-vision==3.11.0
-google-crc32c==1.7.1
-google-genai==1.47.0
-google-resumable-media==2.7.2
-googleapis-common-protos==1.71.0
-greenlet==3.2.4
-grpc-google-iam-v1==0.14.3
-grpc-interceptor==0.15.4
-grpcio==1.65.5
-grpcio-status==1.65.5
-guppy3==3.1.5
-h11==0.16.0
-hdfs==2.7.3
-httpcore==1.0.9
-httplib2==0.22.0
-httpx==0.28.1
-hypothesis==6.141.1
-idna==3.11
-importlib_metadata==8.7.0
-iniconfig==2.1.0
-jaraco.classes==3.4.0
-jaraco.context==6.0.1
-jaraco.functools==4.3.0
-jeepney==0.9.0
-Jinja2==3.1.6
-joblib==1.5.2
-jsonpickle==3.4.2
-keyring==25.6.0
-keyrings.google-artifactregistry-auth==1.1.2
-MarkupSafe==3.0.3
-milvus-lite==2.5.1
-mmh3==5.2.0
-mock==5.2.0
-more-itertools==10.8.0
-multidict==6.7.0
-nltk==3.9.2
-numpy==2.0.2
-oauth2client==4.1.3
-objsize==0.7.1
-opentelemetry-api==1.38.0
-opentelemetry-sdk==1.38.0
-opentelemetry-semantic-conventions==0.59b0
-oracledb==3.4.0
-orjson==3.11.4
-overrides==7.7.0
-packaging==25.0
-pandas==2.2.3
-parameterized==0.9.0
-pg8000==1.31.5
-pip==25.3
-pluggy==1.6.0
-propcache==0.4.1
-proto-plus==1.26.1
-protobuf==5.29.5
-psycopg2-binary==2.9.9
-pyarrow==18.1.0
-pyarrow-hotfix==0.7
-pyasn1==0.6.1
-pyasn1_modules==0.4.2
-pycparser==2.23
-pydantic==2.12.3
-pydantic_core==2.41.4
-Pygments==2.19.2
-PyHamcrest==2.1.0
-PyJWT==2.10.1
-pymilvus==2.5.16
-pymongo==4.15.3
-PyMySQL==1.1.2
-pyparsing==3.2.5
-pyproject_hooks==1.2.0
-pytest==8.4.2
-pytest-timeout==2.4.0
-pytest-xdist==3.8.0
-python-dateutil==2.9.0.post0
-python-dotenv==1.2.1
-python-tds==1.17.1
-pytz==2025.2
-PyYAML==6.0.3
-redis==5.3.1
-regex==2025.10.23
-requests==2.32.5
-requests-mock==1.12.1
-rsa==4.9.1
-scikit-learn==1.6.1
-scipy==1.13.1
-scramp==1.4.6
-SecretStorage==3.3.3
-setuptools==80.9.0
-shapely==2.0.7
-six==1.17.0
-sniffio==1.3.1
-sortedcontainers==2.4.0
-soupsieve==2.8
-SQLAlchemy==2.0.44
-sqlalchemy_pytds==1.0.2
-sqlparse==0.5.3
-tenacity==8.5.0
-testcontainers==4.13.2
-threadpoolctl==3.6.0
-tomli==2.3.0
-tqdm==4.67.1
-typing-inspection==0.4.2
-typing_extensions==4.15.0
-tzdata==2025.2
-ujson==5.11.0
-uritemplate==4.2.0
-urllib3==2.5.0
-virtualenv-clone==0.5.7
-websockets==15.0.1
-wheel==0.45.1
-wrapt==2.0.0
-yarl==1.22.0
-zipp==3.23.0
-zstandard==0.25.0
diff --git a/sdks/python/container/py39/build.gradle 
b/sdks/python/container/py39/build.gradle
deleted file mode 100644
index cd0f6cb02ad..00000000000
--- a/sdks/python/container/py39/build.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-plugins {
-  id 'base'
-  id 'org.apache.beam.module'
-}
-applyDockerNature()
-applyPythonNature()
-
-pythonVersion = '3.9'
-
-apply from: "../common.gradle"
diff --git a/sdks/python/test-suites/dataflow/py39/build.gradle 
b/sdks/python/test-suites/dataflow/py39/build.gradle
deleted file mode 100644
index e8e13eadaea..00000000000
--- a/sdks/python/test-suites/dataflow/py39/build.gradle
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-apply plugin: org.apache.beam.gradle.BeamModulePlugin
-applyPythonNature()
-
-// Required to setup a Python 3 virtualenv and task names.
-pythonVersion = '3.9'
-apply from: "../common.gradle"
diff --git a/sdks/python/test-suites/direct/py39/build.gradle 
b/sdks/python/test-suites/direct/py39/build.gradle
deleted file mode 100644
index ae3c61978f6..00000000000
--- a/sdks/python/test-suites/direct/py39/build.gradle
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-plugins { id 'org.apache.beam.module' }
-applyPythonNature()
-
-// Required to setup a Python 3 virtualenv and task names.
-pythonVersion = '3.9'
-apply from: '../common.gradle'
diff --git a/sdks/python/test-suites/portable/py39/build.gradle 
b/sdks/python/test-suites/portable/py39/build.gradle
deleted file mode 100644
index eb805a99f41..00000000000
--- a/sdks/python/test-suites/portable/py39/build.gradle
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-apply plugin: org.apache.beam.gradle.BeamModulePlugin
-applyPythonNature()
-
-addPortableWordCountTasks()
-
-// Required to setup a Python 3 virtualenv and task names.
-pythonVersion = '3.9'
-apply from: "../common.gradle"
diff --git a/sdks/python/test-suites/tox/py39/build.gradle 
b/sdks/python/test-suites/tox/py39/build.gradle
deleted file mode 100644
index 9740f056e68..00000000000
--- a/sdks/python/test-suites/tox/py39/build.gradle
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Unit tests for Python 3.9
- */
-
-plugins { id 'org.apache.beam.module' }
-applyPythonNature()
-
-// Required to setup a Python 3 virtualenv and task names.
-pythonVersion = '3.9'
-
-def posargs = project.findProperty("posargs") ?: ""
-
-apply from: "../common.gradle"
-
-toxTask "testPy39CloudCoverage", "py39-cloudcoverage", "${posargs}"
-test.dependsOn "testPy39CloudCoverage"
-project.tasks.register("preCommitPyCoverage") {
-      dependsOn = ["testPy39CloudCoverage"]
-}
-
-// Dep Postcommit runs test suites that evaluate compatibility of particular
-// dependencies. Each suite is exercised on at most one python version.
-//
-// Should still leave at least one version in PreCommit unless the marked tests
-// are also exercised by existing PreCommit
-// e.g. pyarrow and pandas also run on PreCommit Dataframe and Coverage
-project.tasks.register("postCommitPyDep") {}
-
-// Create a test task for supported major versions of pyarrow
-// We should have a test for the lowest supported version and
-// For versions that we would like to prioritize for testing,
-// for example versions released in a timeframe of last 1-2 years.
-
-toxTask "testPy39pyarrow-3", "py39-pyarrow-3", "${posargs}"
-test.dependsOn "testPy39pyarrow-3"
-postCommitPyDep.dependsOn "testPy39pyarrow-3"
-
-toxTask "testPy39pyarrow-9", "py39-pyarrow-9", "${posargs}"
-test.dependsOn "testPy39pyarrow-9"
-postCommitPyDep.dependsOn "testPy39pyarrow-9"
-
-toxTask "testPy39pyarrow-10", "py39-pyarrow-10", "${posargs}"
-test.dependsOn "testPy39pyarrow-10"
-postCommitPyDep.dependsOn "testPy39pyarrow-10"
-
-toxTask "testPy39pyarrow-11", "py39-pyarrow-11", "${posargs}"
-test.dependsOn "testPy39pyarrow-11"
-postCommitPyDep.dependsOn "testPy39pyarrow-11"
-
-toxTask "testPy39pyarrow-12", "py39-pyarrow-12", "${posargs}"
-test.dependsOn "testPy39pyarrow-12"
-postCommitPyDep.dependsOn "testPy39pyarrow-12"
-
-toxTask "testPy39pyarrow-13", "py39-pyarrow-13", "${posargs}"
-test.dependsOn "testPy39pyarrow-13"
-postCommitPyDep.dependsOn "testPy39pyarrow-13"
-
-toxTask "testPy39pyarrow-14", "py39-pyarrow-14", "${posargs}"
-test.dependsOn "testPy39pyarrow-14"
-postCommitPyDep.dependsOn "testPy39pyarrow-14"
-
-toxTask "testPy39pyarrow-15", "py39-pyarrow-15", "${posargs}"
-test.dependsOn "testPy39pyarrow-15"
-postCommitPyDep.dependsOn "testPy39pyarrow-15"
-
-toxTask "testPy39pyarrow-16", "py39-pyarrow-16", "${posargs}"
-test.dependsOn "testPy39pyarrow-16"
-postCommitPyDep.dependsOn "testPy39pyarrow-16"
-
-toxTask "testPy39pyarrow-17", "py39-pyarrow-17", "${posargs}"
-test.dependsOn "testPy39pyarrow-17"
-postCommitPyDep.dependsOn "testPy39pyarrow-17"
-
-toxTask "testPy39pyarrow-18", "py39-pyarrow-18", "${posargs}"
-test.dependsOn "testPy39pyarrow-18"
-postCommitPyDep.dependsOn "testPy39pyarrow-18"
-
-// Create a test task for each supported minor version of pandas
-toxTask "testPy39pandas-14", "py39-pandas-14", "${posargs}"
-test.dependsOn "testPy39pandas-14"
-postCommitPyDep.dependsOn "testPy39pandas-14"
-
-toxTask "testPy39pandas-15", "py39-pandas-15", "${posargs}"
-test.dependsOn "testPy39pandas-15"
-postCommitPyDep.dependsOn "testPy39pandas-15"
-
-toxTask "testPy39pandas-20", "py39-pandas-20", "${posargs}"
-test.dependsOn "testPy39pandas-20"
-postCommitPyDep.dependsOn "testPy39pandas-20"
-
-// TODO(https://github.com/apache/beam/issues/31192): Add below suites
-// after dependency compat tests suite switches to Python 3.9 or we add
-// Python 2.2 support.
-
-// toxTask "testPy39pandas-21", "py39-pandas-21", "${posargs}"
-// test.dependsOn "testPy39pandas-21"
-// postCommitPyDep.dependsOn "testPy39pandas-21"
-
-// toxTask "testPy39pandas-22", "py39-pandas-22", "${posargs}"
-// test.dependsOn "testPy39pandas-22"
-// postCommitPyDep.dependsOn "testPy39pandas-22"
-
-// TODO(https://github.com/apache/beam/issues/30908): Revise what are we 
testing
-
-// Create a test task for each minor version of pytorch
-toxTask "testPy39pytorch-19", "py39-pytorch-19", "${posargs}"
-test.dependsOn "testPy39pytorch-19"
-postCommitPyDep.dependsOn "testPy39pytorch-19"
-
-toxTask "testPy39pytorch-110", "py39-pytorch-110", "${posargs}"
-test.dependsOn "testPy39pytorch-110"
-postCommitPyDep.dependsOn "testPy39pytorch-110"
-
-toxTask "testPy39pytorch-111", "py39-pytorch-111", "${posargs}"
-test.dependsOn "testPy39pytorch-111"
-postCommitPyDep.dependsOn "testPy39pytorch-111"
-
-toxTask "testPy39pytorch-112", "py39-pytorch-112", "${posargs}"
-test.dependsOn "testPy39pytorch-112"
-postCommitPyDep.dependsOn "testPy39pytorch-112"
-
-toxTask "testPy39pytorch-113", "py39-pytorch-113", "${posargs}"
-test.dependsOn "testPy39pytorch-113"
-postCommitPyDep.dependsOn "testPy39pytorch-113"
-
-// run on precommit
-toxTask "testPy39pytorch-200", "py39-pytorch-200", "${posargs}"
-test.dependsOn "testPy39pytorch-200"
-postCommitPyDep.dependsOn "testPy39pytorch-200"
-
-toxTask "testPy39tft-113", "py39-tft-113", "${posargs}"
-test.dependsOn "testPy39tft-113"
-postCommitPyDep.dependsOn "testPy39tft-113"
-
-// TODO(https://github.com/apache/beam/issues/25796) - uncomment onnx tox task 
once onnx supports protobuf 4.x.x
-// Create a test task for each minor version of onnx
-// toxTask "testPy39onnx-113", "py39-onnx-113", "${posargs}"
-// test.dependsOn "testPy39onnx-113"
-// postCommitPyDep.dependsOn "testPy39onnx-113"
-
-// Create a test task for each minor version of tensorflow
-toxTask "testPy39tensorflow-212", "py39-tensorflow-212", "${posargs}"
-test.dependsOn "testPy39tensorflow-212"
-postCommitPyDep.dependsOn "testPy39tensorflow-212"
-
-// Create a test task for each minor version of transformers
-toxTask "testPy39transformers-428", "py39-transformers-428", "${posargs}"
-test.dependsOn "testPy39transformers-428"
-postCommitPyDep.dependsOn "testPy39transformers-428"
-
-toxTask "testPy39transformers-447", "py39-transformers-447", "${posargs}"
-test.dependsOn "testPy39transformers-447"
-postCommitPyDep.dependsOn "testPy39transformers-447"
-
-toxTask "testPy39transformers-448", "py39-transformers-448", "${posargs}"
-test.dependsOn "testPy39transformers-448"
-postCommitPyDep.dependsOn "testPy39transformers-448"
-
-toxTask "testPy39transformers-latest", "py39-transformers-latest", "${posargs}"
-test.dependsOn "testPy39transformers-latest"
-postCommitPyDep.dependsOn "testPy39transformers-latest"
-
-toxTask "testPy39embeddingsMLTransform", "py39-embeddings", "${posargs}"
-test.dependsOn "testPy39embeddingsMLTransform"
-postCommitPyDep.dependsOn "testPy39embeddingsMLTransform"
-
-// Part of MLTransform embeddings test suite but requires tensorflow hub, 
which we need to test on
-// mutliple versions so keeping this suite separate.
-toxTask "testPy39TensorflowHubEmbeddings-014", "py39-TFHubEmbeddings-014", 
"${posargs}"
-test.dependsOn "testPy39TensorflowHubEmbeddings-014"
-postCommitPyDep.dependsOn "testPy39TensorflowHubEmbeddings-014"
-
-toxTask "testPy39TensorflowHubEmbeddings-015", "py39-TFHubEmbeddings-015", 
"${posargs}"
-test.dependsOn "testPy39TensorflowHubEmbeddings-015"
-postCommitPyDep.dependsOn "testPy39TensorflowHubEmbeddings-015"
-
-toxTask "whitespacelint", "whitespacelint", "${posargs}"
-
-task archiveFilesToLint(type: Zip) {
-  archiveFileName = "files-to-whitespacelint.zip"
-  destinationDirectory = file("$buildDir/dist")
-
-  from ("$rootProject.projectDir") {
-    include "**/*.md"
-    include "**/build.gradle"
-    include '**/build.gradle.kts'
-    exclude '**/build/**' // intermediate build directory
-    exclude 'website/www/site/themes/docsy/**' // fork to google/docsy
-    exclude "**/node_modules/*"
-    exclude "**/.gogradle/*"
-  }
-}
-
-task unpackFilesToLint(type: Copy) {
-  from zipTree("$buildDir/dist/files-to-whitespacelint.zip")
-  into "$buildDir/files-to-whitespacelint"
-}
-
-whitespacelint.dependsOn archiveFilesToLint, unpackFilesToLint
-unpackFilesToLint.dependsOn archiveFilesToLint
-archiveFilesToLint.dependsOn cleanPython
-
-toxTask "jest", "jest", "${posargs}"
-
-toxTask "eslint", "eslint", "${posargs}"
-
-task copyTsSource(type: Copy) {
-  from ("$rootProject.projectDir") {
-    include "sdks/python/apache_beam/runners/interactive/extensions/**/*"
-    exclude "sdks/python/apache_beam/runners/interactive/extensions/**/lib/*"
-    exclude 
"sdks/python/apache_beam/runners/interactive/extensions/**/node_modules/*"
-  }
-  into "$buildDir/ts"
-}
-
-jest.dependsOn copyTsSource
-eslint.dependsOn copyTsSource
-copyTsSource.dependsOn cleanPython

Reply via email to