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

Commit 5885372

Browse files
feat: Add support for python 3.11 (#117)
* 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 * regenerate with rest Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 435a706 commit 5885372

File tree

7 files changed

+34
-26
lines changed

7 files changed

+34
-26
lines changed

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.5.1"
3-
}
2+
".": "0.5.1"
3+
}

google/cloud/video/stitcher_v1/services/video_stitcher_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/video/stitcher_v1/services/video_stitcher_service/client.py

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

release-please-config.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3-
"packages": {
4-
".": {
5-
"release-type": "python",
6-
"extra-files": [
7-
"google/cloud/video/stitcher_v1/gapic_version.py",
8-
"google/cloud/video/stitcher/gapic_version.py",
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"release-type": "python",
6+
"extra-files": [
7+
"google/cloud/video/stitcher_v1/gapic_version.py",
8+
"google/cloud/video/stitcher/gapic_version.py",
9+
{
10+
"type": "json",
11+
"path": "samples/generated_samples/snippet_metadata_google.cloud.video.stitcher.v1.json",
12+
"jsonpath": "$.clientLibrary.version"
13+
}
14+
]
15+
}
16+
},
17+
"release-type": "python",
18+
"plugins": [
919
{
10-
"type": "json",
11-
"path": "samples/generated_samples/snippet_metadata_google.cloud.video.stitcher.v1.json",
12-
"jsonpath": "$.clientLibrary.version"
20+
"type": "sentence-case"
1321
}
14-
]
15-
}
16-
},
17-
"release-type": "python",
18-
"plugins": [
19-
{
20-
"type": "sentence-case"
21-
}
22-
],
23-
"initial-version": "0.1.0"
24-
}
22+
],
23+
"initial-version": "0.1.0"
24+
}

samples/generated_samples/snippet_metadata_google.cloud.video.stitcher.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-video-stitcher",
11-
"version": "0.5.1"
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
@@ -40,6 +40,7 @@
4040
dependencies = [
4141
"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.*",
4242
"proto-plus >= 1.22.0, <2.0.0dev",
43+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4344
"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",
4445
]
4546
url = "https://github.com/googleapis/python-video-stitcher"
@@ -79,6 +80,7 @@
7980
"Programming Language :: Python :: 3.8",
8081
"Programming Language :: Python :: 3.9",
8182
"Programming Language :: Python :: 3.10",
83+
"Programming Language :: Python :: 3.11",
8284
"Operating System :: OS Independent",
8385
"Topic :: Internet",
8486
],

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)