google-api-core 2.22.0__tar.gz → 2.23.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. {google_api_core-2.22.0/google_api_core.egg-info → google_api_core-2.23.0}/PKG-INFO +5 -5
  2. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/version.py +1 -1
  3. {google_api_core-2.22.0 → google_api_core-2.23.0/google_api_core.egg-info}/PKG-INFO +5 -5
  4. {google_api_core-2.22.0 → google_api_core-2.23.0}/google_api_core.egg-info/SOURCES.txt +1 -1
  5. google_api_core-2.23.0/pyproject.toml +107 -0
  6. google_api_core-2.23.0/setup.py +18 -0
  7. google_api_core-2.22.0/google_api_core.egg-info/not-zip-safe +0 -1
  8. google_api_core-2.22.0/setup.py +0 -108
  9. {google_api_core-2.22.0 → google_api_core-2.23.0}/LICENSE +0 -0
  10. {google_api_core-2.22.0 → google_api_core-2.23.0}/MANIFEST.in +0 -0
  11. {google_api_core-2.22.0 → google_api_core-2.23.0}/README.rst +0 -0
  12. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/__init__.py +0 -0
  13. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/_rest_streaming_base.py +0 -0
  14. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/bidi.py +0 -0
  15. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/client_info.py +0 -0
  16. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/client_options.py +0 -0
  17. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/datetime_helpers.py +0 -0
  18. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/exceptions.py +0 -0
  19. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/extended_operation.py +0 -0
  20. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/future/__init__.py +0 -0
  21. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/future/_helpers.py +0 -0
  22. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/future/async_future.py +0 -0
  23. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/future/base.py +0 -0
  24. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/future/polling.py +0 -0
  25. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/__init__.py +0 -0
  26. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/client_info.py +0 -0
  27. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/config.py +0 -0
  28. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/config_async.py +0 -0
  29. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/method.py +0 -0
  30. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/method_async.py +0 -0
  31. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/gapic_v1/routing_header.py +0 -0
  32. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/general_helpers.py +0 -0
  33. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/grpc_helpers.py +0 -0
  34. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/grpc_helpers_async.py +0 -0
  35. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/iam.py +0 -0
  36. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operation.py +0 -0
  37. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operation_async.py +0 -0
  38. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/__init__.py +0 -0
  39. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/abstract_operations_base_client.py +0 -0
  40. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/abstract_operations_client.py +0 -0
  41. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/operations_async_client.py +0 -0
  42. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/operations_client.py +0 -0
  43. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/operations_client_config.py +0 -0
  44. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/operations_rest_client_async.py +0 -0
  45. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/pagers.py +0 -0
  46. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/pagers_async.py +0 -0
  47. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/pagers_base.py +0 -0
  48. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/transports/__init__.py +0 -0
  49. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/transports/base.py +0 -0
  50. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/transports/rest.py +0 -0
  51. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/operations_v1/transports/rest_asyncio.py +0 -0
  52. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/page_iterator.py +0 -0
  53. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/page_iterator_async.py +0 -0
  54. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/path_template.py +0 -0
  55. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/protobuf_helpers.py +0 -0
  56. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/py.typed +0 -0
  57. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/rest_helpers.py +0 -0
  58. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/rest_streaming.py +0 -0
  59. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/rest_streaming_async.py +0 -0
  60. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/__init__.py +0 -0
  61. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/retry_base.py +0 -0
  62. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/retry_streaming.py +0 -0
  63. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/retry_streaming_async.py +0 -0
  64. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/retry_unary.py +0 -0
  65. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry/retry_unary_async.py +0 -0
  66. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/retry_async.py +0 -0
  67. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/timeout.py +0 -0
  68. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/universe.py +0 -0
  69. {google_api_core-2.22.0 → google_api_core-2.23.0}/google/api_core/version_header.py +0 -0
  70. {google_api_core-2.22.0 → google_api_core-2.23.0}/google_api_core.egg-info/dependency_links.txt +0 -0
  71. {google_api_core-2.22.0 → google_api_core-2.23.0}/google_api_core.egg-info/requires.txt +0 -0
  72. {google_api_core-2.22.0 → google_api_core-2.23.0}/google_api_core.egg-info/top_level.txt +0 -0
  73. {google_api_core-2.22.0 → google_api_core-2.23.0}/setup.cfg +0 -0
  74. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/__init__.py +0 -0
  75. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/__init__.py +0 -0
  76. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/future/__init__.py +0 -0
  77. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/future/test_async_future.py +0 -0
  78. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/gapic/test_config_async.py +0 -0
  79. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/gapic/test_method_async.py +0 -0
  80. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/operations_v1/__init__.py +0 -0
  81. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/operations_v1/test_operations_async_client.py +0 -0
  82. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/retry/__init__.py +0 -0
  83. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/retry/test_retry_streaming_async.py +0 -0
  84. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/retry/test_retry_unary_async.py +0 -0
  85. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/test_grpc_helpers_async.py +0 -0
  86. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/test_operation_async.py +0 -0
  87. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/test_page_iterator_async.py +0 -0
  88. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/asyncio/test_rest_streaming_async.py +0 -0
  89. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/helpers.py +0 -0
  90. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/__init__.py +0 -0
  91. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/future/__init__.py +0 -0
  92. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/future/test__helpers.py +0 -0
  93. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/future/test_polling.py +0 -0
  94. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/gapic/test_client_info.py +0 -0
  95. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/gapic/test_config.py +0 -0
  96. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/gapic/test_method.py +0 -0
  97. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/gapic/test_routing_header.py +0 -0
  98. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/operations_v1/__init__.py +0 -0
  99. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/operations_v1/test_operations_client.py +0 -0
  100. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/operations_v1/test_operations_rest_client.py +0 -0
  101. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/retry/__init__.py +0 -0
  102. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/retry/test_retry_base.py +0 -0
  103. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/retry/test_retry_imports.py +0 -0
  104. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/retry/test_retry_streaming.py +0 -0
  105. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/retry/test_retry_unary.py +0 -0
  106. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_bidi.py +0 -0
  107. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_client_info.py +0 -0
  108. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_client_options.py +0 -0
  109. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_datetime_helpers.py +0 -0
  110. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_exceptions.py +0 -0
  111. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_extended_operation.py +0 -0
  112. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_grpc_helpers.py +0 -0
  113. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_iam.py +0 -0
  114. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_operation.py +0 -0
  115. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_packaging.py +0 -0
  116. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_page_iterator.py +0 -0
  117. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_path_template.py +0 -0
  118. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_protobuf_helpers.py +0 -0
  119. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_rest_helpers.py +0 -0
  120. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_rest_streaming.py +0 -0
  121. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_timeout.py +0 -0
  122. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_universe.py +0 -0
  123. {google_api_core-2.22.0 → google_api_core-2.23.0}/tests/unit/test_version_header.py +0 -0
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-api-core
3
- Version: 2.22.0
3
+ Version: 2.23.0
4
4
  Summary: Google API client core library
