Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hug for openSUSE:Factory checked in at 2021-12-16 21:19:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hug (Old) and /work/SRC/openSUSE:Factory/.python-hug.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hug" Thu Dec 16 21:19:50 2021 rev:3 rq:940940 version:2.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hug/python-hug.changes 2021-02-25 18:27:01.094164146 +0100 +++ /work/SRC/openSUSE:Factory/.python-hug.new.2520/python-hug.changes 2021-12-16 21:21:05.186561745 +0100 @@ -1,0 +2,6 @@ +Wed Dec 15 09:04:13 UTC 2021 - pgaj...@suse.com + +- pytest-runner is not required for build +- skip yet another falcon related test failures + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hug.spec ++++++ --- /var/tmp/diff_new_pack.uSxSxJ/_old 2021-12-16 21:21:05.714561945 +0100 +++ /var/tmp/diff_new_pack.uSxSxJ/_new 2021-12-16 21:21:05.714561945 +0100 @@ -43,11 +43,11 @@ BuildRequires: %{python_module marshmallow >= 3.0.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} # /SECTION Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %python_subpackages %description @@ -55,6 +55,8 @@ %prep %setup -q -n hug-%{revision} +# https://github.com/hugapi/hug/issues/895 +sed -i 's:pytest-runner:pytest:' setup.py %build %python_build @@ -66,7 +68,7 @@ %check # exclude tests failing most probably due to different library versions (hug uses falcon==2.0.0 -%pytest -k 'not test_transform and not test_hug_post and not test_marshmallow_schema and not test_marshmallow_custom_context and not test_validate_route_args_negative_case and not test_request and not test_datagram_request' +%pytest -k 'not (test_transform or test_hug_post or test_marshmallow_schema or test_marshmallow_custom_context or test_validate_route_args_negative_case or test_request or test_datagram_reques or test_exception or test_raise_on_invalid or test_versioning or test_marshmallow3_support or test_exceptions or test_exception_excludes or test_current_api or test_routing_class_based_method_view_with_sub_routing)' %post %python_install_alternative hug