Accepting request 1165815 from devel:languages:python
- update to 1.12.1: * Set python_requires to >3 to prevent installation in python2 deployments. - update to 1.12.0: * Remove py2 * Allow `raw` parameter to accept callable like body elements * Improve type definition of `Mocker.__call__` * Drop PBR Support * fix(mocker.pyi): fix Mocker class type hints * Remove unused `six` dependency - switch to run tests with pytest * Use unittest.mock if available. OBS-URL: https://build.opensuse.org/request/show/1165815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-mock?expand=0&rev=24
This commit is contained in:
commit
bde40cce5b
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 12:15:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.12.1:
|
||||||
|
* Set python_requires to >3 to prevent installation in python2
|
||||||
|
deployments.
|
||||||
|
- update to 1.12.0:
|
||||||
|
* Remove py2
|
||||||
|
* Allow `raw` parameter to accept callable like body elements
|
||||||
|
* Improve type definition of `Mocker.__call__`
|
||||||
|
* Drop PBR Support
|
||||||
|
* fix(mocker.pyi): fix Mocker class type hints
|
||||||
|
* Remove unused `six` dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 13 06:30:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Mar 13 06:30:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -18,20 +18,19 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-requests-mock
|
Name: python-requests-mock
|
||||||
Version: 1.11.0
|
Version: 1.12.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Module to mock out responses from the requests package
|
Summary: Module to mock out responses from the requests package
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/jamielennox/requests-mock
|
URL: https://github.com/jamielennox/requests-mock
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module fixtures}
|
BuildRequires: %{python_module fixtures}
|
||||||
BuildRequires: %{python_module pbr}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module purl}
|
BuildRequires: %{python_module purl}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.3}
|
BuildRequires: %{python_module requests >= 2.3}
|
||||||
BuildRequires: %{python_module requests-futures}
|
BuildRequires: %{python_module requests-futures}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{suse_version} >= 1550 || (0%{?suse_version} == 1500 && 0%{?sle_version} >= 154000)
|
%if 0%{suse_version} >= 1550 || (0%{?suse_version} == 1500 && 0%{?sle_version} >= 154000)
|
||||||
@ -41,7 +40,6 @@ BuildRequires: python3-dbm
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-requests >= 2.3
|
Requires: python-requests >= 2.3
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -64,7 +62,7 @@ You should checkout the docs for more information.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS README.rst ChangeLog
|
%doc README.rst
|
||||||
%{python_sitelib}/requests_mock
|
%{python_sitelib}/requests_mock
|
||||||
%{python_sitelib}/requests_mock-%{version}.dist-info
|
%{python_sitelib}/requests_mock-%{version}.dist-info
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ef10b572b489a5f28e09b708697208c4a3b2b89ef80a9f01584340ea357ec3c4
|
|
||||||
size 74377
|
|
3
requests-mock-1.12.1.tar.gz
Normal file
3
requests-mock-1.12.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401
|
||||||
|
size 60901
|
Loading…
Reference in New Issue
Block a user