Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion notebooks/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion notebooks/samples/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11", "3.12"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
Comment thread
XrossFox marked this conversation as resolved.
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion optimization/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion optimization/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==9.0.3
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion parametermanager/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11", "3.12"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion parametermanager/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
google-cloud-secret-manager==2.21.1
google-cloud-kms==3.2.1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# > ℹ️ Test only on Python 3.10.
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
# > ℹ️ Test only on Python 3.14.
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
Comment thread
XrossFox marked this conversation as resolved.
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-xdist==3.3.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.14-slim

WORKDIR /app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.12", "3.13"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-storage==2.16.0
pytest-xdist==3.5.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# ℹ️ Test only in Python 3.9 since that's what Dataflow currently supports:
# ℹ️ Test only in Python 3.14 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", "3.11"],
# "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Temp disable until team has time for refactoring tests
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ importnb==2023.11.1
ipykernel==6.23.3
nbclient==0.8.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
4 changes: 2 additions & 2 deletions people-and-planet-ai/timeseries-classification/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.10-slim
FROM python:3.14-slim
Comment thread
XrossFox marked this conversation as resolved.

WORKDIR /pipeline

Expand All @@ -25,5 +25,5 @@ RUN pip install --no-cache-dir --upgrade pip \

# Set the entrypoint to Apache Beam SDK worker launcher.
# Check this matches the apache-beam version in the requirements.txt
COPY --from=apache/beam_python3.10_sdk:2.62.0 /opt/apache/beam /opt/apache/beam
COPY --from=apache/beam_python3.14_sdk:2.73.0 /opt/apache/beam /opt/apache/beam
Comment thread
XrossFox marked this conversation as resolved.
ENTRYPOINT [ "/opt/apache/beam/boot" ]
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# > ℹ️ Test only on Python 3.10.
# > ℹ️ Test only on Python 3.14.
# > 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.9", "3.11", "3.12", "3.13"],
# Note: Docker-based sample, testing only against version specified in Dockerfile (3.14)
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-api-python-client==2.131.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:slim
FROM python:3.14-slim

WORKDIR /app
COPY . ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# 💡 Only test with Python 3.10
# "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11"],
# 💡 Only test with Python 3.14
# "ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Temp disable until team has time for refactoring tests
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipykernel==6.23.3
nbclient==0.8.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# 💡 Only test with Python 3.10
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
# 💡 Only test with Python 3.14
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipykernel==6.23.3
nbclient==0.8.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# 💡 Only test with Python 3.10
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
# 💡 Only test with Python 3.14
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipykernel==6.23.3
nbclient==0.8.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# 💡 Only test with Python 3.10
"ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
# 💡 Only test with Python 3.14
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ipykernel==6.23.3
nbclient==0.8.0
pytest-xdist==3.3.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion practice-folder/beginner-sample/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-storage==2.13.0
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion practice-folder/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion privateca/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
2 changes: 1 addition & 1 deletion privateca/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
google-auth==2.38.0
cryptography==45.0.1
backoff==2.2.1
2 changes: 1 addition & 1 deletion profiler/appengine/flexible/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
# 3.11 is currently unsupported
"ignored_versions": ["2.7", "3.11", "3.12", "3.13"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
2 changes: 1 addition & 1 deletion profiler/appengine/flexible/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion profiler/appengine/standard_python37/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", "3.11", "3.12", "3.13"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==7.2.2
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion profiler/quickstart/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
2 changes: 1 addition & 1 deletion profiler/quickstart/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
2 changes: 1 addition & 1 deletion pubsub/streaming-analytics/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.9", "3.14"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": False,
Expand Down
2 changes: 1 addition & 1 deletion pubsub/streaming-analytics/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
4 changes: 2 additions & 2 deletions pubsublite/spark-connector/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

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", "3.11"],
# NOTE: We currently only run the test in Python 3.14.
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion pubsublite/spark-connector/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-dataproc==5.4.3
google-cloud-pubsublite==1.11.1
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
google-cloud-storage==2.9.0
2 changes: 1 addition & 1 deletion recaptcha_enterprise/demosite/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:3.11-slim
FROM python:3.14-slim

# Allow statements and log messages to immediately appear in the Knative logs
ENV PYTHONUNBUFFERED True
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
selenium==4.10.0
Flask==2.2.2
Werkzeug==2.3.8
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-flask==1.2.0
webdriver-manager==4.0.2
2 changes: 1 addition & 1 deletion retail/interactive-tutorials/events/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# An envvar key for determining the project id to use. Change it
# to 'PROJECT_NUMBER' if you want to opt in using a
# build specific Cloud project. You can also use your own string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-xdist==3.3.0
google-cloud-testutils==1.5.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-xdist==3.3.0
google-cloud-testutils==1.5.0
2 changes: 1 addition & 1 deletion retail/interactive-tutorials/search/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.10", "3.11"],
"ignored_versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
# An envvar key for determining the project id to use. Change it
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
# build specific Cloud project. You can also use your own string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
pytest==9.0.3; python_version >= "3.10"
pytest-xdist==3.3.0
2 changes: 1 addition & 1 deletion retail/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest
pytest==9.0.3; python_version >= "3.10"
pytest-xdist
mock
google-cloud-retail>=2.10.0
Expand Down
Loading