Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mitmproxy for
openSUSE:Factory checked in at 2022-01-09 00:48:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mitmproxy (Old)
and /work/SRC/openSUSE:Factory/.python-mitmproxy.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mitmproxy"
Sun Jan 9 00:48:07 2022 rev:5 rq:944963 version:7.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mitmproxy/python-mitmproxy.changes
2021-12-09 19:46:31.621159762 +0100
+++
/work/SRC/openSUSE:Factory/.python-mitmproxy.new.1892/python-mitmproxy.changes
2022-01-09 00:48:07.704527567 +0100
@@ -1,0 +2,5 @@
+Thu Jan 6 13:33:12 UTC 2022 - Ben Greiner <[email protected]>
+
+- Register obs hypothesis profile for slow test executions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mitmproxy.spec ++++++
--- /var/tmp/diff_new_pack.kuNtXl/_old 2022-01-09 00:48:08.212527873 +0100
+++ /var/tmp/diff_new_pack.kuNtXl/_new 2022-01-09 00:48:08.216527875 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-mitmproxy
#
-# 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
@@ -106,6 +106,18 @@
sed -i 's/,\s*<.*"/"/g' setup.py
rm mitmproxy/contrib/kaitaistruct/make.sh
+sed -i 's/--color=yes//' setup.cfg
+
+echo "
+# increase test deadline for slow obs executions
+import hypothesis
+hypothesis.settings.register_profile(
+ 'obs',
+ deadline=5000,
+ suppress_health_check=[hypothesis.HealthCheck.too_slow]
+)
+" >> test/conftest.py
+
%build
%python_build
@@ -120,7 +132,7 @@
# test_refresh fails on i586... wrong timestamp type, maybe?
# test_rollback and test_output[None-expected_out0-expected_err0] just
randomly fail on i586
# test_get_version fails to mock updated git version
-%pytest -k "not (test_refresh or test_rollback or test_output or
test_get_version)"
+%pytest -k "not (test_refresh or test_rollback or test_output or
test_get_version)" --hypothesis-profile="obs"
%post
%python_install_alternative mitmdump