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

Commit fa3a63f

Browse files
feat: Add support for python 3.11 (#257)
* 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 f55b8a1 commit fa3a63f

File tree

10 files changed

+16
-8
lines changed

10 files changed

+16
-8
lines changed

google/cloud/osconfig_v1/services/os_config_service/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/osconfig_v1/services/os_config_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def get_mtls_endpoint_and_cert_source(
335335
The API endpoint is determined in the following order:
336336
(1) if `client_options.api_endpoint` if provided, use the provided one.
337337
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
338-
default mTLS endpoint; if the environment variabel is "never", use the default API
338+
default mTLS endpoint; if the environment variable is "never", use the default API
339339
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
340340
use the default API endpoint.
341341

google/cloud/osconfig_v1/services/os_config_zonal_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get_mtls_endpoint_and_cert_source(
176176
The API endpoint is determined in the following order:
177177
(1) if `client_options.api_endpoint` if provided, use the provided one.
178178
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
179-
default mTLS endpoint; if the environment variabel is "never", use the default API
179+
default mTLS endpoint; if the environment variable is "never", use the default API
180180
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
181181
use the default API endpoint.
182182

google/cloud/osconfig_v1/services/os_config_zonal_service/client.py

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

google/cloud/osconfig_v1alpha/services/os_config_zonal_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def get_mtls_endpoint_and_cert_source(
185185
The API endpoint is determined in the following order:
186186
(1) if `client_options.api_endpoint` if provided, use the provided one.
187187
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
188-
default mTLS endpoint; if the environment variabel is "never", use the default API
188+
default mTLS endpoint; if the environment variable is "never", use the default API
189189
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
190190
use the default API endpoint.
191191

google/cloud/osconfig_v1alpha/services/os_config_zonal_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def get_mtls_endpoint_and_cert_source(
445445
The API endpoint is determined in the following order:
446446
(1) if `client_options.api_endpoint` if provided, use the provided one.
447447
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
448-
default mTLS endpoint; if the environment variabel is "never", use the default API
448+
default mTLS endpoint; if the environment variable is "never", use the default API
449449
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
450450
use the default API endpoint.
451451

samples/generated_samples/snippet_metadata_google.cloud.osconfig.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-os-config",
11-
"version": "1.13.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1alpha.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-os-config",
11-
"version": "1.13.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-os-config"
@@ -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
],

testing/constraints-3.12.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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

0 commit comments

Comments
 (0)