8000 feat: Add support for python 3.11 (#326) · googleapis/google-cloud-python@72f72ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 72f72ed

Browse files
feat: Add support for python 3.11 (#326)
* 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 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 1e07f81 commit 72f72ed

File tree

11 files changed

+18
-9
lines changed

11 files changed

+18
-9
lines changed

packages/google-cloud-tasks/google/cloud/tasks_v2/services/cloud_tasks/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_mtls_endpoint_and_cert_source(
143143
The API endpoint is determined in the following order:
144144
(1) if `client_options.api_endpoint` if provided, use the provided one.
145145
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
146-
default mTLS endpoint; if the environment variabel is "never", use the default API
146+
default mTLS endpoint; if the environment variable is "never", use the default API
147147
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
148148
use the default API endpoint.
149149

packages/google-cloud-tasks/google/cloud/tasks_v2/services/cloud_tasks/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def get_mtls_endpoint_and_cert_source(
325325
The API endpoint is determined in the following order:
326326
(1) if `client_options.api_endpoint` if provided, use the provided one.
327327
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environm 8000 ent variable is "always", use the
328-
default mTLS endpoint; if the environment variabel is "never", use the default API
328+
default mTLS endpoint; if the environment variable is "never", use the default API
329329
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
330330
use the default API endpoint.
331331

packages/google-cloud-tasks/google/cloud/tasks_v2beta2/services/cloud_tasks/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_mtls_endpoint_and_cert_source(
143143
The API endpoint is determined in the following order:
144144
(1) if `client_options.api_endpoint` if provided, use the provided one.
145145
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
146-
default mTLS endpoint; if the environment variabel is "never", use the default API
146+
default mTLS endpoint; if the environment variable is "never", use the default API
147147
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
148148
use the default API endpoint.
149149

packages/google-cloud-tasks/google/cloud/tasks_v2beta2/services/cloud_tasks/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def get_mtls_endpoint_and_cert_source(
325325
The API endpoint is determined in the following order:
326326
(1) if `client_options.api_endpoint` if provided, use the provided one.
327327
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
328-
default mTLS endpoint; if the environment variabel is "never", use the default API
328+
default mTLS endpoint; if the environment variable is "never", use the default API
329329
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
330330
use the default API endpoint.
331331

packages/google-cloud-tasks/google/cloud/tasks_v2beta3/services/cloud_tasks/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_mtls_endpoint_and_cert_source(
143143
The API endpoint is determined in the following order:
144144
(1) if `client_options.api_endpoint` if provided, use the provided one.
145145
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
146-
default mTLS endpoint; if the environment variabel is "never", use the default API
146+
default mTLS endpoint; if the environment variable is "never", use the default API
147147
ED48 endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
148148
use the default API endpoint.
149149

packages/google-cloud-tasks/google/cloud/tasks_v2beta3/services/cloud_tasks/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def get_mtls_endpoint_and_cert_source(
325325
The API endpoint is determined in the following order:
326326
(1) if `client_options.api_endpoint` if provided, use the provided one.
327327
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
328-
default mTLS endpoint; if the environment variabel is "never", use the default API
328+
default mTLS endpoint; if the environment variable is "never", use the default API
329329
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
330330
use the default API endpoint.
331331

packages/google-cloud-tasks/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tasks",
11-
"version": "2.11.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tasks/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tasks",
11-
"version": "2.11.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tasks/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tasks",
11-
"version": "2.11.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tasks/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
dependencies = [
3939
"google-api-core[grpc] >= 1.34.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
4040
"proto-plus >= 1.22.0, <2.0.0dev",
41+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4142
"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",
4243
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
4344
]
@@ -78,6 +79,7 @@
7879
"Programming Language :: Python :: 3.8",
7980
"Programming Language :: Python :: 3.9",
8081
"Programming Language :: Python :: 3.10",
82+
"Programming Language :: Python :: 3.11",
8183
"Operating System :: OS Independent",
8284
"Topic :: Internet",
8385
],

0 commit comments

Comments
 (0)
0