5
- Home-page: https://github.com/googleapis/python-api-core
6
- Author: Google LLC
7
- Author-email: googleapis-packages@google.com
5
+ Author-email: Google LLC <googleapis-packages@google.com>
8
6
  License: Apache 2.0
9
- Platform: Posix; MacOS X; Windows
7
+ Project-URL: Documentation, https://googleapis.dev/python/google-api-core/latest/
8
+ Project-URL: Repository, https://github.com/googleapis/python-api-core
10
9
  Classifier: Development Status :: 5 - Production/Stable
11
10
  Classifier: Intended Audience :: Developers
12
11
  Classifier: License :: OSI Approved :: Apache Software License
@@ -22,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
22
21
  Classifier: Operating System :: OS Independent
23
22
  Classifier: Topic :: Internet
24
23
  Requires-Python: >=3.7
24
+ Description-Content-Type: text/x-rst
25
25
  License-File: LICENSE
26
26
  Requires-Dist: googleapis-common-protos<2.0.dev0,>=1.56.2
27
27
  Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.19.5
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "2.22.0"
15
+ __version__ = "2.23.0"
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-api-core
3
- Version: 2.22.0
3
+ Version: 2.23.0
4
4
  Summary: Google API client core library
5
- Home-page: https://github.com/googleapis/python-api-core
6
- Author: Google LLC
7
- Author-email: googleapis-packages@google.com
5
+ Author-email: Google LLC <googleapis-packages@google.com>
8
6
  License: Apache 2.0
9
- Platform: Posix; MacOS X; Windows
7
+ Project-URL: Documentation, https://googleapis.dev/python/google-api-core/latest/
8
+ Project-URL: Repository, https://github.com/googleapis/python-api-core
10
9
  Classifier: Development Status :: 5 - Production/Stable
11
10
  Classifier: Intended Audience :: Developers
12
11
  Classifier: License :: OSI Approved :: Apache Software License
@@ -22,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
22
21
  Classifier: Operating System :: OS Independent
23
22
  Classifier: Topic :: Internet
24
23
  Requires-Python: >=3.7
24
+ Description-Content-Type: text/x-rst
25
25
  License-File: LICENSE
26
26
  Requires-Dist: googleapis-common-protos<2.0.dev0,>=1.56.2
27
27
  Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.19.5
@@ -1,6 +1,7 @@
1
1
  LICENSE
2
2
  MANIFEST.in
3
3
  README.rst
4
+ pyproject.toml
4
5
  setup.cfg
5
6
  setup.py
6
7
  google/api_core/__init__.py
