python-requests-toolbelt: pip install latest deps to enable ptest (#3413)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Родитель
3f99f35f53
Коммит
59221b6e79
|
@ -8,7 +8,7 @@
|
||||||
Summary: Utility belt for advanced users of python-requests
|
Summary: Utility belt for advanced users of python-requests
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://toolbelt.readthedocs.io
|
URL: https://toolbelt.readthedocs.io
|
||||||
#Source0: https://github.com/sigmavirus24/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
#Source0: https://github.com/sigmavirus24/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
@ -19,6 +19,9 @@ Patch0: python-requests-toolbelt-fix-unhandled-exception-from-tests.patc
|
||||||
# resources vanished
|
# resources vanished
|
||||||
Patch1: python-requests-toolbelt-pass-session-into-tests.patch
|
Patch1: python-requests-toolbelt-pass-session-into-tests.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with_check}
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
%endif
|
||||||
|
|
||||||
%global _description \
|
%global _description \
|
||||||
This is just a collection of utilities for python-requests, but don’t really\
|
This is just a collection of utilities for python-requests, but don’t really\
|
||||||
|
@ -35,7 +38,6 @@ BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-betamax
|
BuildRequires: python3-betamax
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: python3-pyOpenSSL
|
BuildRequires: python3-pyOpenSSL
|
||||||
BuildRequires: python3-pytest
|
|
||||||
BuildRequires: python3-requests
|
BuildRequires: python3-requests
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
|
|
||||||
|
@ -53,7 +55,8 @@ Python 3 version.
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
py.test-%{python3_version} -v --ignore=tests/test_x509_adapter.py
|
pip3 install pytest==7.1.2
|
||||||
|
py.test -v --ignore=tests/test_x509_adapter.py
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -62,73 +65,108 @@ py.test-%{python3_version} -v --ignore=tests/test_x509_adapter.py
|
||||||
%{python3_sitelib}/%{altname}-*.egg-info/
|
%{python3_sitelib}/%{altname}-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 28 2022 Muhammad Falak <mwani@microsoft.com> - 0.9.1-13
|
||||||
|
- Drop BR on pytest and pip install latest deps to enable ptest
|
||||||
|
- License verified
|
||||||
|
|
||||||
* Wed Dec 09 2020 Steve Laughman <steve.laughman@microsoft.com> - 0.9.1-12
|
* Wed Dec 09 2020 Steve Laughman <steve.laughman@microsoft.com> - 0.9.1-12
|
||||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||||
|
|
||||||
* Sun Oct 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-11
|
* Sun Oct 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-11
|
||||||
- Ignore failing tests (rh#1863713)
|
- Ignore failing tests (rh#1863713)
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
|
||||||
- Second attempt - Rebuilt for
|
- Second attempt - Rebuilt for
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-8
|
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-8
|
||||||
- Rebuilt for Python 3.9
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
* Sat Apr 11 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.1-7
|
* Sat Apr 11 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.1-7
|
||||||
- run test suite in %%check
|
- run test suite in %%check
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
||||||
- Rebuilt for Python 3.8
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Apr 04 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-2
|
* Thu Apr 04 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-2
|
||||||
- Remove python2 subpackage (#1696338)
|
- Remove python2 subpackage (#1696338)
|
||||||
|
|
||||||
* Thu Jan 31 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-1
|
* Thu Jan 31 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-1
|
||||||
- Update to 0.9.1 version (#1670521)
|
- Update to 0.9.1 version (#1670521)
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
|
||||||
- Rebuilt for Python 3.7
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
* Sun May 21 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-1
|
* Sun May 21 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-1
|
||||||
- Update to 0.8.0 version
|
- Update to 0.8.0 version
|
||||||
|
|
||||||
* Mon Mar 20 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.7.1-1
|
* Mon Mar 20 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.7.1-1
|
||||||
- Update to 0.7.1 version
|
- Update to 0.7.1 version
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
|
||||||
- Rebuild for Python 3.6
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
* Sun Jul 24 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-1
|
* Sun Jul 24 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-1
|
||||||
- Update to 0.7.0 (RHBZ #1359456)
|
- Update to 0.7.0 (RHBZ #1359456)
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.2-1
|
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.2-1
|
||||||
- Update to 0.6.2
|
- Update to 0.6.2
|
||||||
- Add proper python2 subpackage
|
- Add proper python2 subpackage
|
||||||
- Run tests properly
|
- Run tests properly
|
||||||
- Other fixes
|
- Other fixes
|
||||||
|
|
||||||
* Mon May 09 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.1-1
|
* Mon May 09 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.1-1
|
||||||
- update to 0.6.1 release
|
- update to 0.6.1 release
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jan 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.0-1
|
* Thu Jan 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.0-1
|
||||||
- update to 0.6.0 release
|
- update to 0.6.0 release
|
||||||
|
|
||||||
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.1-1
|
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.1-1
|
||||||
- update to 0.5.1 release
|
- update to 0.5.1 release
|
||||||
|
|
||||||
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.0-1
|
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.0-1
|
||||||
- update to 0.5.0 release
|
- update to 0.5.0 release
|
||||||
|
|
||||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Apr 06 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.4.0-1
|
* Mon Apr 06 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.4.0-1
|
||||||
- update to 0.4.0 release
|
- update to 0.4.0 release
|
||||||
|
|
||||||
* Fri Feb 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-2
|
* Fri Feb 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-2
|
||||||
- Add missing LICENSE file
|
- Add missing LICENSE file
|
||||||
|
|
||||||
* Mon Feb 02 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-1
|
* Mon Feb 02 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-1
|
||||||
- Initial packaging
|
- Initial packaging
|
Загрузка…
Ссылка в новой задаче