- Upgrade to 1.4.0

This commit is contained in:
Paul Wouters 2024-10-02 11:02:31 -04:00
commit f6e5c78d30
3 changed files with 6 additions and 13 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
/python-test-utils-1.3.1.tar.gz
/python-test-utils-1.3.2.tar.gz
/python-test-utils-1.3.3.tar.gz
/python-test-utils-1.4.0.tar.gz

View file

@ -1,11 +1,9 @@
# F35: Do not update past 1.3.1. F35's protobuf is too old.
# tests are enabled by default
%bcond_without tests
%global srcname google-cloud-testutils
%global forgeurl https://github.com/googleapis/python-test-utils
Version: 1.3.3
Version: 1.4.0
%global tag v%{version}
%forgemeta
@ -20,6 +18,7 @@ Source0: %forgesource
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-google-auth
%if %{with tests}
BuildRequires: python3dist(pytest)
@ -38,27 +37,21 @@ Summary: %{summary}
%description -n python3-%{srcname} %{_description}
%prep
%forgesetup
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files test_utils
# Remove extra scripts and tests.
rm -rf %{buildroot}%{python3_sitelib}/{scripts,tests}
rm -f %{buildroot}%{_bindir}/lower-bound-checker
rm %{buildroot}%{_bindir}/lower-bound-checker
%check
%pyproject_check_import -e "tests*"
@ -69,10 +62,9 @@ rm -f %{buildroot}%{_bindir}/lower-bound-checker
%pytest --disable-warnings --ignore tests/unit/test_lower_bound_checker.py
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst CHANGELOG.md CODE_OF_CONDUCT.md
%license LICENSE
%changelog
%autochangelog

View file

@ -1 +1 @@
SHA512 (python-test-utils-1.3.3.tar.gz) = 1d54cf4414a2febc7aa5d3cfb9a1ee3f7ef55d8f19fcae0af81e39bfa506788d867c73c9c1eb075b2ca6c1efae770dc5c5648ce66e3b7a99c96c25f338fc1e5c
SHA512 (python-test-utils-1.4.0.tar.gz) = 912903f1dbdcc28288425aa99674723e8deeaaf594f9cd0d15bd328c12236388c7cb9fd2dc72260ac18df62f2177bf15bfeb9ed7de41e664a397392440859642