forked from pool/python-google-api-core
Accepting request 1174606 from devel:languages:python
- Update to version 2.19.0 * Add google.api_core.version_header (#638) - from version 2.18.0 * Add common logic for supporting universe domain (#621) * Add _registered_method to grpc ChannelStub (#614) * **deps:** Require proto-plus >= 1.22.3 (#626) - from version 2.17.1 * Resolve issue handling protobuf responses in rest streaming (#604) - from version 2.17.0 * Add attempt_direct_path argument to create_channel (#583) * Retry constructors methods support None (#592) - from version 2.16.2 * Spelling error `a,out` -> `amount` (#596) - from version 2.16.1 * Fix broken import for google.api_core.retry_async.AsyncRetry (#587) - from version 2.16.0 * Retry and retry_async support streaming rpcs (#495) - Refresh patches for new version * python-google-api-core-no-mock.patch - Update BuildRequires and Requires from setup.py (forwarded request 1174591 from glaubitz) OBS-URL: https://build.opensuse.org/request/show/1174606 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=32
This commit is contained in:
commit
7c3bda7087
BIN
google-api-core-2.15.0.tar.gz
(Stored with Git LFS)
BIN
google-api-core-2.15.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
google-api-core-2.19.0.tar.gz
Normal file
3
google-api-core-2.19.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf1b7c2694047886d2af1128a03ae99e391108a08804f87cfd35970e49c9cd10
|
||||
size 148403
|
@ -1,6 +1,6 @@
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/future/test_async_future.py google-api-core-2.11.0/tests/asyncio/future/test_async_future.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/future/test_async_future.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/future/test_async_future.py 2022-12-02 11:02:43.002329239 +0100
|
||||
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
|
||||
@ -10,9 +10,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/future/test_async_future.py
|
||||
import pytest
|
||||
|
||||
from google.api_core import exceptions
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/gapic/test_method_async.py google-api-core-2.11.0/tests/asyncio/gapic/test_method_async.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/gapic/test_method_async.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/gapic/test_method_async.py 2022-12-02 11:02:42.994329152 +0100
|
||||
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
|
||||
@ -22,9 +22,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/gapic/test_method_async.py g
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py google-api-core-2.11.0/tests/asyncio/operations_v1/test_operations_async_client.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/operations_v1/test_operations_async_client.py 2022-12-02 11:02:42.990329109 +0100
|
||||
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.
|
||||
@ -34,9 +34,33 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/operations_v1/test_operation
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_grpc_helpers_async.py google-api-core-2.11.0/tests/asyncio/test_grpc_helpers_async.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/test_grpc_helpers_async.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/test_grpc_helpers_async.py 2022-12-02 11:02:42.982329022 +0100
|
||||
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.
|
||||
@ -46,9 +70,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_grpc_helpers_async.py g
|
||||
import pytest # noqa: I202
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_operation_async.py google-api-core-2.11.0/tests/asyncio/test_operation_async.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/test_operation_async.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/test_operation_async.py 2022-12-02 11:02:43.002329239 +0100
|
||||
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.
|
||||
|
||||
@ -58,9 +82,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_operation_async.py goog
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_page_iterator_async.py google-api-core-2.11.0/tests/asyncio/test_page_iterator_async.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/test_page_iterator_async.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/test_page_iterator_async.py 2022-12-02 11:02:42.982329022 +0100
|
||||
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
|
||||
@ -70,21 +94,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_page_iterator_async.py
|
||||
import pytest
|
||||
|
||||
from google.api_core import page_iterator_async
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/asyncio/test_retry_async.py google-api-core-2.11.0/tests/asyncio/test_retry_async.py
|
||||
--- google-api-core-2.11.0.orig/tests/asyncio/test_retry_async.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/asyncio/test_retry_async.py 2022-12-02 11:02:42.986329066 +0100
|
||||
@@ -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.11.0.orig/tests/unit/future/test__helpers.py google-api-core-2.11.0/tests/unit/future/test__helpers.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/future/test__helpers.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/future/test__helpers.py 2022-12-02 11:02:43.070329976 +0100
|
||||
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.
|
||||
@ -94,9 +106,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/future/test__helpers.py google-
|
||||
|
||||
from google.api_core.future import _helpers
|
||||
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/future/test_polling.py google-api-core-2.11.0/tests/unit/future/test_polling.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/future/test_polling.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/future/test_polling.py 2022-12-02 11:02:43.070329976 +0100
|
||||
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
|
||||
@ -106,9 +118,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/future/test_polling.py google-a
|
||||
import pytest
|
||||
|
||||
from google.api_core import exceptions, retry
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/gapic/test_method.py google-api-core-2.11.0/tests/unit/gapic/test_method.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/gapic/test_method.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/gapic/test_method.py 2022-12-02 11:02:43.054329803 +0100
|
||||
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
|
||||
@ -118,9 +130,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/gapic/test_method.py google-api
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/operations_v1/test_operations_rest_client.py google-api-core-2.11.0/tests/unit/operations_v1/test_operations_rest_client.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/operations_v1/test_operations_rest_client.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/operations_v1/test_operations_rest_client.py 2022-12-02 11:02:43.038329629 +0100
|
||||
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
|
||||
@ -130,9 +142,45 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/operations_v1/test_operations_r
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_bidi.py google-api-core-2.11.0/tests/unit/test_bidi.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_bidi.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_bidi.py 2022-12-02 11:02:43.010329326 +0100
|
||||
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
|
||||
@ -142,9 +190,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_bidi.py google-api-core-2.
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_exceptions.py google-api-core-2.11.0/tests/unit/test_exceptions.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_exceptions.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_exceptions.py 2022-12-02 11:02:43.050329759 +0100
|
||||
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
|
||||
@ -154,9 +202,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_exceptions.py google-api-c
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_extended_operation.py google-api-core-2.11.0/tests/unit/test_extended_operation.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_extended_operation.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_extended_operation.py 2022-12-02 11:02:43.022329456 +0100
|
||||
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
|
||||
@ -166,9 +214,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_extended_operation.py goog
|
||||
import pytest
|
||||
|
||||
from google.api_core import exceptions
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_grpc_helpers.py google-api-core-2.11.0/tests/unit/test_grpc_helpers.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_grpc_helpers.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_grpc_helpers.py 2022-12-02 11:02:43.034329586 +0100
|
||||
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.
|
||||
@ -178,9 +226,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_grpc_helpers.py google-api
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_operation.py google-api-core-2.11.0/tests/unit/test_operation.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_operation.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_operation.py 2022-12-02 11:02:43.018329413 +0100
|
||||
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.
|
||||
|
||||
@ -190,9 +238,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_operation.py google-api-co
|
||||
import pytest
|
||||
|
||||
try:
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_page_iterator.py google-api-core-2.11.0/tests/unit/test_page_iterator.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_page_iterator.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_page_iterator.py 2022-12-02 11:02:43.014329369 +0100
|
||||
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
|
||||
@ -202,9 +250,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_page_iterator.py google-ap
|
||||
import pytest
|
||||
|
||||
from google.api_core import page_iterator
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_path_template.py google-api-core-2.11.0/tests/unit/test_path_template.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_path_template.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_path_template.py 2022-12-02 11:02:43.010329326 +0100
|
||||
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
|
||||
@ -214,21 +262,9 @@ diff -Nru google-api-core-2.11.0.orig/tests/unit/test_path_template.py google-ap
|
||||
import pytest
|
||||
|
||||
from google.api import auth_pb2
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_retry.py google-api-core-2.11.0/tests/unit/test_retry.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_retry.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_retry.py 2022-12-02 11:02:43.046329716 +0100
|
||||
@@ -16,7 +16,7 @@
|
||||
import itertools
|
||||
import re
|
||||
|
||||
-import mock
|
||||
+from unittest import mock
|
||||
import pytest
|
||||
import requests.exceptions
|
||||
|
||||
diff -Nru google-api-core-2.11.0.orig/tests/unit/test_timeout.py google-api-core-2.11.0/tests/unit/test_timeout.py
|
||||
--- google-api-core-2.11.0.orig/tests/unit/test_timeout.py 2022-12-01 16:29:15.000000000 +0100
|
||||
+++ google-api-core-2.11.0/tests/unit/test_timeout.py 2022-12-02 11:02:43.066329933 +0100
|
||||
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
|
||||
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 14:03:49 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 2.19.0
|
||||
* Add google.api_core.version_header (#638)
|
||||
- from version 2.18.0
|
||||
* Add common logic for supporting universe domain (#621)
|
||||
* Add _registered_method to grpc ChannelStub (#614)
|
||||
* **deps:** Require proto-plus >= 1.22.3 (#626)
|
||||
- from version 2.17.1
|
||||
* Resolve issue handling protobuf responses in rest streaming (#604)
|
||||
- from version 2.17.0
|
||||
* Add attempt_direct_path argument to create_channel (#583)
|
||||
* Retry constructors methods support None (#592)
|
||||
- from version 2.16.2
|
||||
* Spelling error `a,out` -> `amount` (#596)
|
||||
- from version 2.16.1
|
||||
* Fix broken import for google.api_core.retry_async.AsyncRetry (#587)
|
||||
- from version 2.16.0
|
||||
* Retry and retry_async support streaming rpcs (#495)
|
||||
- Refresh patches for new version
|
||||
* python-google-api-core-no-mock.patch
|
||||
- Update BuildRequires and Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 20:20:17 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-google-api-core
|
||||
Version: 2.15.0
|
||||
Version: 2.19.0
|
||||
Release: 0
|
||||
Summary: Google API client core library
|
||||
License: Apache-2.0
|
||||
@ -39,6 +39,7 @@ 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 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}
|
||||
@ -64,6 +65,7 @@ Requires: python-grpcio-status >= 1.33.2
|
||||
Requires: python-pytz
|
||||
Requires: python-requests >= 2.18.0
|
||||
Requires: python-setuptools >= 40.3.0
|
||||
Requires: (python-proto-plus >= 1.22.3 with python-proto-plus < 2.0.0dev0)
|
||||
Requires: (python-protobuf >= 3.19.5 with python-protobuf < 5.0.0.dev0)
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
Loading…
Reference in New Issue
Block a user