@@ -65,7 +66,6 @@ google/api_core/retry/retry_unary_async.py
65
66
  google_api_core.egg-info/PKG-INFO
66
67
  google_api_core.egg-info/SOURCES.txt
67
68
  google_api_core.egg-info/dependency_links.txt
68
- google_api_core.egg-info/not-zip-safe
69
69
  google_api_core.egg-info/requires.txt
70
70
  google_api_core.egg-info/top_level.txt
71
71
  tests/__init__.py
@@ -0,0 +1,107 @@
1
+ # Copyright 2024 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ [build-system]
16
+ requires = ["setuptools"]
17
+ build-backend = "setuptools.build_meta"
18
+
19
+ [project]
20
+ name = "google-api-core"
21
+ authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }]
22
+ license = { text = "Apache 2.0" }
23
+ requires-python = ">=3.7"
24
+ readme = "README.rst"
25
+ description = "Google API client core library"
26
+ classifiers = [
27
+ # Should be one of:
28
+ # "Development Status :: 3 - Alpha"
29
+ # "Development Status :: 4 - Beta"
30
+ # "Development Status :: 5 - Production/Stable"
31
+ "Development Status :: 5 - Production/Stable",
32
+ "Intended Audience :: Developers",
33
+ "License :: OSI Approved :: Apache Software License",
34
+ "Programming Language :: Python",
35
+ "Programming Language :: Python :: 3",
36
+ "Programming Language :: Python :: 3.7",
37
+ "Programming Language :: Python :: 3.8",
38
+ "Programming Language :: Python :: 3.9",
39
+ "Programming Language :: Python :: 3.10",
40
+ "Programming Language :: Python :: 3.11",
41
+ "Programming Language :: Python :: 3.12",
42
+ "Programming Language :: Python :: 3.13",
43
+ "Operating System :: OS Independent",
44
+ "Topic :: Internet",
45
+ ]
46
+ dependencies = [
47
+ "googleapis-common-protos >= 1.56.2, < 2.0.dev0",
48
+ "protobuf >= 3.19.5, < 6.0.0.dev0, != 3.20.0, != 3.20.1, != 4.21.0, != 4.21.1, != 4.21.2, != 4.21.3, != 4.21.4, != 4.21.5",
49
+ "proto-plus >= 1.22.3, < 2.0.0dev",
50
+ "proto-plus >= 1.25.0, < 2.0.0dev; python_version >= '3.13'",
51
+ "google-auth >= 2.14.1, < 3.0.dev0",
52
+ "requests >= 2.18.0, < 3.0.0.dev0",
53
+ ]
54
+ dynamic = ["version"]
55
+
56
+ [project.urls]
57
+ Documentation = "https://googleapis.dev/python/google-api-core/latest/"
58
+ Repository = "https://github.com/googleapis/python-api-core"
59
+
60
+ [project.optional-dependencies]
61
+ async_rest = ["google-auth[aiohttp] >= 2.35.0, < 3.0.dev0"]
62
+ grpc = [
63
+ "grpcio >= 1.33.2, < 2.0dev",
64
+ "grpcio >= 1.49.1, < 2.0dev; python_version >= '3.11'",
65
+ "grpcio-status >= 1.33.2, < 2.0.dev0",
66
+ "grpcio-status >= 1.49.1, < 2.0.dev0; python_version >= '3.11'",
67
+ ]
68
+ grpcgcp = ["grpcio-gcp >= 0.2.2, < 1.0.dev0"]
69
+ grpcio-gcp = ["grpcio-gcp >= 0.2.2, < 1.0.dev0"]
70
+
71
+ [tool.setuptools.dynamic]
72
+ version = { attr = "google.api_core.version.__version__" }
73
+
74
+ [tool.setuptools.packages.find]
75
+ # Only include packages under the 'google' namespace. Do not include tests,
76
+ # benchmarks, etc.
77
+ include = ["google*"]
78
+
79
+ [tool.mypy]
80
+ python_version = "3.7"
81
+ namespace_packages = true
82
+ ignore_missing_imports = true
83
+
84
+ [tool.pytest]
85
+ filterwarnings = [
86
+ # treat all warnings as errors
87
+ "error",
88
+ # Remove once https://github.com/pytest-dev/pytest-cov/issues/621 is fixed
89
+ "ignore:.*The --rsyncdir command line argument and rsyncdirs config variable are deprecated:DeprecationWarning",
90
+ # Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
91
+ "ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning",
92
+ # Remove once support for python 3.7 is dropped
93
+ # This warning only appears when using python 3.7
94
+ "ignore:.*Using or importing the ABCs from.*collections:DeprecationWarning",
95
+ # Remove once support for grpcio-gcp is deprecated
96
+ # See https://github.com/googleapis/python-api-core/blob/42e8b6e6f426cab749b34906529e8aaf3f133d75/google/api_core/grpc_helpers.py#L39-L45
97
+ "ignore:.*Support for grpcio-gcp is deprecated:DeprecationWarning",
98
+ "ignore: The `compression` argument is ignored for grpc_gcp.secure_channel creation:DeprecationWarning",
99
+ "ignore:The `attempt_direct_path` argument is ignored for grpc_gcp.secure_channel creation:DeprecationWarning",
100
+ # Remove once the minimum supported version of googleapis-common-protos is 1.62.0
101
+ "ignore:.*pkg_resources.declare_namespace:DeprecationWarning",
102
+ "ignore:.*pkg_resources is deprecated as an API:DeprecationWarning",
103
+ # Remove once https://github.com/grpc/grpc/issues/35086 is fixed (and version newer than 1.60.0 is published)
104
+ "ignore:There is no current event loop:DeprecationWarning",
105
+ # Remove after support for Python 3.7 is dropped
106
+ "ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning",
107
+ ]
@@ -0,0 +1,18 @@
1
+ # Copyright 2018 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ import setuptools
16
+
17
+
18
+ setuptools.setup()
@@ -1,108 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- import io
16
- import os
17
-
18
- import setuptools
19
-
20
-
21
- # Package metadata.
22
-
23
- name = "google-api-core"
24
- description = "Google API client core library"
25
-
26
- # Should be one of:
27
- # 'Development Status :: 3 - Alpha'
28
- # 'Development Status :: 4 - Beta'
29
- # 'Development Status :: 5 - Production/Stable'
30
- release_status = "Development Status :: 5 - Production/Stable"
31
- dependencies = [
32
- "googleapis-common-protos >= 1.56.2, < 2.0.dev0",
33
- "protobuf>=3.19.5,<6.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
34
- "proto-plus >= 1.22.3, < 2.0.0dev",
35
- "proto-plus >= 1.25.0, < 2.0.0dev; python_version >= '3.13'",
36
- "google-auth >= 2.14.1, < 3.0.dev0",
37
- "requests >= 2.18.0, < 3.0.0.dev0",
38
- ]
39
- extras = {
40
- "async_rest": [
41
- "google-auth[aiohttp] >= 2.35.0, < 3.0.dev0",
42
- ],
43
- "grpc": [
44
- "grpcio >= 1.33.2, < 2.0dev",
45
- "grpcio >= 1.49.1, < 2.0dev; python_version>='3.11'",
46
- "grpcio-status >= 1.33.2, < 2.0.dev0",
47
- "grpcio-status >= 1.49.1, < 2.0.dev0; python_version>='3.11'",
48
- ],
49
- "grpcgcp": "grpcio-gcp >= 0.2.2, < 1.0.dev0",
50
- "grpcio-gcp": "grpcio-gcp >= 0.2.2, < 1.0.dev0",
51
- }
52
-
53
-
54
- # Setup boilerplate below this line.
55
-
56
- package_root = os.path.abspath(os.path.dirname(__file__))
57
-
58
-
59
- version = {}
60
- with open(os.path.join(package_root, "google/api_core/version.py")) as fp:
61
- exec(fp.read(), version)
62
- version = version["__version__"]
63
-
64
- readme_filename = os.path.join(package_root, "README.rst")
65
- with io.open(readme_filename, encoding="utf-8") as readme_file:
66
- readme = readme_file.read()
67
-
68
- # Only include packages under the 'google' namespace. Do not include tests,
69
- # benchmarks, etc.
70
- packages = [
71
- package
72
- for package in setuptools.find_namespace_packages()
73
- if package.startswith("google")
74
- ]
75
-
76
- setuptools.setup(
77
- name=name,
78
- version=version,
79
- description=description,
80
- long_description=readme,
81
- author="Google LLC",
82
- author_email="googleapis-packages@google.com",
83
- license="Apache 2.0",
84
- url="https://github.com/googleapis/python-api-core",
85
- classifiers=[
86
- release_status,
87
- "Intended Audience :: Developers",
88
- "License :: OSI Approved :: Apache Software License",
89
- "Programming Language :: Python",
90
- "Programming Language :: Python :: 3",
91
- "Programming Language :: Python :: 3.7",
92
- "Programming Language :: Python :: 3.8",
93
- "Programming Language :: Python :: 3.9",
94
- "Programming Language :: Python :: 3.10",
95
- "Programming Language :: Python :: 3.11",
96
- "Programming Language :: Python :: 3.12",
97
- "Programming Language :: Python :: 3.13",
98
- "Operating System :: OS Independent",
99
- "Topic :: Internet",
100
- ],
101
- platforms="Posix; MacOS X; Windows",
102
- packages=packages,
103
- install_requires=dependencies,
104
- extras_require=extras,
105
- python_requires=">=3.7",
106
- include_package_data=True,
107
- zip_safe=False,
108
- )