Drop BuildRequires on pytest-flake8, deselect a failing test
When updating to new Python version, linting packages (such as flake8) are generally not ready early enough. See https://bugzilla.redhat.com/show_bug.cgi?id=1958945 about the failing test.
This commit is contained in:
parent
a13bc3ac47
commit
0d80f5be51
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.19.1
|
Version: 0.19.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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
|
||||||
@ -27,7 +27,6 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-pytest-forked
|
BuildRequires: python3-pytest-forked
|
||||||
BuildRequires: python3-pytest-flake8
|
|
||||||
BuildRequires: python3-pytest-timeout
|
BuildRequires: python3-pytest-timeout
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
|
||||||
@ -59,7 +58,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest -k "not test_unknown_server \
|
|||||||
test_invalid_ca_certs_path and not test_max_tls_version and not \
|
test_invalid_ca_certs_path and not test_max_tls_version and not \
|
||||||
test_get_301_via_https and not test_client_cert_password_verified and not\
|
test_get_301_via_https and not test_client_cert_password_verified and not\
|
||||||
test_get_via_https and not test_min_tls_version and not\
|
test_get_via_https and not test_min_tls_version and not\
|
||||||
test_client_cert_verified"
|
test_client_cert_verified and not test_inject_space"
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
@ -68,6 +67,11 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest -k "not test_unknown_server \
|
|||||||
%{python3_sitelib}/%{srcname}/
|
%{python3_sitelib}/%{srcname}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 13 2021 Miro Hrončok <mhroncok@redhat.com> - 0.19.1-2
|
||||||
|
- Drop BuildRequires on pytest-flake8
|
||||||
|
- Deselect failing test
|
||||||
|
- Fixes: rhbz#1958945
|
||||||
|
|
||||||
* Sat Apr 24 2021 Kevin Fenzi <kevin@scrye.com> - 0.19.1-1
|
* Sat Apr 24 2021 Kevin Fenzi <kevin@scrye.com> - 0.19.1-1
|
||||||
- Update to 0.19.1. Fixes rhbz#1944789
|
- Update to 0.19.1. Fixes rhbz#1944789
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user