From 52249ff981ba3f41cdc705896e7b0361a42c485e Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Nov 02 2021 18:41:24 +0000 Subject: Update to 1.1.1 --- diff --git a/.gitignore b/.gitignore index fe23764..20320b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /python-api-gateway-1.0.4.tar.gz /python-api-gateway-1.1.0.tar.gz +/python-api-gateway-1.1.1.tar.gz diff --git a/python-google-cloud-api-gateway-mock.patch b/python-google-cloud-api-gateway-mock.patch index d1a9ffb..802889a 100644 --- a/python-google-cloud-api-gateway-mock.patch +++ b/python-google-cloud-api-gateway-mock.patch @@ -1,15 +1,14 @@ -From cc3a3f5b72b9e554a9049656b4a924c721744cc1 Mon Sep 17 00:00:00 2001 -From: Major Hayden -Date: Thu, 26 Aug 2021 08:59:04 -0500 +From 445a2bf08c987b3713c2922402d85139a6078cd9 Mon Sep 17 00:00:00 2001 +From: Major Hayden +Date: Tue, 2 Nov 2021 13:40:42 -0500 Subject: [PATCH] Use unittest.mock -Signed-off-by: Major Hayden --- tests/unit/gapic/apigateway_v1/test_api_gateway_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/gapic/apigateway_v1/test_api_gateway_service.py b/tests/unit/gapic/apigateway_v1/test_api_gateway_service.py -index f46605f..5e38e7c 100644 +index b179947..210887e 100644 --- a/tests/unit/gapic/apigateway_v1/test_api_gateway_service.py +++ b/tests/unit/gapic/apigateway_v1/test_api_gateway_service.py @@ -14,7 +14,7 @@ @@ -18,9 +17,9 @@ index f46605f..5e38e7c 100644 import os -import mock +from unittest import mock - import packaging.version import grpc + from grpc.experimental import aio -- -2.31.1 +2.33.1 diff --git a/python-google-cloud-api-gateway.spec b/python-google-cloud-api-gateway.spec index edf7f5c..5df0837 100644 --- a/python-google-cloud-api-gateway.spec +++ b/python-google-cloud-api-gateway.spec @@ -3,7 +3,7 @@ %global srcname google-cloud-api-gateway %global forgeurl https://github.com/googleapis/python-api-gateway -Version: 1.1.0 +Version: 1.1.1 %global tag v%{version} %forgemeta @@ -40,17 +40,6 @@ Summary: %{summary} %description -n python3-%{srcname} %{_description} -%package -n python3-%{srcname}-doc -Requires: python3-docs -BuildRequires: python3-docs -BuildRequires: python3dist(recommonmark) -BuildRequires: python3dist(sphinx) -Summary: Documentation for python-%{srcname} - -%description -n python3-%{srcname}-doc -Documentation for python-%{srcname} - - %prep %forgeautosetup -p1 @@ -62,10 +51,6 @@ Documentation for python-%{srcname} %build %pyproject_wheel -# Generate documentation. -PYTHONPATH="${PWD}:${PWD}/docs/" sphinx-build docs html %{?_smp_mflags} -rm -rf html/.{doctrees,buildinfo} - %install %pyproject_install @@ -88,10 +73,5 @@ mv google{_,} %{python3_sitelib}/google_cloud_api_gateway-%{version}-py%{python3_version}-nspkg.pth -%files -n python3-%{srcname}-doc -%license LICENSE -%doc html - - %changelog %autochangelog diff --git a/sources b/sources index 7b0c76e..69d0d29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-api-gateway-1.1.0.tar.gz) = 496be58bce05bdc0438b48716079c68f0a9c760bda5bba0e03c799d7db09194bdebf2f71e1a8d549e3ff2cbdb77f2d6e9520ec962f35e9dcf82527d319b70607 +SHA512 (python-api-gateway-1.1.1.tar.gz) = c1ecdcd2e9cf1679f65c78139092e022052137b3080b2170a1218e19390d9bb06ca50d812036e4d880c86f5c4497e0b4c595bb5dd6f6d3891d8b3c28a2bc5530