Skip to content

Commit 19aca56

Browse files
feat: Add support for python 3.11 (#396)
* 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: googleapis/googleapis-gen@7bf29a4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * require proto-plus 1.22.2 for python 3.11 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 09b8ef3 commit 19aca56

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

google/cloud/datastore_admin_v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from google.cloud.datastore_admin_v1 import gapic_version as package_version
16+
from google.cloud.datastore_admin import gapic_version as package_version
1717

1818
__version__ = package_version.__version__
1919

google/cloud/datastore_admin_v1/services/datastore_admin/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_mtls_endpoint_and_cert_source(
193193
The API endpoint is determined in the following order:
194194
(1) if `client_options.api_endpoint` if provided, use the provided one.
195195
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
196-
default mTLS endpoint; if the environment variabel is "never", use the default API
196+
default mTLS endpoint; if the environment variable is "never", use the default API
197197
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
198198
use the default API endpoint.
199199

google/cloud/datastore_admin_v1/services/datastore_admin/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def get_mtls_endpoint_and_cert_source(
326326
The API endpoint is determined in the following order:
327327
(1) if `client_options.api_endpoint` if provided, use the provided one.
328328
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
329-
default mTLS endpoint; if the environment variabel is "never", use the default API
329+
default mTLS endpoint; if the environment variable is "never", use the default API
330330
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
331331
use the default API endpoint.
332332

google/cloud/datastore_v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from google.cloud.datastore_v1 import gapic_version as package_version
16+
from google.cloud.datastore import gapic_version as package_version
1717

1818
__version__ = package_version.__version__
1919

google/cloud/datastore_v1/services/datastore/async_client.py

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

google/cloud/datastore_v1/services/datastore/client.py

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

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"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.*",
3333
"google-cloud-core >= 1.4.0, <3.0.0dev",
3434
"proto-plus >= 1.22.0, <2.0.0dev",
35+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
3536
"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",
3637
]
3738
extras = {"libcst": "libcst >= 0.2.5"}
@@ -83,6 +84,7 @@
8384
"Programming Language :: Python :: 3.8",
8485
"Programming Language :: Python :: 3.9",
8586
"Programming Language :: Python :: 3.10",
87+
"Programming Language :: Python :: 3.11",
8688
"Operating System :: OS Independent",
8789
"Topic :: Internet",
8890
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)