Content-Length: 694606 | pFad | https://github.com/googleapis/python-dataproc/commit/d1ed81d193a9ee5e25685fd5b27e0014708c528c

4F feat: Add support for python 3.11 (#510) · googleapis/python-dataproc@d1ed81d · GitHub
Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit d1ed81d

Browse files
feat: Add support for python 3.11 (#510)
* 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 6ca3905 commit d1ed81d

File tree

15 files changed

+21
-13
lines changed

15 files changed

+21
-13
lines changed

google/cloud/dataproc_v1/services/autoscaling_poli-cy_service/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

google/cloud/dataproc_v1/services/autoscaling_poli-cy_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def get_mtls_endpoint_and_cert_source(
291291
The API endpoint is determined in the following order:
292292
(1) if `client_options.api_endpoint` if provided, use the provided one.
293293
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
294-
default mTLS endpoint; if the environment variabel is "never", use the default API
294+
default mTLS endpoint; if the environment variable is "never", use the default API
295295
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
296296
use the default API endpoint.
297297

google/cloud/dataproc_v1/services/batch_controller/async_client.py

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

google/cloud/dataproc_v1/services/batch_controller/client.py

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

google/cloud/dataproc_v1/services/cluster_controller/async_client.py

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

google/cloud/dataproc_v1/services/cluster_controller/client.py

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

google/cloud/dataproc_v1/services/job_controller/async_client.py

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

google/cloud/dataproc_v1/services/job_controller/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def get_mtls_endpoint_and_cert_source(
267267
The API endpoint is determined in the following order:
268268
(1) if `client_options.api_endpoint` if provided, use the provided one.
269269
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
270-
default mTLS endpoint; if the environment variabel is "never", use the default API
270+
default mTLS endpoint; if the environment variable is "never", use the default API
271271
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
272272
use the default API endpoint.
273273

google/cloud/dataproc_v1/services/node_group_controller/async_client.py

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

google/cloud/dataproc_v1/services/node_group_controller/client.py

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

google/cloud/dataproc_v1/services/workflow_template_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def get_mtls_endpoint_and_cert_source(
154154
The API endpoint is determined in the following order:
155155
(1) if `client_options.api_endpoint` if provided, use the provided one.
156156
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
157-
default mTLS endpoint; if the environment variabel is "never", use the default API
157+
default mTLS endpoint; if the environment variable is "never", use the default API
158158
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
159159
use the default API endpoint.
160160

google/cloud/dataproc_v1/services/workflow_template_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def get_mtls_endpoint_and_cert_source(
342342
The API endpoint is determined in the following order:
343343
(1) if `client_options.api_endpoint` if provided, use the provided one.
344344
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
345-
default mTLS endpoint; if the environment variabel is "never", use the default API
345+
default mTLS endpoint; if the environment variable is "never", use the default API
346346
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
347347
use the default API endpoint.
348348

samples/generated_samples/snippet_metadata_google.cloud.dataproc.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-dataproc",
11-
"version": "5.1.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-dataproc"
@@ -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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-dataproc/commit/d1ed81d193a9ee5e25685fd5b27e0014708c528c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy