Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 827f45e

Browse files
feat: Add support for python 3.11 (#237)
* 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: https://github.com/googleapis/googleapis-gen/commit/7bf29a414b9ecac3170f0b65bdc2a95705c0ef1a 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 63e92cf commit 827f45e

File tree

8 files changed

+15
-6
lines changed

8 files changed

+15
-6
lines changed

google/cloud/functions_v1/services/cloud_functions_service/async_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_mtls_endpoint_and_cert_source(
156156
The API endpoint is determined in the following order:
157157
(1) if `client_options.api_endpoint` if provided, use the provided one.
158158
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
159-
default mTLS endpoint; if the environment variabel is "never", use the default API
159+
default mTLS endpoint; if the environment variable is "never", use the default API
160160
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
161161
use the default API endpoint.
162162

google/cloud/functions_v1/services/cloud_functions_service/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def get_mtls_endpoint_and_cert_source(
348348
The API endpoint is determined in the following order:
349349
(1) if `client_options.api_endpoint` if provided, use the provided one.
350350
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
351-
default mTLS endpoint; if the environment variabel is "never", use the default API
351+
default mTLS endpoint; if the environment variable is "never", use the default API
352352
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
353353
use the default API endpoint.
354354

google/cloud/functions_v2/services/function_service/async_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def get_mtls_endpoint_and_cert_source(
166166
The API endpoint is determined in the following order:
167167
(1) if `client_options.api_endpoint` if provided, use the provided one.
168168
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
169-
default mTLS endpoint; if the environment variabel is "never", use the default API
169+
default mTLS endpoint; if the environment variable is "never", use the default API
170170
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
171171
use the default API endpoint.
172172

google/cloud/functions_v2/services/function_service/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def get_mtls_endpoint_and_cert_source(
481481
The API endpoint is determined in the following order:
482482
(1) if `client_options.api_endpoint` if provided, use the provided one.
483483
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
484-
default mTLS endpoint; if the environment variabel is "never", use the default API
484+
default mTLS endpoint; if the environment variable is "never", use the default API
485485
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
486486
use the default API endpoint.
487487

samples/generated_samples/snippet_metadata_google.cloud.functions.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-functions",
11-
"version": "1.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.cloud.functions.v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-functions",
11-
"version": "1.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

setup.py

+2
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
],

testing/constraints-3.12.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# -*- coding: utf-8 -*-
2+
# This constraints file is required for unit tests.
3+
# List all library dependencies and extras in this file.
4+
google-api-core
5+
proto-plus
6+
protobuf
7+
grpc-google-iam-v1

0 commit comments

Comments
 (0)