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

Commit 90f50ca

Browse files
feat: Add support for python 3.11 (#256)
* 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 bd80539 commit 90f50ca

File tree

11 files changed

+17
-9
lines changed

11 files changed

+17
-9
lines changed

google/cloud/iam_credentials_v1/services/iam_credentials/async_client.py

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

google/cloud/iam_credentials_v1/services/iam_credentials/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def get_mtls_endpoint_and_cert_source(
300300
The API endpoint is determined in the following order:
301301
(1) if `client_options.api_endpoint` if provided, use the provided one.
302302
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
303-
default mTLS endpoint; if the environment variabel is "never", use the default API
303+
default mTLS endpoint; if the environment variable is "never", use the default API
304304
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
305305
use the default API endpoint.
306306

google/cloud/iam_v2/services/policies/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/iam_v2/services/policies/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get_mtls_endpoint_and_cert_source(
274274
The API endpoint is determined in the following order:
275275
(1) if `client_options.api_endpoint` if provided, use the provided one.
276276
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
277-
default mTLS endpoint; if the environment variabel is "never", use the default API
277+
default mTLS endpoint; if the environment variable is "never", use the default API
278278
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
279279
use the default API endpoint.
280280

google/cloud/iam_v2beta/services/policies/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/iam_v2beta/services/policies/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get_mtls_endpoint_and_cert_source(
274274
The API endpoint is determined in the following order:
275275
(1) if `client_options.api_endpoint` if provided, use the provided one.
276276
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
277-
default mTLS endpoint; if the environment variabel is "never", use the default API
277+
default mTLS endpoint; if the environment variable is "never", use the default API
278278
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
279279
use the default API endpoint.
280280

samples/generated_samples/snippet_metadata_google.iam.credentials.v1.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-iam",
11-
"version": "2.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.iam.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-iam",
11-
"version": "2.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.iam.v2beta.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-iam",
11-
"version": "2.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

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
]
4344
url = "https://github.com/googleapis/python-iam"
@@ -77,6 +78,7 @@
7778
"Programming Language :: Python :: 3.8",
7879
"Programming Language :: Python :: 3.9",
7980
"Programming Language :: Python :: 3.10",
81+
"Programming Language :: Python :: 3.11",
8082
"Operating System :: OS Independent",
8183
"Topic :: Internet",
8284
],

0 commit comments

Comments
 (0)