diff --git a/.python-google-api-core.metadata b/.python-google-api-core.metadata index 06fb217..1908695 100644 --- a/.python-google-api-core.metadata +++ b/.python-google-api-core.metadata @@ -1 +1 @@ -9c46d96eb85208c1db0c458087344a14b5fff30c SOURCES/python-api-core-2.7.3.tar.gz +e369304bf50afb74320d4e517d7eabbeb81c21ae SOURCES/python-api-core-2.8.2.tar.gz diff --git a/SPECS/python-google-api-core.spec b/SPECS/python-google-api-core.spec index 0a33b34..c47dd0d 100644 --- a/SPECS/python-google-api-core.spec +++ b/SPECS/python-google-api-core.spec @@ -1,17 +1,19 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.2.5) +## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: - release_number = 1; + release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec +# F35: Do not update past 2.8.0 because Fedora 35's protobuf is too old. + %bcond_with tests %global srcname google-api-core %global forgeurl https://github.com/googleapis/python-api-core -Version: 2.7.3 +Version: 2.8.2 %global tag v%{version} %forgemeta @@ -24,8 +26,8 @@ URL: %forgeurl Source0: %{url}/archive/%{tag}.tar.gz#/python-api-core-%{version}.tar.gz Patch0: use-unittest-mock-builtin.patch -BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros BuildRequires: python3-wheel %if %{with tests} @@ -53,22 +55,21 @@ Instead it defines common helpers used by all Google API clients.} %package -n python3-%{srcname} Summary: %{summary} # Extras -Requires: %{py3_dist grpcio} -Requires: %{py3_dist grpcio-gcp} +Requires: python3dist(grpcio) +Requires: python3dist(grpcio-status) %description -n python3-%{srcname} %{_description} %pyproject_extras_subpkg -n python3-%{srcname} grpc -%pyproject_extras_subpkg -n python3-%{srcname} grpcgcp -%pyproject_extras_subpkg -n python3-%{srcname} grpcio-gcp + %prep %forgeautosetup -p1 %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build @@ -82,17 +83,14 @@ Requires: %{py3_dist grpcio-gcp} %check %if %{with tests} -# Work around an usual pytest/PEP 420 issue where pytest can't import the +# Work around an unusual pytest/PEP 420 issue where pytest can't import the # installed module. Thanks to mhroncok for the help! mv google{,_} -%pytest --disable-warnings tests/unit \ - --ignore=tests/unit/test_rest_streaming.py \ +%pytest tests/unit \ -k "not test_wrap_unary_errors \ and not test_wrap_stream_errors_invocation \ and not test_wrap_stream_errors_iterator_initialization \ - and not test_wrap_stream_errors_during_iteration \ - and not test_exception_with_error_code \ - and not Test_StreamingResponseIterator" + and not test_wrap_stream_errors_during_iteration" mv google{_,} %endif @@ -103,6 +101,27 @@ mv google{_,} %changelog +* Fri Jul 22 2022 Fedora Release Engineering 2.8.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 28 2022 Python Maint 2.8.2-3 +- Rebuilt for Python 3.11 + +* Thu Jun 16 2022 Python Maint 2.8.2-2 +- Bootstrap for Python 3.11 + +* Wed Jun 15 2022 Major Hayden 2.8.2-1 +- Update to 2.8.2 + +* Wed Jun 15 2022 Python Maint 2.8.1-2 +- Bootstrap for Python 3.11 + +* Fri May 27 2022 Major Hayden 2.8.1-1 +- Update to 2.8.1 + +* Thu May 19 2022 Major Hayden 2.8.0-1 +- 🚀 Update to 2.8.0 + * Mon May 02 2022 Major Hayden 2.7.3-1 - Update to 2.7.3