Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flex for openSUSE:Factory checked in at 2022-04-30 00:45:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flex (Old) and /work/SRC/openSUSE:Factory/.python-flex.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flex" Sat Apr 30 00:45:10 2022 rev:6 rq:973586 version:6.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flex/python-flex.changes 2021-08-30 13:55:34.921851185 +0200 +++ /work/SRC/openSUSE:Factory/.python-flex.new.1538/python-flex.changes 2022-04-30 00:45:54.870971000 +0200 @@ -1,0 +2,5 @@ +Wed Apr 27 13:41:23 UTC 2022 - Mark??ta Machov?? <mmach...@suse.com> + +- Remove pytest-pythonpath and fix build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flex.spec ++++++ --- /var/tmp/diff_new_pack.VRgxcO/_old 2022-04-30 00:45:55.442971496 +0200 +++ /var/tmp/diff_new_pack.VRgxcO/_new 2022-04-30 00:45:55.454971506 +0200 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,6 @@ BuildRequires: %{python_module factory_boy >= 2.4.1} BuildRequires: %{python_module jsonpointer >= 1.7} BuildRequires: %{python_module pytest-httpbin} -BuildRequires: %{python_module pytest-pythonpath >= 0.3} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.4.3} BuildRequires: %{python_module responses >= 0.5.1} @@ -71,6 +70,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %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 %pytest -k "not (donttestdummyprefix or (test_request_parameter_array_extraction and tsv))"