Skip to content

Commit 3138d41

Browse files
test: add samples Python 3.9 test session (googleapis#506)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * feat: sync v1beta1 GKE API fix: deprecate SetLocations; use UpdateCluster feat: support for sysctls config in Linux nodes feat: support for node kubelet config controlling CPU manager policy, CFS quota feat: support for Customer Managed Encryption in nodes feat: support for SSDs as ephemeral storage feat: support for node reservation affinity feat: support for Gvisor in nodes fix: deprecate basic auth fields (removed in 1.19 clusters) feat: support for NodeLocalDNS feat: support for ConfigConnector feat: support for the Compute Engine Persistent Disk CSI driver feat: support for KALM feat: support for private cluster VPC peering and master global access feat: support for CloudRun load balancers feat: support using routes for pod IPs feat: support for Shielded Nodes feat: support for release channels feat: support for Workload Identity feat: support for Cluster Telemetry feat: support for Cloud TPU feat: support for receiving upgrade notifications feat: support for Confidential Nodes feat: support for disabling default sNAT feat: support for selecting Kubernetes datapath model feat: support for encrypting etcd databases feat: support for configuration of master components fix: deprecate Operation.cluster_conditions and operation_conditions; use error feat: support updating NodePool locations feat: support for node Surge Upgrades feat: support for specifying Cluster Autoscaling profile. feat: support for Node Auto Provisioning feat: support for specifying node disk size and type fix: deprecated StatusCondition.code; use canonical_code docs: many minor documentation clarifications docs: some output only fields now annotated as such PiperOrigin-RevId: 344443035 Source-Author: Google APIs <[email protected]> Source-Date: Thu Nov 26 11:27:06 2020 -0800 Source-Repo: googleapis/googleapis Source-Sha: df4fd38d040c5c8a0869936205bca13fb64b2cff Source-Link: googleapis/googleapis@df4fd38 * chore: add 3.9 to noxfile template Since the python-docs-samples noxfile-template doesn't sync with this, I wanted to make sure the noxfile template matched the most recent change [here](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4968/files) cc @tmatsuo Source-Author: Leah E. Cole <[email protected]> Source-Date: Fri Jan 15 17:24:05 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f Source-Link: googleapis/synthtool@56ddc68 * build(python): make `NOX_SESSION` optional I added this accidentally in googleapis#889. `NOX_SESSION` should be passed down if it is set but not marked required. Source-Author: Bu Sun Kim <[email protected]> Source-Date: Tue Jan 19 09:38:04 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: ba960d730416fe05c50547e975ce79fcee52c671 Source-Link: googleapis/synthtool@ba960d7 * chore: Add header checker config to python library synth Now that we have it working in [python-docs-samples](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/header-checker-lint.yml) we should consider adding it to the 🐍 libraries :) Source-Author: Leah E. Cole <[email protected]> Source-Date: Mon Jan 25 13:24:08 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 573f7655311b553a937f9123bee17bf78497db95 Source-Link: googleapis/synthtool@573f765 * build: migrate to flakybot Source-Author: Justin Beckwith <[email protected]> Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: googleapis/synthtool@d1bb917 * remove tarball Co-authored-by: Tim Swast <[email protected]>
1 parent 64e1c05 commit 3138d41

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

.github/header-checker-lint.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{"allowedCopyrightHolders": ["Google LLC"],
2+
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
3+
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
4+
"sourceFileExtensions": [
5+
"ts",
6+
"js",
7+
"java",
8+
"sh",
9+
"Dockerfile",
10+
"yaml",
11+
"py",
12+
"html",
13+
"txt"
14+
]
15+
}

.trampolinerc

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
required_envvars+=(
1919
"STAGING_BUCKET"
2020
"V2_STAGING_BUCKET"
21-
"NOX_SESSION"
2221
)
2322

2423
# Add env vars which are passed down into the container here.

samples/geography/noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
8282

8383
# DO NOT EDIT - automatically generated.
8484
# All versions used to tested samples.
85-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
85+
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
8686

8787
# Any default versions that should be ignored.
8888
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

samples/snippets/noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
8282

8383
# DO NOT EDIT - automatically generated.
8484
# All versions used to tested samples.
85-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
85+
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
8686

8787
# Any default versions that should be ignored.
8888
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

synth.metadata

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-bigquery.git",
7-
"sha": "2788736b80a4c4ac0ae3029aeb28bcefd34f2db7"
7+
"sha": "64e1c0581b915e36756ea465936939390da7d818"
88
}
99
},
1010
{
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "16ec872dd898d7de6e1822badfac32484b5d9031"
22+
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "16ec872dd898d7de6e1822badfac32484b5d9031"
29+
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
3030
}
3131
}
3232
],
@@ -48,6 +48,7 @@
4848
".github/ISSUE_TEMPLATE/feature_request.md",
4949
".github/ISSUE_TEMPLATE/support_request.md",
5050
".github/PULL_REQUEST_TEMPLATE.md",
51+
".github/header-checker-lint.yml",
5152
".github/release-please.yml",
5253
".github/snippet-bot.yml",
5354
".gitignore",

0 commit comments

Comments
 (0)