From 8dc7382bee79b3f33cab96c5cf98c0c43cfdb21e Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 6 Jan 2023 12:26:36 +0000 Subject: [PATCH 1/6] feat: add python 3.11 testing --- .kokoro/docker/Dockerfile | 2 +- .kokoro/python3.11/common.cfg | 66 +++++++++++++++++++ .kokoro/python3.11/continuous.cfg | 21 ++++++ .kokoro/python3.11/periodic.cfg | 32 +++++++++ .kokoro/python3.11/presubmit.cfg | 21 ++++++ MAC_SETUP.md | 20 +++--- README.md | 4 +- appengine/standard/noxfile-template.py | 4 +- .../cloud_debugger/noxfile_config.py | 2 +- .../client-side-encryption/noxfile_config.py | 2 +- .../client-side-encryption/noxfile_config.py | 2 +- .../client-side-encryption/noxfile_config.py | 2 +- .../2022_airflow_summit/noxfile_config.py | 2 +- composer/airflow_1_samples/noxfile_config.py | 2 +- .../noxfile_config.py | 3 +- .../noxfile_config.py | 2 +- composer/cicd_sample/noxfile_config.py | 1 + composer/cicd_sample/utils/noxfile_config.py | 1 + composer/workflows/noxfile_config.py | 2 +- .../miniconda/noxfile_config.py | 2 +- .../minimal/noxfile_config.py | 2 +- .../ubuntu/noxfile_config.py | 2 +- dataflow/encryption-keys/noxfile_config.py | 2 +- .../extensible-templates/noxfile_config.py | 2 +- .../streaming_beam/noxfile_config.py | 2 +- .../pytorch-minimal/noxfile_config.py | 2 +- .../noxfile_config.py | 2 +- .../tensorflow-landsat/noxfile_config.py | 2 +- .../tensorflow-minimal/noxfile_config.py | 2 +- ml_engine/online_prediction/noxfile_config.py | 2 +- noxfile-template.py | 2 +- .../noxfile_config.py | 2 +- .../image-classification/noxfile_config.py | 2 +- .../noxfile_config.py | 2 +- .../noxfile_config.py | 2 +- pubsub/streaming-analytics/noxfile_config.py | 2 +- pubsublite/spark-connector/noxfile_config.py | 2 +- 37 files changed, 188 insertions(+), 39 deletions(-) create mode 100644 .kokoro/python3.11/common.cfg create mode 100644 .kokoro/python3.11/continuous.cfg create mode 100644 .kokoro/python3.11/periodic.cfg create mode 100644 .kokoro/python3.11/presubmit.cfg diff --git a/.kokoro/docker/Dockerfile b/.kokoro/docker/Dockerfile index 6610838280..e21de1fb8b 100644 --- a/.kokoro/docker/Dockerfile +++ b/.kokoro/docker/Dockerfile @@ -117,7 +117,7 @@ RUN set -ex \ && export GNUPGHOME="$(mktemp -d)" \ && echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" \ && /tmp/fetch_gpg_keys.sh \ - && for PYTHON_VERSION in 2.7.18 3.7.12 3.8.13 3.9.13 3.10.5 3.11.1; do \ + && for PYTHON_VERSION in 2.7.18 3.7.16 3.8.16 3.9.16 3.10.9 3.11.1; do \ wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \ && wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \ && gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz \ diff --git a/.kokoro/python3.11/common.cfg b/.kokoro/python3.11/common.cfg new file mode 100644 index 0000000000..daeb74779f --- /dev/null +++ b/.kokoro/python3.11/common.cfg @@ -0,0 +1,66 @@ +# Copyright 2021 Google LLC +# +# Licensed 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. + +# Format: //devtools/kokoro/config/proto/build.proto + +timeout_mins: 300 + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-docs-samples/.kokoro/trampoline_v2.sh" + +# Download secrets from Cloud Storage. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" + +# Access btlr binaries used in the tests +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/btlr" + +# Copy results for Resultstore +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Specify which tests to run +env_vars: { + key: "RUN_TESTS_SESSION" + value: "py-3.11" +} + +# Declare build specific Cloud project. It still uses the common one, +# but we'll update the value once we have more Cloud projects. +env_vars: { + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" + value: "python-docs-samples-tests-311" +} + +# Number of test workers. +env_vars: { + key: "NUM_TEST_WORKERS" + value: "10" +} + +env_vars: { + key: "TRAMPOLINE_DOCKERFILE" + value: ".kokoro/docker/Dockerfile" +} diff --git a/.kokoro/python3.11/continuous.cfg b/.kokoro/python3.11/continuous.cfg new file mode 100644 index 0000000000..4bf98aa583 --- /dev/null +++ b/.kokoro/python3.11/continuous.cfg @@ -0,0 +1,21 @@ +# Copyright 2021 Google LLC +# +# Licensed 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. + +# Format: //devtools/kokoro/config/proto/build.proto + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: ".kokoro/tests/run_tests_diff_head.sh" +} diff --git a/.kokoro/python3.11/periodic.cfg b/.kokoro/python3.11/periodic.cfg new file mode 100644 index 0000000000..630f49317a --- /dev/null +++ b/.kokoro/python3.11/periodic.cfg @@ -0,0 +1,32 @@ +# Copyright 2021 Google LLC +# +# Licensed 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. + +# Format: //devtools/kokoro/config/proto/build.proto + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: ".kokoro/tests/run_tests.sh" +} + +env_vars: { + key: "REPORT_TO_BUILD_COP_BOT" + value: "true" +} + +# Tell Trampoline to upload the Docker image after successfull build. +env_vars: { + key: "TRAMPOLINE_IMAGE_UPLOAD" + value: "true" +} diff --git a/.kokoro/python3.11/presubmit.cfg b/.kokoro/python3.11/presubmit.cfg new file mode 100644 index 0000000000..158c832fcd --- /dev/null +++ b/.kokoro/python3.11/presubmit.cfg @@ -0,0 +1,21 @@ +# Copyright 2021 Google LLC +# +# Licensed 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. + +# Format: //devtools/kokoro/config/proto/build.proto + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: ".kokoro/tests/run_tests_diff_main.sh" +} diff --git a/MAC_SETUP.md b/MAC_SETUP.md index 90d22d6314..026b7de4cb 100644 --- a/MAC_SETUP.md +++ b/MAC_SETUP.md @@ -76,21 +76,25 @@ test their code. ```console $ pyenv install 3.6.13 ``` - * 3.7.13 (latest 3.7.x release) + * 3.7.16 (latest 3.7.x release) ```console - $ pyenv install 3.7.13 + $ pyenv install 3.7.16 ``` - * 3.8.13 (latest 3.8.x release) + * 3.8.16 (latest 3.8.x release) ```console - $ pyenv install 3.8.13 + $ pyenv install 3.8.16 ``` - * 3.9.12 (latest 3.9.x release) + * 3.9.16 (latest 3.9.x release) ```console - $ pyenv install 3.9.12 + $ pyenv install 3.9.16 ``` - * 3.10.4 (latest 3.10.x release) + * 3.10.9 (latest 3.10.x release) ```console - $ pyenv install 3.10.4 + $ pyenv install 3.10.9 + ``` + * 3.11.1 (latest 3.11.x release) + ```console + $ pyenv install 3.11.1 ``` > ℹ️ *Note*: If you are using an M1 Mac, diff --git a/README.md b/README.md index 5ff9a3ef38..25f5bcadca 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Python samples for [Google Cloud Platform products][cloud]. -[![Build Status][py-2.7-shield]][py-2.7-link] [![Build Status][py-3.7-shield]][py-3.7-link] [![Build Status][py-3.8-shield]][py-3.8-link] [![Build Status][py-3.9-shield]][py-3.9-link] [![Build Status][py-3.10-shield]][py-3.10-link] +[![Build Status][py-2.7-shield]][py-2.7-link] [![Build Status][py-3.7-shield]][py-3.7-link] [![Build Status][py-3.8-shield]][py-3.8-link] [![Build Status][py-3.9-shield]][py-3.9-link] [![Build Status][py-3.10-shield]][py-3.10-link] [![Build Status][py-3.11-shield]][py-3.11-link] ## Google Cloud Samples @@ -77,3 +77,5 @@ Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md). [py-3.9-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.9.html [py-3.10-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-310.svg [py-3.10-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.10.html +[py-3.11-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-311.svg +[py-3.11-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.11.html diff --git a/appengine/standard/noxfile-template.py b/appengine/standard/noxfile-template.py index 01756181d8..6b5be424c6 100644 --- a/appengine/standard/noxfile-template.py +++ b/appengine/standard/noxfile-template.py @@ -81,10 +81,10 @@ def get_pytest_env_vars(): # DO NOT EDIT - automatically generated. # All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10"] +ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] # Any default versions that should be ignored. -IGNORED_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"] +IGNORED_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) diff --git a/appengine/standard_python3/cloud_debugger/noxfile_config.py b/appengine/standard_python3/cloud_debugger/noxfile_config.py index f1e9239dbf..43a5796d19 100644 --- a/appengine/standard_python3/cloud_debugger/noxfile_config.py +++ b/appengine/standard_python3/cloud_debugger/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/cloud-sql/mysql/client-side-encryption/noxfile_config.py b/cloud-sql/mysql/client-side-encryption/noxfile_config.py index ebd83be7a2..67016bd963 100644 --- a/cloud-sql/mysql/client-side-encryption/noxfile_config.py +++ b/cloud-sql/mysql/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud-sql/postgres/client-side-encryption/noxfile_config.py b/cloud-sql/postgres/client-side-encryption/noxfile_config.py index ebd83be7a2..67016bd963 100644 --- a/cloud-sql/postgres/client-side-encryption/noxfile_config.py +++ b/cloud-sql/postgres/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/cloud-sql/sql-server/client-side-encryption/noxfile_config.py b/cloud-sql/sql-server/client-side-encryption/noxfile_config.py index dab8523bc7..692cb4ecd2 100644 --- a/cloud-sql/sql-server/client-side-encryption/noxfile_config.py +++ b/cloud-sql/sql-server/client-side-encryption/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/composer/2022_airflow_summit/noxfile_config.py b/composer/2022_airflow_summit/noxfile_config.py index 6fa0836abf..9eadce0ecc 100644 --- a/composer/2022_airflow_summit/noxfile_config.py +++ b/composer/2022_airflow_summit/noxfile_config.py @@ -30,7 +30,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - 'ignored_versions': ["2.7", "3.6", "3.7", "3.9", "3.10"], # Composer w/ Airflow 2 only supports Python 3.8 + 'ignored_versions': ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/composer/airflow_1_samples/noxfile_config.py b/composer/airflow_1_samples/noxfile_config.py index ecec9f2ca0..db38b805ac 100644 --- a/composer/airflow_1_samples/noxfile_config.py +++ b/composer/airflow_1_samples/noxfile_config.py @@ -31,7 +31,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to numpy compilation failure. - "ignored_versions": ["2.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/composer/blog/gcp-tech-blog/data-orchestration-with-composer/noxfile_config.py b/composer/blog/gcp-tech-blog/data-orchestration-with-composer/noxfile_config.py index afa6026d0a..58ce78689c 100644 --- a/composer/blog/gcp-tech-blog/data-orchestration-with-composer/noxfile_config.py +++ b/composer/blog/gcp-tech-blog/data-orchestration-with-composer/noxfile_config.py @@ -36,7 +36,8 @@ "3.6", "3.7", "3.9", - "3.10" + "3.10", + "3.11", ], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them diff --git a/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/noxfile_config.py b/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/noxfile_config.py index b90ef62c5b..5751b6d12e 100644 --- a/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/noxfile_config.py +++ b/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/noxfile_config.py @@ -32,7 +32,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to numpy compilation failure. - "ignored_versions": ["2.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/composer/cicd_sample/noxfile_config.py b/composer/cicd_sample/noxfile_config.py index 44a071d0d2..a6ff5bec32 100644 --- a/composer/cicd_sample/noxfile_config.py +++ b/composer/cicd_sample/noxfile_config.py @@ -36,6 +36,7 @@ "3.7", "3.9", "3.10", + "3.11", ], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them diff --git a/composer/cicd_sample/utils/noxfile_config.py b/composer/cicd_sample/utils/noxfile_config.py index 738eaae84f..756337f579 100644 --- a/composer/cicd_sample/utils/noxfile_config.py +++ b/composer/cicd_sample/utils/noxfile_config.py @@ -36,6 +36,7 @@ "3.7", "3.9", "3.10", + "3.11", ], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them diff --git a/composer/workflows/noxfile_config.py b/composer/workflows/noxfile_config.py index 6fa0836abf..9eadce0ecc 100644 --- a/composer/workflows/noxfile_config.py +++ b/composer/workflows/noxfile_config.py @@ -30,7 +30,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - 'ignored_versions': ["2.7", "3.6", "3.7", "3.9", "3.10"], # Composer w/ Airflow 2 only supports Python 3.8 + 'ignored_versions': ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Composer w/ Airflow 2 only supports Python 3.8 # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/dataflow/custom-containers/miniconda/noxfile_config.py b/dataflow/custom-containers/miniconda/noxfile_config.py index 73281c052a..de9fb1ae43 100644 --- a/dataflow/custom-containers/miniconda/noxfile_config.py +++ b/dataflow/custom-containers/miniconda/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.9. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/custom-containers/minimal/noxfile_config.py b/dataflow/custom-containers/minimal/noxfile_config.py index 73281c052a..de9fb1ae43 100644 --- a/dataflow/custom-containers/minimal/noxfile_config.py +++ b/dataflow/custom-containers/minimal/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.9. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/custom-containers/ubuntu/noxfile_config.py b/dataflow/custom-containers/ubuntu/noxfile_config.py index 73281c052a..de9fb1ae43 100644 --- a/dataflow/custom-containers/ubuntu/noxfile_config.py +++ b/dataflow/custom-containers/ubuntu/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.9. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/encryption-keys/noxfile_config.py b/dataflow/encryption-keys/noxfile_config.py index 424daaa773..bf456e5190 100644 --- a/dataflow/encryption-keys/noxfile_config.py +++ b/dataflow/encryption-keys/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/dataflow/extensible-templates/noxfile_config.py b/dataflow/extensible-templates/noxfile_config.py index d9fec8aa43..c6fba0d33d 100644 --- a/dataflow/extensible-templates/noxfile_config.py +++ b/dataflow/extensible-templates/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/flex-templates/streaming_beam/noxfile_config.py b/dataflow/flex-templates/streaming_beam/noxfile_config.py index 617c99c544..3a96712ab8 100644 --- a/dataflow/flex-templates/streaming_beam/noxfile_config.py +++ b/dataflow/flex-templates/streaming_beam/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py b/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py index 9bc70f05ae..624417bb0d 100644 --- a/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py +++ b/dataflow/gpu-examples/pytorch-minimal/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py index 84e226854c..66c0b730d2 100644 --- a/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat-prime/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py index e146837d8b..6df8bf22e8 100644 --- a/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-landsat/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py b/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py index e146837d8b..6df8bf22e8 100644 --- a/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py +++ b/dataflow/gpu-examples/tensorflow-minimal/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/ml_engine/online_prediction/noxfile_config.py b/ml_engine/online_prediction/noxfile_config.py index 424daaa773..bf456e5190 100644 --- a/ml_engine/online_prediction/noxfile_config.py +++ b/ml_engine/online_prediction/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/noxfile-template.py b/noxfile-template.py index a768bbc604..e98a487e83 100644 --- a/noxfile-template.py +++ b/noxfile-template.py @@ -88,7 +88,7 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. # All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10"] +ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] diff --git a/people-and-planet-ai/geospatial-classification/noxfile_config.py b/people-and-planet-ai/geospatial-classification/noxfile_config.py index fdc5de57de..32517fec49 100644 --- a/people-and-planet-ai/geospatial-classification/noxfile_config.py +++ b/people-and-planet-ai/geospatial-classification/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # > ℹ️ We're opting out of all Python versions except 3.9 which is latest version TensorFlow supports - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/people-and-planet-ai/image-classification/noxfile_config.py b/people-and-planet-ai/image-classification/noxfile_config.py index 00771b23b4..56468a8902 100644 --- a/people-and-planet-ai/image-classification/noxfile_config.py +++ b/people-and-planet-ai/image-classification/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # NOTE: Apache Beam does not currently support Python 3.9 or 3.10. - "ignored_versions": ["2.7", "3.6", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/people-and-planet-ai/land-cover-classification/noxfile_config.py b/people-and-planet-ai/land-cover-classification/noxfile_config.py index a20701e9ce..726ed738a6 100644 --- a/people-and-planet-ai/land-cover-classification/noxfile_config.py +++ b/people-and-planet-ai/land-cover-classification/noxfile_config.py @@ -24,7 +24,7 @@ # You can opt out from the test for specific Python versions. # ℹ️ Test only in Python 3.9 since that's what Dataflow currently supports: # https://cloud.google.com/dataflow/docs/support/beam-runtime-support - "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/people-and-planet-ai/timeseries-classification/noxfile_config.py b/people-and-planet-ai/timeseries-classification/noxfile_config.py index 875316b92a..ea121ada32 100644 --- a/people-and-planet-ai/timeseries-classification/noxfile_config.py +++ b/people-and-planet-ai/timeseries-classification/noxfile_config.py @@ -25,7 +25,7 @@ # > ℹ️ We're opting out of all Python versions except 3.8. # > The Python version used is defined by the Dockerfile, so it's redundant # > to run multiple tests since they would all be running the same Dockerfile. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, diff --git a/pubsub/streaming-analytics/noxfile_config.py b/pubsub/streaming-analytics/noxfile_config.py index cd0c0c40b9..46c09b7a62 100644 --- a/pubsub/streaming-analytics/noxfile_config.py +++ b/pubsub/streaming-analytics/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/pubsublite/spark-connector/noxfile_config.py b/pubsublite/spark-connector/noxfile_config.py index 618515569b..8cf1efb88b 100644 --- a/pubsublite/spark-connector/noxfile_config.py +++ b/pubsublite/spark-connector/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # NOTE: We currently only run the test in Python 3.8. - "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.9", "3.10", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": True, From 18c9080b08fa3bf314f356a9b06727e82966c278 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 6 Jan 2023 15:38:59 +0000 Subject: [PATCH 2/6] update dependency scipy to 1.10.0 --- appengine/flexible/scipy/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/flexible/scipy/requirements.txt b/appengine/flexible/scipy/requirements.txt index 92f0edb8d7..aa57c4cd1d 100644 --- a/appengine/flexible/scipy/requirements.txt +++ b/appengine/flexible/scipy/requirements.txt @@ -5,5 +5,5 @@ imageio==2.14.0 numpy==1.22.0; python_version > "3.7" numpy==1.21.4; python_version <= "3.7" pillow==9.2.0 -scipy==1.8.0; python_version > "3.7" +scipy==1.10.0; python_version > "3.7" scipy==1.7.3; python_version <= "3.7" From 3d32fa9125da05f5bedaa1bb32879c1168033026 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 6 Jan 2023 15:46:49 +0000 Subject: [PATCH 3/6] update dependency psycopg2-binary to 2.9.5 --- appengine/flexible/django_cloudsql/requirements.txt | 2 +- appengine/flexible/scipy/noxfile_config.py | 2 +- appengine/standard_python3/cloudsql/requirements.txt | 2 +- appengine/standard_python3/django/requirements.txt | 2 +- composer/2022_airflow_summit/constraints.txt | 2 +- .../data-orchestration-with-composer/constraints.txt | 2 +- composer/cicd_sample/constraints.txt | 2 +- composer/workflows/constraints.txt | 2 +- kubernetes_engine/django_tutorial/requirements.txt | 2 +- run/django/requirements.txt | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/appengine/flexible/django_cloudsql/requirements.txt b/appengine/flexible/django_cloudsql/requirements.txt index eb5c5943ba..e1d759f281 100644 --- a/appengine/flexible/django_cloudsql/requirements.txt +++ b/appengine/flexible/django_cloudsql/requirements.txt @@ -1,7 +1,7 @@ Django==4.0.4; python_version >= '3.8' Django==3.2.14; python_version < '3.8' gunicorn==20.1.0 -psycopg2-binary==2.9.4 +psycopg2-binary==2.9.5 django-environ==0.9.0 google-cloud-secret-manager==2.12.0 django-storages[google]==1.13 diff --git a/appengine/flexible/scipy/noxfile_config.py b/appengine/flexible/scipy/noxfile_config.py index 3973be6805..3228fb0bf8 100644 --- a/appengine/flexible/scipy/noxfile_config.py +++ b/appengine/flexible/scipy/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6"], + "ignored_versions": ["2.7", "3.6", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/appengine/standard_python3/cloudsql/requirements.txt b/appengine/standard_python3/cloudsql/requirements.txt index 5096fa898c..82fa64b498 100644 --- a/appengine/standard_python3/cloudsql/requirements.txt +++ b/appengine/standard_python3/cloudsql/requirements.txt @@ -1,5 +1,5 @@ flask==2.1.0 # psycopg2==2.8.4 -psycopg2-binary==2.9.4 # you will need either the binary or the regular - for more info see http://initd.org/psycopg/docs/install.html +psycopg2-binary==2.9.5 # you will need either the binary or the regular - for more info see http://initd.org/psycopg/docs/install.html PyMySQL==1.0.2 SQLAlchemy==1.4.38 diff --git a/appengine/standard_python3/django/requirements.txt b/appengine/standard_python3/django/requirements.txt index c043efc62d..5702745a6d 100644 --- a/appengine/standard_python3/django/requirements.txt +++ b/appengine/standard_python3/django/requirements.txt @@ -1,5 +1,5 @@ Django==4.0.4; python_version >= '3.8' Django==3.2.14; python_version < '3.8' django-environ==0.9.0 -psycopg2-binary==2.9.4 +psycopg2-binary==2.9.5 google-cloud-secret-manager==2.12.0 diff --git a/composer/2022_airflow_summit/constraints.txt b/composer/2022_airflow_summit/constraints.txt index 938384b6c0..4d810fc1a6 100644 --- a/composer/2022_airflow_summit/constraints.txt +++ b/composer/2022_airflow_summit/constraints.txt @@ -427,7 +427,7 @@ prompt-toolkit==3.0.30 proto-plus==1.19.6 protobuf==3.20.0 psutil==5.9.1 -psycopg2-binary==2.9.3 +psycopg2-binary==2.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pure-sasl==0.6.2 diff --git a/composer/blog/gcp-tech-blog/data-orchestration-with-composer/constraints.txt b/composer/blog/gcp-tech-blog/data-orchestration-with-composer/constraints.txt index 938384b6c0..4d810fc1a6 100644 --- a/composer/blog/gcp-tech-blog/data-orchestration-with-composer/constraints.txt +++ b/composer/blog/gcp-tech-blog/data-orchestration-with-composer/constraints.txt @@ -427,7 +427,7 @@ prompt-toolkit==3.0.30 proto-plus==1.19.6 protobuf==3.20.0 psutil==5.9.1 -psycopg2-binary==2.9.3 +psycopg2-binary==2.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pure-sasl==0.6.2 diff --git a/composer/cicd_sample/constraints.txt b/composer/cicd_sample/constraints.txt index 938384b6c0..4d810fc1a6 100644 --- a/composer/cicd_sample/constraints.txt +++ b/composer/cicd_sample/constraints.txt @@ -427,7 +427,7 @@ prompt-toolkit==3.0.30 proto-plus==1.19.6 protobuf==3.20.0 psutil==5.9.1 -psycopg2-binary==2.9.3 +psycopg2-binary==2.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pure-sasl==0.6.2 diff --git a/composer/workflows/constraints.txt b/composer/workflows/constraints.txt index 30bbdb77dc..de7f1dfd92 100644 --- a/composer/workflows/constraints.txt +++ b/composer/workflows/constraints.txt @@ -427,7 +427,7 @@ prompt-toolkit==3.0.30 proto-plus==1.19.6 protobuf==3.20.0 psutil==5.9.1 -psycopg2-binary==2.9.3 +psycopg2-binary==2.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pure-sasl==0.6.2 diff --git a/kubernetes_engine/django_tutorial/requirements.txt b/kubernetes_engine/django_tutorial/requirements.txt index 36557e3c41..cbcf600967 100644 --- a/kubernetes_engine/django_tutorial/requirements.txt +++ b/kubernetes_engine/django_tutorial/requirements.txt @@ -7,4 +7,4 @@ wheel==0.38.1 gunicorn==20.1.0; python_version > '3.0' gunicorn==19.10.0; python_version < '3.0' # psycopg2==2.8.4 # uncomment if you prefer to build from source -psycopg2-binary==2.9.4 +psycopg2-binary==2.9.5 diff --git a/run/django/requirements.txt b/run/django/requirements.txt index fd9b13a264..47cb76f36f 100644 --- a/run/django/requirements.txt +++ b/run/django/requirements.txt @@ -2,6 +2,6 @@ Django==4.0.4; python_version >= '3.8' Django==3.2.14; python_version < '3.8' django-storages[google]==1.13 django-environ==0.9.0 -psycopg2-binary==2.9.4 +psycopg2-binary==2.9.5 gunicorn==20.1.0 google-cloud-secret-manager==2.12.0 From 42619dbc89691ea4fd57cfe38fed29a10690b755 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 6 Jan 2023 15:55:49 +0000 Subject: [PATCH 4/6] exclude python 3.11 for appengine/standard_python3/bigquery --- appengine/standard_python3/bigquery/noxfile_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/standard_python3/bigquery/noxfile_config.py b/appengine/standard_python3/bigquery/noxfile_config.py index 58a33dea03..3428b4ef27 100644 --- a/appengine/standard_python3/bigquery/noxfile_config.py +++ b/appengine/standard_python3/bigquery/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # There's no google-cloud-bigquery package for Python 3.9. - "ignored_versions": ["2.7", "3.6", "3.9"], + "ignored_versions": ["2.7", "3.6", "3.9", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, From 0ebc55ccd4b59b168c3d5716661c3c150ca72c6b Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 6 Jan 2023 18:13:16 +0000 Subject: [PATCH 5/6] exclude python 3.11 for tests that use google-cloud-bigquery==2.34.4 --- bigquery/bqml/noxfile_config.py | 2 +- bigquery/datalab-migration/noxfile_config.py | 2 +- bigquery/pandas-gbq-migration/noxfile_config.py | 2 +- data-science-onramp/data-ingestion/noxfile_config.py | 2 +- data-science-onramp/data-processing/noxfile_config.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bigquery/bqml/noxfile_config.py b/bigquery/bqml/noxfile_config.py index f3574c250c..4e2c703470 100644 --- a/bigquery/bqml/noxfile_config.py +++ b/bigquery/bqml/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.6", "3.9"], + "ignored_versions": ["2.7", "3.6", "3.9", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/bigquery/datalab-migration/noxfile_config.py b/bigquery/datalab-migration/noxfile_config.py index 1010a0bf2a..dedcffb884 100644 --- a/bigquery/datalab-migration/noxfile_config.py +++ b/bigquery/datalab-migration/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping 3.6 and 3.7 to avoid needing a vulnerable version of IPython - "ignored_versions": ["2.7", "3.6", "3.7"], + "ignored_versions": ["2.7", "3.6", "3.7", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/bigquery/pandas-gbq-migration/noxfile_config.py b/bigquery/pandas-gbq-migration/noxfile_config.py index f3574c250c..4e2c703470 100644 --- a/bigquery/pandas-gbq-migration/noxfile_config.py +++ b/bigquery/pandas-gbq-migration/noxfile_config.py @@ -23,7 +23,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. # Skipping for Python 3.9 due to pyarrow compilation failure. - "ignored_versions": ["2.7", "3.6", "3.9"], + "ignored_versions": ["2.7", "3.6", "3.9", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/data-science-onramp/data-ingestion/noxfile_config.py b/data-science-onramp/data-ingestion/noxfile_config.py index a15bf87246..a1d8b70d12 100644 --- a/data-science-onramp/data-ingestion/noxfile_config.py +++ b/data-science-onramp/data-ingestion/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6"], + "ignored_versions": ["2.7", "3.6", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, diff --git a/data-science-onramp/data-processing/noxfile_config.py b/data-science-onramp/data-processing/noxfile_config.py index a15bf87246..a1d8b70d12 100644 --- a/data-science-onramp/data-processing/noxfile_config.py +++ b/data-science-onramp/data-processing/noxfile_config.py @@ -22,7 +22,7 @@ TEST_CONFIG_OVERRIDE = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7", "3.6"], + "ignored_versions": ["2.7", "3.6", "3.11"], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, From d3bbf2918a4cc8fe8ee8bf46cdc69a773f2c532e Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 9 Jan 2023 13:33:08 -0500 Subject: [PATCH 6/6] update copyright year --- .kokoro/python3.11/common.cfg | 2 +- .kokoro/python3.11/continuous.cfg | 2 +- .kokoro/python3.11/periodic.cfg | 2 +- .kokoro/python3.11/presubmit.cfg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.kokoro/python3.11/common.cfg b/.kokoro/python3.11/common.cfg index daeb74779f..e61af80cb5 100644 --- a/.kokoro/python3.11/common.cfg +++ b/.kokoro/python3.11/common.cfg @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/python3.11/continuous.cfg b/.kokoro/python3.11/continuous.cfg index 4bf98aa583..0bd041dd16 100644 --- a/.kokoro/python3.11/continuous.cfg +++ b/.kokoro/python3.11/continuous.cfg @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/python3.11/periodic.cfg b/.kokoro/python3.11/periodic.cfg index 630f49317a..402c3308ca 100644 --- a/.kokoro/python3.11/periodic.cfg +++ b/.kokoro/python3.11/periodic.cfg @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/python3.11/presubmit.cfg b/.kokoro/python3.11/presubmit.cfg index 158c832fcd..e2b31b8848 100644 --- a/.kokoro/python3.11/presubmit.cfg +++ b/.kokoro/python3.11/presubmit.cfg @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.