Update to 2.27.0, re-enable previously disabled tests

This commit is contained in:
Adam Williamson 2022-01-04 10:29:52 -08:00
parent dd738e1d80
commit 0f46c23ea6
3 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View File

@ -47,3 +47,4 @@
/requests-v2.25.0.tar.gz /requests-v2.25.0.tar.gz
/requests-v2.25.1.tar.gz /requests-v2.25.1.tar.gz
/requests-v2.26.0.tar.gz /requests-v2.26.0.tar.gz
/requests-v2.27.0.tar.gz

View File

@ -9,7 +9,7 @@
Name: python-requests Name: python-requests
Version: 2.26.0 Version: 2.27.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: HTTP library, written in Python, for human beings Summary: HTTP library, written in Python, for human beings
@ -95,11 +95,7 @@ sed -i 's/ --doctest-modules//' pytest.ini
%if %{with tests} %if %{with tests}
%check %check
# test_https_warnings: https://github.com/psf/requests/issues/5530 %pytest -v
# test_pyopenssl_redirect fails with: pytest-httpbin server hit
# an exception serving request: [SSL: HTTP_REQUEST] http request (_ssl.c:997)
# not yet sure why
%pytest -v -k "not test_https_warnings and not test_pyopenssl_redirect"
%endif %endif
@ -109,6 +105,11 @@ sed -i 's/ --doctest-modules//' pytest.ini
%changelog %changelog
* Tue Jan 04 2022 Adam Williamson <awilliam@redhat.com> - 2.27.0-1
- Update to 2.27.0
- Re-enable test_https_warnings as it works with pytest-httpbin 1.0.0 now
- Re-enable test_pyopenssl_redirect, it seems to work too
* Sun Jul 25 2021 Lumír Balhar <lbalhar@redhat.com> - 2.26.0-1 * Sun Jul 25 2021 Lumír Balhar <lbalhar@redhat.com> - 2.26.0-1
- Update to 2.26.0 - Update to 2.26.0
Resolves: rhbz#1981856 Resolves: rhbz#1981856

View File

@ -1 +1 @@
SHA512 (requests-v2.26.0.tar.gz) = df7b3fbef42e600434764b2ae3906546a778f8caab0111d818adef7c747d4d58e9977ac9ae25092e1170a2cde78234e64b779ba4afd84bb2bf7dbce6efb380e9 SHA512 (requests-v2.27.0.tar.gz) = 84c24d31a9aa9af995c24d40ef1c8c85c8c42bc52b3f59ae91206aa6598ca6d468ae3a65929926afb88ea3bf02d0d979907fff61e79f451ed6971c32d05ab6e3