Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flask-restx for openSUSE:Factory checked in at 2021-04-29 22:46:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flask-restx (Old) and /work/SRC/openSUSE:Factory/.python-flask-restx.new.1947 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flask-restx" Thu Apr 29 22:46:07 2021 rev:3 rq:889126 version:0.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flask-restx/python-flask-restx.changes 2020-09-25 16:36:00.476128607 +0200 +++ /work/SRC/openSUSE:Factory/.python-flask-restx.new.1947/python-flask-restx.changes 2021-04-29 22:52:45.926064129 +0200 @@ -1,0 +2,11 @@ +Tue Apr 27 17:02:22 UTC 2021 - Sean Marlow <sean.mar...@suse.com> + +- Add missing python2 requirement. + +------------------------------------------------------------------- +Mon Apr 12 21:46:20 UTC 2021 - Sean Marlow <sean.mar...@suse.com> + +- Ignore test_handle_non_api_error test which is dependent on + werkzeug version. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flask-restx.spec ++++++ --- /var/tmp/diff_new_pack.ZZBcAo/_old 2021-04-29 22:52:46.390062063 +0200 +++ /var/tmp/diff_new_pack.ZZBcAo/_new 2021-04-29 22:52:46.390062063 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-flask-restx # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-flask-restx Version: 0.2.0 Release: 0 @@ -31,19 +32,25 @@ BuildRequires: %{python_module blinker} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-flask} BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tzlocal} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with python2} +BuildRequires: python2-enum34 +%endif Requires: python-Flask Requires: python-aniso8601 Requires: python-jsonschema Requires: python-pytz +%ifpython2 +Requires: python2-enum34 +%endif BuildArch: noarch %python_subpackages @@ -65,7 +72,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k 'not URLTest and not EmailTest' +%pytest -k 'not URLTest and not EmailTest and not test_handle_non_api_error' %files %{python_files} %doc README.rst CONTRIBUTING.rst