Skip to content

Commit 5fe6302

Browse files
authored
Merge branch 'main' into scc-org-mgt-etd-api-getEff-listEff-listDesc-Val
2 parents 6f73d23 + 0a9f8d9 commit 5fe6302

File tree

548 files changed

+4184
-4886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

548 files changed

+4184
-4886
lines changed

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ branchProtectionRules:
4444
requiredStatusCheckContexts:
4545
- "Kokoro CI - Lint"
4646
- "Kokoro CI - Python 2.7 (App Engine Standard Only)"
47-
- "Kokoro CI - Python 3.8"
47+
- "Kokoro CI - Python 3.9"
4848
- "Kokoro CI - Python 3.13"
4949
- "cla/google"
5050
- "snippet-bot check"

.kokoro/tests/run_tests.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,18 @@ fi
108108
# On kokoro, we should be able to use the default service account. We
109109
# need to somehow bootstrap the secrets on other CI systems.
110110
if [[ "${TRAMPOLINE_CI}" == "kokoro" ]]; then
111-
# This script will create 4 files:
111+
# This script will create 5 files:
112112
# - testing/test-env.sh
113113
# - testing/service-account.json
114114
# - testing/client-secrets.json
115115
# - testing/cloudai-samples-secrets.sh
116+
# - testing/cloudsql-samples-secrets.sh
116117
./scripts/decrypt-secrets.sh
117118
fi
118119

119120
source ./testing/test-env.sh
120121
source ./testing/cloudai-samples-secrets.sh
122+
source ./testing/cloudsql-samples-secrets.sh
121123
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/testing/service-account.json
122124

123125
# For cloud-run session, we activate the service account for gcloud sdk.
@@ -209,7 +211,7 @@ cd "$ROOT"
209211

210212
# Remove secrets if we used decrypt-secrets.sh.
211213
if [[ -f "${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" ]]; then
212-
rm testing/{test-env.sh,client-secrets.json,service-account.json,cloudai-samples-secrets.sh}
214+
rm testing/{test-env.sh,client-secrets.json,service-account.json,cloudai-samples-secrets.sh,cloudsql-samples-secrets.sh}
213215
fi
214216

215217
exit "$RTN"

AUTHORING_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ started with using a service or API — it should be in a _quickstart_ folder.
119119

120120
### Python Versions
121121

122-
Samples should support Python 3.6, 3.7, 3.8, and 3.9.
122+
Samples should support Python 3.9, 3.10, 3.11, 3.12 and 3.13.
123123

124124
If the API or service your sample works with has specific Python version
125125
requirements different from those mentioned above, the sample should support
@@ -923,7 +923,7 @@ Add the new environment variables to the `envs` dictionary.
923923
```py
924924
TEST_CONFIG_OVERRIDE = {
925925
# You can opt out from the test for specific Python versions.
926-
"ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"],
926+
"ignored_versions": ["2.7", "3.8", "3.10", "3.11", "3.12"],
927927
# Old samples are opted out of enforcing Python type hints
928928
# All new samples should feature them
929929
"enforce_type_hints": True,

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Python samples for [Google Cloud Platform products][cloud].
44

5-
[![Build Status][py-2.7-shield]][py-2.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]
5+
[![Build Status][py-2.7-shield]][py-2.7-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] [![Build Status][py-3.12-shield]][py-3.12-link] [![Build Status][py-3.13-shield]][py-3.13-link]
66

77
## Google Cloud Samples
88

@@ -69,11 +69,13 @@ Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md).
6969
7070
[py-2.7-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-2.7.svg
7171
[py-2.7-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-2.7.html
72-
[py-3.8-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.8.svg
73-
[py-3.8-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.8.html
7472
[py-3.9-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.9.svg
7573
[py-3.9-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.9.html
7674
[py-3.10-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-310.svg
7775
[py-3.10-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.10.html
7876
[py-3.11-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-311.svg
7977
[py-3.11-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.11.html
78+
[py-3.12-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.12.svg
79+
[py-3.12-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.12.html
80+
[py-3.13-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.13.svg
81+
[py-3.13-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.13.html

aml-ai/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
google-api-python-client==2.131.0
22
google-auth-httplib2==0.2.0
3-
google-auth==2.19.1
3+
google-auth==2.38.0
44
requests==2.32.2

appengine/flexible/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
These are samples for using Python on Google App Engine Flexible Environment. These samples are typically referenced from the [docs](https://cloud.google.com/appengine/docs).
99

1010
For code samples of Python version 3.7 and earlier, please check
11-
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/appengine/flexible.
11+
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/appengine/flexible_python37_and_earlier
1212

1313
See our other [Google Cloud Platform github repos](https://github.com/GoogleCloudPlatform) for sample applications and
1414
scaffolding for other frameworks and use cases.

appengine/flexible/analytics/noxfile_config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
TEST_CONFIG_OVERRIDE = {
2424
# You can opt out from the test for specific Python versions.
25-
# Skipping for Python 3.9 due to pyarrow compilation failure.
2625
"ignored_versions": ["2.7", "3.7"],
2726
# Old samples are opted out of enforcing Python type hints
2827
# All new samples should feature them
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Flask==3.0.3; python_version > '3.6'
22
Flask==2.3.3; python_version < '3.7'
33
Werkzeug==3.0.3; python_version > '3.6'
4-
Werkzeug==2.3.7; python_version < '3.7'
5-
gunicorn==22.0.0
4+
Werkzeug==2.3.8; python_version < '3.7'
5+
gunicorn==23.0.0
66
requests[security]==2.31.0

appengine/flexible/datastore/noxfile_config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
TEST_CONFIG_OVERRIDE = {
2424
# You can opt out from the test for specific Python versions.
25-
# Skipping for Python 3.9 due to pyarrow compilation failure.
2625
"ignored_versions": ["2.7", "3.7"],
2726
# Old samples are opted out of enforcing Python type hints
2827
# All new samples should feature them
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Flask==3.0.3
22
google-cloud-datastore==2.20.1
3-
gunicorn==22.0.0
3+
gunicorn==23.0.0

0 commit comments

Comments
 (0)