forked from pool/python-google-api-core
Compare commits
87 Commits
Author | SHA256 | Date | |
---|---|---|---|
32ba6a52d9 | |||
4805f3d8a2 | |||
2cc2209156 | |||
75336da1a1 | |||
9e172bdf8c | |||
9a0ee48954 | |||
db3c0db0c0 | |||
42840cb44a | |||
92a7e3a92e | |||
df7b0bc01c | |||
d437075ae9 | |||
97eb83e3ae | |||
6d02fe483c | |||
410abed8a7 | |||
3d7721f648 | |||
3903484804 | |||
d1baefea4e | |||
7a541463ca | |||
969fee20ca | |||
7c3bda7087 | |||
baacc05770 | |||
d2d00d20b5 | |||
451d45f163 | |||
fd5017e073 | |||
1324269c55 | |||
0a0eff34cc | |||
2393faae30 | |||
95a2ad2421 | |||
f53b0bd6fd | |||
e090b45dbc | |||
d44e594207 | |||
7d621a7261 | |||
8ea1cd527b | |||
25b70b8854 | |||
a5159751ed | |||
5132dcda31 | |||
f2665c283b | |||
6dccad2b1e | |||
ad90b0e231 | |||
d1bf34ea0e | |||
4695e6e686 | |||
ce90b6e1a3 | |||
e42e3abfcc | |||
dd4bf9780e | |||
f1693852e7 | |||
167092ee32 | |||
8377c90390 | |||
3d38aed7dc | |||
dcf8e85d97 | |||
fb029cb7a4 | |||
030d1ff609 | |||
cdd8bec74e | |||
6a2f77ebe1 | |||
cb8b1249c6 | |||
fdd2469ec7 | |||
5fee516d8b | |||
|
2d0d0d9981 | ||
9dafc36d9b | |||
|
f493027cae | ||
bd4356c8e6 | |||
|
395f2c5d08 | ||
a99ca6b929 | |||
184a7fff1b | |||
1b407600af | |||
|
1b7231f539 | ||
0b040fe96c | |||
|
a1dc15a1f9 | ||
3d5ac7fd91 | |||
|
60c084488a | ||
2fb3409d86 | |||
|
5cac53ec94 | ||
6f33ce80ae | |||
|
0515ac3fcd | ||
4d071b5eec | |||
|
136d9a84d8 | ||
7c6cc27452 | |||
|
01ba8bcd3f | ||
|
d4a0b36385 | ||
fcfa83383a | |||
5f6539e91a | |||
6b8caa1148 | |||
183fbfc2e4 | |||
|
e4e0099bea | ||
a3c2ed6222 | |||
|
52977d8be4 | ||
81215baeb0 | |||
|
2903e5107f |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd
|
|
||||||
size 148925
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f
|
|
||||||
size 149057
|
|
BIN
google_api_core-2.24.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
google_api_core-2.24.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,276 +0,0 @@
|
|||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/future/test_async_future.py google-api-core-2.19.0/tests/asyncio/future/test_async_future.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/future/test_async_future.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/future/test_async_future.py 2024-05-16 16:03:34.320181259 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
import asyncio
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/gapic/test_method_async.py google-api-core-2.19.0/tests/asyncio/gapic/test_method_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/gapic/test_method_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/gapic/test_method_async.py 2024-05-16 16:03:34.310181235 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
import datetime
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py google-api-core-2.19.0/tests/asyncio/operations_v1/test_operations_async_client.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/operations_v1/test_operations_async_client.py 2024-05-16 16:03:34.300181212 +0200
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_streaming_async.py google-api-core-2.19.0/tests/asyncio/retry/test_retry_streaming_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_streaming_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/retry/test_retry_streaming_async.py 2024-05-16 16:03:34.296847871 +0200
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
import re
|
|
||||||
import asyncio
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_unary_async.py google-api-core-2.19.0/tests/asyncio/retry/test_retry_unary_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_unary_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/retry/test_retry_unary_async.py 2024-05-16 16:03:34.293514530 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import datetime
|
|
||||||
import re
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_grpc_helpers_async.py google-api-core-2.19.0/tests/asyncio/test_grpc_helpers_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/test_grpc_helpers_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/test_grpc_helpers_async.py 2024-05-16 16:03:34.286847847 +0200
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest # noqa: I202
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_operation_async.py google-api-core-2.19.0/tests/asyncio/test_operation_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/test_operation_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/test_operation_async.py 2024-05-16 16:03:34.316847918 +0200
|
|
||||||
@@ -13,7 +13,7 @@
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_page_iterator_async.py google-api-core-2.19.0/tests/asyncio/test_page_iterator_async.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/asyncio/test_page_iterator_async.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/asyncio/test_page_iterator_async.py 2024-05-16 16:03:34.283514506 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
import inspect
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import page_iterator_async
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/future/test__helpers.py google-api-core-2.19.0/tests/unit/future/test__helpers.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/future/test__helpers.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/future/test__helpers.py 2024-05-16 16:03:34.433514858 +0200
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
|
|
||||||
from google.api_core.future import _helpers
|
|
||||||
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/future/test_polling.py google-api-core-2.19.0/tests/unit/future/test_polling.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/future/test_polling.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/future/test_polling.py 2024-05-16 16:03:34.433514858 +0200
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
import threading
|
|
||||||
import time
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions, retry
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/gapic/test_method.py google-api-core-2.19.0/tests/unit/gapic/test_method.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/gapic/test_method.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/gapic/test_method.py 2024-05-16 16:03:34.413514811 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
import datetime
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/operations_v1/test_operations_rest_client.py google-api-core-2.19.0/tests/unit/operations_v1/test_operations_rest_client.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/operations_v1/test_operations_rest_client.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/operations_v1/test_operations_rest_client.py 2024-05-16 16:03:34.393514764 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
#
|
|
||||||
import os
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_base.py google-api-core-2.19.0/tests/unit/retry/test_retry_base.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_base.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_base.py 2024-05-16 16:03:34.380181399 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import itertools
|
|
||||||
import re
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
import requests.exceptions
|
|
||||||
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_streaming.py google-api-core-2.19.0/tests/unit/retry/test_retry_streaming.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_streaming.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_streaming.py 2024-05-16 16:03:34.376848059 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_unary.py google-api-core-2.19.0/tests/unit/retry/test_retry_unary.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_unary.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_unary.py 2024-05-16 16:03:34.386848082 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import datetime
|
|
||||||
import re
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_bidi.py google-api-core-2.19.0/tests/unit/test_bidi.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_bidi.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_bidi.py 2024-05-16 16:03:34.326847941 +0200
|
|
||||||
@@ -17,7 +17,7 @@
|
|
||||||
import queue
|
|
||||||
import threading
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_exceptions.py google-api-core-2.19.0/tests/unit/test_exceptions.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_exceptions.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_exceptions.py 2024-05-16 16:03:34.403514788 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import http.client
|
|
||||||
import json
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
import requests
|
|
||||||
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_extended_operation.py google-api-core-2.19.0/tests/unit/test_extended_operation.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_extended_operation.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_extended_operation.py 2024-05-16 16:03:34.353514670 +0200
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
import enum
|
|
||||||
import typing
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import exceptions
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_grpc_helpers.py google-api-core-2.19.0/tests/unit/test_grpc_helpers.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_grpc_helpers.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_grpc_helpers.py 2024-05-16 16:03:34.373514717 +0200
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_operation.py google-api-core-2.19.0/tests/unit/test_operation.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_operation.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_operation.py 2024-05-16 16:03:34.340181306 +0200
|
|
||||||
@@ -13,7 +13,7 @@
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
try:
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_page_iterator.py google-api-core-2.19.0/tests/unit/test_page_iterator.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_page_iterator.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_page_iterator.py 2024-05-16 16:03:34.333514624 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import math
|
|
||||||
import types
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api_core import page_iterator
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_path_template.py google-api-core-2.19.0/tests/unit/test_path_template.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_path_template.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_path_template.py 2024-05-16 16:03:34.333514624 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from google.api import auth_pb2
|
|
||||||
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_timeout.py google-api-core-2.19.0/tests/unit/test_timeout.py
|
|
||||||
--- google-api-core-2.19.0.orig/tests/unit/test_timeout.py 2024-04-30 19:00:19.000000000 +0200
|
|
||||||
+++ google-api-core-2.19.0/tests/unit/test_timeout.py 2024-05-16 16:03:34.426848175 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
import datetime
|
|
||||||
import itertools
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
|
|
||||||
from google.api_core import timeout as timeouts
|
|
||||||
|
|
@@ -1,3 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 18 07:23:56 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.24.2
|
||||||
|
* **deps:** Allow protobuf 6.x (#804)
|
||||||
|
- Update Requires from pyproject.toml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 3 09:50:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.24.1
|
||||||
|
* Memory leak in bidi classes (#770)
|
||||||
|
* Resolve the issue where rpc timeout of 0 is used when timeout expires (#776)
|
||||||
|
* Add warnings regarding consuming externally sourced credentials (#783)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 6 15:21:38 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.24.0
|
||||||
|
* Add automatic logging config to support debug logging (#754)
|
||||||
|
* Update recognized logging fields (#766)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 14:22:59 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.23.0
|
||||||
|
* Migrate to pyproject.toml (#736)
|
||||||
|
- from version 2.22.0
|
||||||
|
* Add support for python 3.13 (#696)
|
||||||
|
* Add type hints to ClientOptions (#735)
|
||||||
|
* Improve `Any` decode error (#712)
|
||||||
|
* Require proto-plus >= 1.25.0 for Python 3.13 (#740)
|
||||||
|
* Switch to unittest.mock from mock (#713)
|
||||||
|
- Drop python-google-api-core-no-mock.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 04:42:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Resurrect python-google-api-core-no-mock.patch and refresh it, it is
|
||||||
|
still required until 2.22.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 12:59:16 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.21.0
|
||||||
|
* Add support for asynchronous long running operations (#724)
|
||||||
|
- Drop python-google-api-core-no-mock.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 7 11:43:06 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||||
|
|
||||||
|
- fix requirements
|
||||||
|
* Accepts new protobuf version 5.28 now.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 04:03:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Remove unneeded BuildRequires.
|
||||||
|
- Refreshed patches:
|
||||||
|
* python-google-api-core-no-mock.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 13:32:08 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.20.0
|
||||||
|
* Add async unsupported paramater exception (#694)
|
||||||
|
* Add support for asynchronous rest streaming (#686)
|
||||||
|
* Add support for creating exceptions from an asynchronous response (#688)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 11:00:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue Sep 3 11:00:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-google-api-core
|
# spec file for package python-google-api-core
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,23 +26,14 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-google-api-core
|
Name: python-google-api-core
|
||||||
Version: 2.19.2
|
Version: 2.24.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Google API client core library
|
Summary: Google API client core library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/googleapis/python-api-core
|
URL: https://github.com/googleapis/python-api-core
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/google_api_core/google_api_core-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/g/google_api_core/google_api_core-%{version}.tar.gz
|
||||||
# https://github.com/googleapis/python-api-core/issues/377
|
BuildRequires: %{python_module googleapis-common-protos >= 1.56.2}
|
||||||
Patch0: python-google-api-core-no-mock.patch
|
|
||||||
BuildRequires: %{python_module google-auth >= 2.14.1}
|
|
||||||
BuildRequires: %{python_module googleapis-common-protos >= 1.53.0}
|
|
||||||
BuildRequires: %{python_module grpcio >= 1.33.2}
|
|
||||||
BuildRequires: %{python_module grpcio-status >= 1.33.2}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module proto-plus >= 1.22.3 with %python-proto-plus < 2.0.0dev0}
|
|
||||||
BuildRequires: %{python_module protobuf >= 3.19.5 with %python-protobuf < 5.0.0.dev0}
|
|
||||||
BuildRequires: %{python_module pytz}
|
|
||||||
BuildRequires: %{python_module requests >= 2.18.0}
|
|
||||||
BuildRequires: %{python_module setuptools >= 40.3.0}
|
BuildRequires: %{python_module setuptools >= 40.3.0}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
%if 0%{?sle_version} >= 150400
|
%if 0%{?sle_version} >= 150400
|
||||||
@@ -50,7 +41,7 @@ Obsoletes: python3-google-api-core < %{version}
|
|||||||
%endif
|
%endif
|
||||||
# START TESTING SECTION
|
# START TESTING SECTION
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module google-api-core >= %{version}}
|
BuildRequires: %{python_module google-api-core = %{version}}
|
||||||
BuildRequires: %{python_module proto-plus}
|
BuildRequires: %{python_module proto-plus}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -59,14 +50,12 @@ BuildRequires: %{python_module pytest}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-google-auth >= 2.14.1
|
Requires: python-google-auth >= 2.14.1
|
||||||
Requires: python-googleapis-common-protos >= 1.53.0
|
Requires: python-googleapis-common-protos >= 1.56.2
|
||||||
Requires: python-grpcio >= 1.33.2
|
Requires: python-grpcio >= 1.49.1
|
||||||
Requires: python-grpcio-status >= 1.33.2
|
Requires: python-grpcio-status >= 1.49.1
|
||||||
Requires: python-pytz
|
|
||||||
Requires: python-requests >= 2.18.0
|
Requires: python-requests >= 2.18.0
|
||||||
Requires: python-setuptools >= 40.3.0
|
Requires: (python-proto-plus >= 1.25.0 with python-proto-plus < 2.0.0)
|
||||||
Requires: (python-proto-plus >= 1.22.3 with python-proto-plus < 2.0.0dev0)
|
Requires: (python-protobuf >= 3.19.5 with python-protobuf < 7.0.0)
|
||||||
Requires: (python-protobuf >= 3.19.5 with python-protobuf < 5.0.0.dev0)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -90,14 +79,12 @@ Core Library for Google Client Libraries.
|
|||||||
%pytest
|
%pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/google/api_core
|
%{python_sitelib}/google/api_core
|
||||||
%{python_sitelib}/google_api_core-%{version}*-info
|
%{python_sitelib}/google_api_core-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user