Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tornado6 for openSUSE:Factory
checked in at 2021-12-13 20:41:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado6 (Old)
and /work/SRC/openSUSE:Factory/.python-tornado6.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado6"
Mon Dec 13 20:41:47 2021 rev:8 rq:940021 version:6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado6/python-tornado6.changes
2021-08-06 22:44:56.366053718 +0200
+++
/work/SRC/openSUSE:Factory/.python-tornado6.new.2520/python-tornado6.changes
2021-12-13 20:45:59.120496757 +0100
@@ -1,0 +2,7 @@
+Sat Dec 11 16:16:20 UTC 2021 - Ben Greiner <[email protected]>
+
+- Filter Python 3.10 deprecation warnings during testing
+ * ignore-py310-deprecation-warnings.patch
+ * gh#tornadoweb/tornado#3033
+
+-------------------------------------------------------------------
New:
----
ignore-py310-deprecation-warnings.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tornado6.spec ++++++
--- /var/tmp/diff_new_pack.V4olF5/_old 2021-12-13 20:45:59.656496823 +0100
+++ /var/tmp/diff_new_pack.V4olF5/_new 2021-12-13 20:45:59.656496823 +0100
@@ -28,6 +28,8 @@
Source99: python-tornado6-rpmlintrc
# PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource
warnings on OBS
Patch0: ignore-resourcewarning-doctests.patch
+# PATCH-FIX-OPENSUSE ignore-py310-deprecation-warnings.patch --
gh#tornadoweb/tornado#3033
+Patch1: ignore-py310-deprecation-warnings.patch
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pycares}
++++++ ignore-py310-deprecation-warnings.patch ++++++
Index: tornado-6.1/tornado/test/runtests.py
===================================================================
--- tornado-6.1.orig/tornado/test/runtests.py
+++ tornado-6.1/tornado/test/runtests.py
@@ -160,6 +160,18 @@ def main():
message="PY_SSIZE_T_CLEAN will be required",
)
+ # https://github.com/tornadoweb/tornado/issues/3033
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message=r"ssl.*",
+ )
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message="There is no current event loop",
+ )
+
logging.getLogger("tornado.access").setLevel(logging.CRITICAL)
define(