Hello community,

here is the log from the commit of package python-tornado6 for openSUSE:Factory 
checked in at 2019-11-22 10:25:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado6 (Old)
 and      /work/SRC/openSUSE:Factory/.python-tornado6.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tornado6"

Fri Nov 22 10:25:33 2019 rev:2 rq:749161 version:6.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado6/python-tornado6.changes  
2019-11-07 23:12:49.952292015 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-tornado6.new.26869/python-tornado6.changes   
    2019-11-22 10:25:34.897270764 +0100
@@ -1,0 +2,17 @@
+Mon Nov 18 04:00:14 UTC 2019 - Steve Kowalik <[email protected]>
+
+- Add ignore-resourcewarning-doctests.patch to ignore ResourceWarnings
+  when running doctests.
+- Use %autopatch macro instead of specific patch number macros
+
+-------------------------------------------------------------------
+Fri Nov  8 13:28:37 UTC 2019 - Andreas Schwab <[email protected]>
+
+- Define TRAVIS to disable unreliable tests
+
+-------------------------------------------------------------------
+Mon Oct 14 14:45:59 UTC 2019 - Matej Cepl <[email protected]>
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+-------------------------------------------------------------------

New:
----
  ignore-resourcewarning-doctests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tornado6.spec ++++++
--- /var/tmp/diff_new_pack.ftQxtv/_old  2019-11-22 10:25:35.389270620 +0100
+++ /var/tmp/diff_new_pack.ftQxtv/_new  2019-11-22 10:25:35.393270618 +0100
@@ -27,6 +27,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
 Patch1:         tornado-testsuite_timeout.patch
 Patch2:         skip-failing-tests.patch
+Patch3:         ignore-resourcewarning-doctests.patch
 BuildRequires:  %{python_module base >= 3.5}
 BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module devel}
@@ -41,8 +42,8 @@
 Recommends:     python-pycares
 Recommends:     python-pycurl
 Recommends:     python-service_identity
-Provides:       python-tornado = %{version}
 Conflicts:      python-tornado-impl
+Provides:       python-tornado = %{version}
 Provides:       python-tornado-impl = %{version}
 Provides:       python-toro = %{version}
 Obsoletes:      python-toro < %{version}
@@ -68,8 +69,7 @@
 %setup -q -n tornado-%{version}
 # Fix non-executable script rpmlint issue:
 find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
-%patch1 -p1
-%patch2 -p1
+%autopatch -p1
 
 %pre
 # remove egg-info _file_, being replaced by an egg-info directory
@@ -82,13 +82,14 @@
 
 %install
 %python_install
-%fdupes -s demos
+%fdupes demos
 %python_expand rm -r %{buildroot}%{$python_sitearch}/tornado/test
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 export ASYNC_TEST_TIMEOUT=30
 export PYTHONDONTWRITEBYTECODE=1
+export TRAVIS=1
 %python_exec -m tornado.test.runtests
 
 %files %{python_files}

++++++ ignore-resourcewarning-doctests.patch ++++++
Index: tornado-6.0.3/tornado/util.py
===================================================================
--- tornado-6.0.3.orig/tornado/util.py
+++ tornado-6.0.3/tornado/util.py
@@ -468,5 +468,7 @@ else:
 def doctests():
     # type: () -> unittest.TestSuite
     import doctest
+    import warnings
+    warnings.simplefilter("ignore", ResourceWarning)
 
     return doctest.DocTestSuite()
Index: tornado-6.0.3/tornado/httputil.py
===================================================================
--- tornado-6.0.3.orig/tornado/httputil.py
+++ tornado-6.0.3/tornado/httputil.py
@@ -1032,6 +1032,8 @@ def encode_username_password(
 def doctests():
     # type: () -> unittest.TestSuite
     import doctest
+    import warnings
+    warnings.simplefilter("ignore", ResourceWarning)
 
     return doctest.DocTestSuite()
 
Index: tornado-6.0.3/tornado/iostream.py
===================================================================
--- tornado-6.0.3.orig/tornado/iostream.py
+++ tornado-6.0.3/tornado/iostream.py
@@ -1651,5 +1651,7 @@ class PipeIOStream(BaseIOStream):
 
 def doctests() -> Any:
     import doctest
+    import warnings
+    warnings.simplefilter("ignore", ResourceWarning)
 
     return doctest.DocTestSuite()

Reply via email to