Accepting request 973205 from home:mcalabkova:branches:devel:languages:python
- Remove pytest-pythonpath and fix build OBS-URL: https://build.opensuse.org/request/show/973205 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flex?expand=0&rev=11
This commit is contained in:
parent
3569da54c8
commit
6b001b9b5d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 27 13:41:23 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Remove pytest-pythonpath and fix build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 29 22:33:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Sun Aug 29 22:33:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-flex
|
# spec file for package python-flex
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -32,7 +32,6 @@ BuildRequires: %{python_module click >= 3.3}
|
|||||||
BuildRequires: %{python_module factory_boy >= 2.4.1}
|
BuildRequires: %{python_module factory_boy >= 2.4.1}
|
||||||
BuildRequires: %{python_module jsonpointer >= 1.7}
|
BuildRequires: %{python_module jsonpointer >= 1.7}
|
||||||
BuildRequires: %{python_module pytest-httpbin}
|
BuildRequires: %{python_module pytest-httpbin}
|
||||||
BuildRequires: %{python_module pytest-pythonpath >= 0.3}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.4.3}
|
BuildRequires: %{python_module requests >= 2.4.3}
|
||||||
BuildRequires: %{python_module responses >= 0.5.1}
|
BuildRequires: %{python_module responses >= 0.5.1}
|
||||||
@ -71,6 +70,10 @@ Validation tooling for Swagger 2.0 specifications.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
PYTHONPATH=.
|
||||||
|
# gh#pipermerriam/flex#236
|
||||||
|
sed -i 's/werkzeug.wrappers.BaseRequest/werkzeug.wrappers.Request/' flex/http.py
|
||||||
|
sed -i 's/werkzeug.wrappers.BaseResponse/werkzeug.wrappers.Response/' flex/http.py
|
||||||
# gh#pipermerriam/flex#234
|
# gh#pipermerriam/flex#234
|
||||||
%pytest -k "not (donttestdummyprefix or (test_request_parameter_array_extraction and tsv))"
|
%pytest -k "not (donttestdummyprefix or (test_request_parameter_array_extraction and tsv))"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user