Skip to content

Commit 803a15e

Browse files
feat: Add support for python 3.11 (#718)
* feat: Add support for python 3.11 chore: Update gapic-generator-python to v1.8.0 PiperOrigin-RevId: 500768693 Source-Link: googleapis/googleapis@190b612 Source-Link: googleapis/googleapis-gen@7bf29a4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * require proto-plus 1.22.2 for python 3.11 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent ec5ef26 commit 803a15e

File tree

9 files changed

+14
-6
lines changed

9 files changed

+14
-6
lines changed

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_mtls_endpoint_and_cert_source(
164164
The API endpoint is determined in the following order:
165165
(1) if `client_options.api_endpoint` if provided, use the provided one.
166166
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
167-
default mTLS endpoint; if the environment variabel is "never", use the default API
167+
default mTLS endpoint; if the environment variable is "never", use the default API
168168
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
169169
use the default API endpoint.
170170

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def get_mtls_endpoint_and_cert_source(
413413
The API endpoint is determined in the following order:
414414
(1) if `client_options.api_endpoint` if provided, use the provided one.
415415
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
416-
default mTLS endpoint; if the environment variabel is "never", use the default API
416+
default mTLS endpoint; if the environment variable is "never", use the default API
417417
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
418418
use the default API endpoint.
419419

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def get_mtls_endpoint_and_cert_source(
160160
The API endpoint is determined in the following order:
161161
(1) if `client_options.api_endpoint` if provided, use the provided one.
162162
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
163-
default mTLS endpoint; if the environment variabel is "never", use the default API
163+
default mTLS endpoint; if the environment variable is "never", use the default API
164164
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
165165
use the default API endpoint.
166166

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def get_mtls_endpoint_and_cert_source(
415415
The API endpoint is determined in the following order:
416416
(1) if `client_options.api_endpoint` if provided, use the provided one.
417417
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
418-
default mTLS endpoint; if the environment variabel is "never", use the default API
418+
default mTLS endpoint; if the environment variable is "never", use the default API
419419
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
420420
use the default API endpoint.
421421

google/cloud/bigtable_admin_v2/types/instance.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class Instance(proto.Message):
4040
served from all [Clusters][google.bigtable.admin.v2.Cluster] in the
4141
instance.
4242
43+
44+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
45+
4346
Attributes:
4447
name (str):
4548
The unique name of the instance. Values are of the form

google/cloud/bigtable_v2/services/bigtable/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def get_mtls_endpoint_and_cert_source(
132132
The API endpoint is determined in the following order:
133133
(1) if `client_options.api_endpoint` if provided, use the provided one.
134134
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
135-
default mTLS endpoint; if the environment variabel is "never", use the default API
135+
default mTLS endpoint; if the environment variable is "never", use the default API
136136
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
137137
use the default API endpoint.
138138

google/cloud/bigtable_v2/services/bigtable/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def get_mtls_endpoint_and_cert_source(
308308
The API endpoint is determined in the following order:
309309
(1) if `client_options.api_endpoint` if provided, use the provided one.
310310
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
311-
default mTLS endpoint; if the environment variabel is "never", use the default API
311+
default mTLS endpoint; if the environment variable is "never", use the default API
312312
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
313313
use the default API endpoint.
314314

google/cloud/bigtable_v2/types/response_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class ResponseParams(proto.Message):
3131
used to get zone_id and cluster_id from response trailers to tag the
3232
metrics. This should not be used by customers directly
3333
34+
35+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
36+
3437
Attributes:
3538
zone_id (str):
3639
The cloud bigtable zone associated with the

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"google-cloud-core >= 1.4.1, <3.0.0dev",
4242
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
4343
"proto-plus >= 1.22.0, <2.0.0dev",
44+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4445
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
4546
]
4647
extras = {"libcst": "libcst >= 0.2.5"}
@@ -86,6 +87,7 @@
8687
"Programming Language :: Python :: 3.8",
8788
"Programming Language :: Python :: 3.9",
8889
"Programming Language :: Python :: 3.10",
90+
"Programming Language :: Python :: 3.11",
8991
"Operating System :: OS Independent",
9092
"Topic :: Internet",
9193
],

0 commit comments

Comments
 (0)