Content-Length: 2157039 | pFad | https://github.com/googleapis/google-cloud-python/commit/e9655dff9f393bf3382c668ea2a31dd3332ed192

6B feat: [Many APIs] Add support for Python 3.12 (#12075) · googleapis/google-cloud-python@e9655df · GitHub
Skip to content

Commit e9655df

Browse files
feat: [Many APIs] Add support for Python 3.12 (#12075)
- [ ] Regenerate this pull request now. docs: updated doc for speech mode PiperOrigin-RevId: 586469693 Source-Link: googleapis/googleapis@e8148d6 Source-Link: googleapis/googleapis-gen@85136bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJhcGlkbWlncmF0aW9uYXNzZXNzbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiODUxMzZiZDA0MzgzZWQ3MTcyYmIxOGI3YjhkMjIwZGQ3ZmY2YjNhMCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY29tbWVuZGF0aW9ucy1haS8uT3dsQm90LnlhbWwiLCJoIjoiODUxMzZiZDA0MzgzZWQ3MTcyYmIxOGI3YjhkMjIwZGQ3ZmY2YjNhMCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY29tbWVuZGVyLy5Pd2xCb3QueWFtbCIsImgiOiI4NTEzNmJkMDQzODNlZDcxNzJiYjE4YjdiOGQyMjBkZDdmZjZiM2EwIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlZGlzLy5Pd2xCb3QueWFtbCIsImgiOiI4NTEzNmJkMDQzODNlZDcxNzJiYjE4YjdiOGQyMjBkZDdmZjZiM2EwIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlc291cmNlLW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6Ijg1MTM2YmQwNDM4M2VkNzE3MmJiMThiN2I4ZDIyMGRkN2ZmNmIzYTAifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWN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LCJoIjoiODUxMzZiZDA0MzgzZWQ3MTcyYmIxOGI3YjhkMjIwZGQ3ZmY2YjNhMCJ9 BEGIN_COMMIT_OVERRIDE feat: Add support for python 3.12 feat: Introduce compatibility with native namespace packages fix: Use `retry_async` instead of `retry` in async client fix: Require proto-plus >= 1.22.3 END_COMMIT_OVERRIDE --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent f920d22 commit e9655df

File tree

262 files changed

+2127
-2039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+2127
-2039
lines changed

packages/google-cloud-rapidmigrationassessment/CONTRIBUTING.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.7, 3.8, 3.9, 3.10 and 3.11 on both UNIX and Windows.
25+
3.7, 3.8, 3.9, 3.10, 3.11 and 3.12 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -72,7 +72,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7272

7373
- To run a single unit test::
7474

75-
$ nox -s unit-3.11 -- -k <name of test>
75+
$ nox -s unit-3.12 -- -k <name of test>
7676

7777

7878
.. note::
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.11 -- -k <name of test>
146+
$ nox -s system-3.12 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
151+
System tests are only configured to run under Python 3.8, 3.9, 3.10, 3.11 and 3.12.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -226,12 +226,14 @@ We support:
226226
- `Python 3.9`_
227227
- `Python 3.10`_
228228
- `Python 3.11`_
229+
- `Python 3.12`_
229230

230231
.. _Python 3.7: https://docs.python.org/3.7/
231232
.. _Python 3.8: https://docs.python.org/3.8/
232233
.. _Python 3.9: https://docs.python.org/3.9/
233234
.. _Python 3.10: https://docs.python.org/3.10/
234235
.. _Python 3.11: https://docs.python.org/3.11/
236+
.. _Python 3.12: https://docs.python.org/3.12/
235237

236238

237239
Supported versions can be found in our ``noxfile.py`` `config`_.

packages/google-cloud-rapidmigrationassessment/google/cloud/rapidmigrationassessment_v1/services/rapid_migration_assessment/async_client.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030

3131
from google.api_core import exceptions as core_exceptions
3232
from google.api_core import gapic_v1
33-
from google.api_core import retry as retries
33+
from google.api_core import retry_async as retries
3434
from google.api_core.client_options import ClientOptions
3535
from google.auth import credentials as ga_credentials # type: ignore
3636
from google.oauth2 import service_account # type: ignore
3737

3838
from google.cloud.rapidmigrationassessment_v1 import gapic_version as package_version
3939

4040
try:
41-
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
41+
OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
4242
except AttributeError: # pragma: NO COVER
43-
OptionalRetry = Union[retries.Retry, object] # type: ignore
43+
OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
4444

4545
from google.api_core import operation # type: ignore
4646
from google.api_core import operation_async # type: ignore
@@ -306,7 +306,7 @@ async def sample_create_collector():
306306
This corresponds to the ``collector_id`` field
307307
on the ``request`` instance; if ``request`` is provided, this
308308
should not be set.
309-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
309+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
310310
should be retried.
311311
timeout (float): The timeout for this request.
312312
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -434,7 +434,7 @@ async def sample_create_annotation():
434434
This corresponds to the ``annotation`` field
435435
on the ``request`` instance; if ``request`` is provided, this
436436
should not be set.
437-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
437+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
438438
should be retried.
439439
timeout (float): The timeout for this request.
440440
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -549,7 +549,7 @@ async def sample_get_annotation():
549549
This corresponds to the ``name`` field
550550
on the ``request`` instance; if ``request`` is provided, this
551551
should not be set.
552-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
552+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
553553
should be retried.
554554
timeout (float): The timeout for this request.
555555
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -580,7 +580,7 @@ async def sample_get_annotation():
580580
# and friendly error handling.
581581
rpc = gapic_v1.method_async.wrap_method(
582582
self._client._transport.get_annotation,
583-
default_retry=retries.Retry(
583+
default_retry=retries.AsyncRetry(
584584
initial=1.0,
585585
maximum=10.0,
586586
multiplier=1.3,
@@ -662,7 +662,7 @@ async def sample_list_collectors():
662662
This corresponds to the ``parent`` field
663663
on the ``request`` instance; if ``request`` is provided, this
664664
should not be set.
665-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
665+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
666666
should be retried.
667667
timeout (float): The timeout for this request.
668668
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -698,7 +698,7 @@ async def sample_list_collectors():
698698
# and friendly error handling.
699699
rpc = gapic_v1.method_async.wrap_method(
700700
self._client._transport.list_collectors,
701-
default_retry=retries.Retry(
701+
default_retry=retries.AsyncRetry(
702702
initial=1.0,
703703
maximum=10.0,
704704
multiplier=1.3,
@@ -786,7 +786,7 @@ async def sample_get_collector():
786786
This corresponds to the ``name`` field
787787
on the ``request`` instance; if ``request`` is provided, this
788788
should not be set.
789-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
789+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
790790
should be retried.
791791
timeout (float): The timeout for this request.
792792
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -817,7 +817,7 @@ async def sample_get_collector():
817817
# and friendly error handling.
818818
rpc = gapic_v1.method_async.wrap_method(
819819
self._client._transport.get_collector,
820-
default_retry=retries.Retry(
820+
default_retry=retries.AsyncRetry(
821821
initial=1.0,
822822
maximum=10.0,
823823
multiplier=1.3,
@@ -910,7 +910,7 @@ async def sample_update_collector():
910910
This corresponds to the ``update_mask`` field
911911
on the ``request`` instance; if ``request`` is provided, this
912912
should not be set.
913-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
913+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
914914
should be retried.
915915
timeout (float): The timeout for this request.
916916
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1032,7 +1032,7 @@ async def sample_delete_collector():
10321032
This corresponds to the ``name`` field
10331033
on the ``request`` instance; if ``request`` is provided, this
10341034
should not be set.
1035-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1035+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
10361036
should be retried.
10371037
timeout (float): The timeout for this request.
10381038
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1148,7 +1148,7 @@ async def sample_resume_collector():
11481148
This corresponds to the ``name`` field
11491149
on the ``request`` instance; if ``request`` is provided, this
11501150
should not be set.
1151-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1151+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
11521152
should be retried.
11531153
timeout (float): The timeout for this request.
11541154
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1264,7 +1264,7 @@ async def sample_register_collector():
12641264
This corresponds to the ``name`` field
12651265
on the ``request`` instance; if ``request`` is provided, this
12661266
should not be set.
1267-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1267+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
12681268
should be retried.
12691269
timeout (float): The timeout for this request.
12701270
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1380,7 +1380,7 @@ async def sample_pause_collector():
13801380
This corresponds to the ``name`` field
13811381
on the ``request`` instance; if ``request`` is provided, this
13821382
should not be set.
1383-
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1383+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
13841384
should be retried.
13851385
timeout (float): The timeout for this request.
13861386
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1459,7 +1459,7 @@ async def list_operations(
14591459
request (:class:`~.operations_pb2.ListOperationsRequest`):
14601460
The request object. Request message for
14611461
`ListOperations` method.
1462-
retry (google.api_core.retry.Retry): Designation of what errors,
1462+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
14631463
if any, should be retried.
14641464
timeout (float): The timeout for this request.
14651465
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1476,7 +1476,7 @@ async def list_operations(
14761476

14771477
# Wrap the RPC method; this adds retry and timeout information,
14781478
# and friendly error handling.
1479-
rpc = gapic_v1.method.wrap_method(
1479+
rpc = gapic_v1.method_async.wrap_method(
14801480
self._client._transport.list_operations,
14811481
default_timeout=None,
14821482
client_info=DEFAULT_CLIENT_INFO,
@@ -1513,7 +1513,7 @@ async def get_operation(
15131513
request (:class:`~.operations_pb2.GetOperationRequest`):
15141514
The request object. Request message for
15151515
`GetOperation` method.
1516-
retry (google.api_core.retry.Retry): Designation of what errors,
1516+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
15171517
if any, should be retried.
15181518
timeout (float): The timeout for this request.
15191519
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1530,7 +1530,7 @@ async def get_operation(
15301530

15311531
# Wrap the RPC method; this adds retry and timeout information,
15321532
# and friendly error handling.
1533-
rpc = gapic_v1.method.wrap_method(
1533+
rpc = gapic_v1.method_async.wrap_method(
15341534
self._client._transport.get_operation,
15351535
default_timeout=None,
15361536
client_info=DEFAULT_CLIENT_INFO,
@@ -1572,7 +1572,7 @@ async def delete_operation(
15721572
request (:class:`~.operations_pb2.DeleteOperationRequest`):
15731573
The request object. Request message for
15741574
`DeleteOperation` method.
1575-
retry (google.api_core.retry.Retry): Designation of what errors,
1575+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
15761576
if any, should be retried.
15771577
timeout (float): The timeout for this request.
15781578
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1588,7 +1588,7 @@ async def delete_operation(
15881588

15891589
# Wrap the RPC method; this adds retry and timeout information,
15901590
# and friendly error handling.
1591-
rpc = gapic_v1.method.wrap_method(
1591+
rpc = gapic_v1.method_async.wrap_method(
15921592
self._client._transport.delete_operation,
15931593
default_timeout=None,
15941594
client_info=DEFAULT_CLIENT_INFO,
@@ -1626,7 +1626,7 @@ async def cancel_operation(
16261626
request (:class:`~.operations_pb2.CancelOperationRequest`):
16271627
The request object. Request message for
16281628
`CancelOperation` method.
1629-
retry (google.api_core.retry.Retry): Designation of what errors,
1629+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
16301630
if any, should be retried.
16311631
timeout (float): The timeout for this request.
16321632
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1642,7 +1642,7 @@ async def cancel_operation(
16421642

16431643
# Wrap the RPC method; this adds retry and timeout information,
16441644
# and friendly error handling.
1645-
rpc = gapic_v1.method.wrap_method(
1645+
rpc = gapic_v1.method_async.wrap_method(
16461646
self._client._transport.cancel_operation,
16471647
default_timeout=None,
16481648
client_info=DEFAULT_CLIENT_INFO,
@@ -1676,7 +1676,7 @@ async def get_location(
16761676
request (:class:`~.location_pb2.GetLocationRequest`):
16771677
The request object. Request message for
16781678
`GetLocation` method.
1679-
retry (google.api_core.retry.Retry): Designation of what errors,
1679+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
16801680
if any, should be retried.
16811681
timeout (float): The timeout for this request.
16821682
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1693,7 +1693,7 @@ async def get_location(
16931693

16941694
# Wrap the RPC method; this adds retry and timeout information,
16951695
# and friendly error handling.
1696-
rpc = gapic_v1.method.wrap_method(
1696+
rpc = gapic_v1.method_async.wrap_method(
16971697
self._client._transport.get_location,
16981698
default_timeout=None,
16991699
client_info=DEFAULT_CLIENT_INFO,
@@ -1730,7 +1730,7 @@ async def list_locations(
17301730
request (:class:`~.location_pb2.ListLocationsRequest`):
17311731
The request object. Request message for
17321732
`ListLocations` method.
1733-
retry (google.api_core.retry.Retry): Designation of what errors,
1733+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
17341734
if any, should be retried.
17351735
timeout (float): The timeout for this request.
17361736
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1747,7 +1747,7 @@ async def list_locations(
17471747

17481748
# Wrap the RPC method; this adds retry and timeout information,
17491749
# and friendly error handling.
1750-
rpc = gapic_v1.method.wrap_method(
1750+
rpc = gapic_v1.method_async.wrap_method(
17511751
self._client._transport.list_locations,
17521752
default_timeout=None,
17531753
client_info=DEFAULT_CLIENT_INFO,

packages/google-cloud-rapidmigrationassessment/noxfile.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@
2929

3030
BLACK_VERSION = "black[jupyter]==23.7.0"
3131
ISORT_VERSION = "isort==5.11.0"
32+
3233
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3334

35+
3436
DEFAULT_PYTHON_VERSION = "3.10"
3537

36-
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
38+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
3739
UNIT_TEST_STANDARD_DEPENDENCIES = [
3840
"mock",
3941
"asyncmock",
@@ -47,7 +49,7 @@
4749
UNIT_TEST_EXTRAS: List[str] = []
4850
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
4951

50-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11"]
52+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
5153
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
5254
"mock",
5355
"pytest",
@@ -89,6 +91,7 @@ def lint(session):
8991
"--check",
9092
*LINT_PATHS,
9193
)
94+
9295
session.run("flake8", "google", "tests")
9396

9497

@@ -336,7 +339,7 @@ def docfx(session):
336339
)
337340

338341

339-
@nox.session(python="3.11")
342+
@nox.session(python="3.12")
340343
def prerelease_deps(session):
341344
"""Run all tests with prerelease versions of dependencies installed."""
342345

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/google-cloud-python/commit/e9655dff9f393bf3382c668ea2a31dd3332ed192

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy