Explicitly BuildRequire runtime dependencies for tests

pyparsing was only transitively pulled in by:
python3-devel -> python3-rpm-generators -> python3-packaging -> python3-pyparsing

But python3-packaging 22+ no longer uses python3-pyparsing.
This commit is contained in:
Miro Hrončok 2023-01-25 12:42:25 +01:00
parent 04430b070f
commit cf273fd4bb

View File

@ -2,7 +2,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 0.20.4 Version: 0.20.4
Release: 7%{?dist} Release: 8%{?dist}
Summary: Comprehensive HTTP client library Summary: Comprehensive HTTP client library
License: MIT License: MIT
URL: https://pypi.python.org/pypi/httplib2 URL: https://pypi.python.org/pypi/httplib2
@ -31,6 +31,8 @@ BuildRequires: python3-pytest
BuildRequires: python3-pytest-timeout BuildRequires: python3-pytest-timeout
BuildRequires: python3-six BuildRequires: python3-six
BuildRequires: python3-cryptography BuildRequires: python3-cryptography
# This is a runtime dependency required to run the tests:
BuildRequires: python3-pyparsing
%description -n python3-%{srcname} %{_description} %description -n python3-%{srcname} %{_description}
@ -74,6 +76,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest -k "not test_unknown_server \
%{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}/
%changelog %changelog
* Wed Jan 25 2023 Miro Hrončok <mhroncok@redhat.com> - 0.20.4-8
- Explicitly BuildRequire runtime dependencies for tests
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.4-7 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild