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-02-04 20:22:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tornado6 (Old) and /work/SRC/openSUSE:Factory/.python-tornado6.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado6" Thu Feb 4 20:22:58 2021 rev:5 rq:868432 version:6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tornado6/python-tornado6.changes 2020-05-08 23:00:41.493291057 +0200 +++ /work/SRC/openSUSE:Factory/.python-tornado6.new.28504/python-tornado6.changes 2021-02-04 20:23:47.730800804 +0100 @@ -1,0 +2,13 @@ +Sat Jan 30 20:22:29 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 6.1.0 + * Full changelog can be found at + https://www.tornadoweb.org/en/stable/releases/v6.1.0.html +- Drop patches not applying anymore. + * python-tornado6-httpclient-test.patch + * skip-failing-tests.patch + * tornado-testsuite_timeout.patch +- Refresh and comment ignore-resourcewarning-doctests.patch +- Fix documentation deduplication + +------------------------------------------------------------------- Old: ---- python-tornado6-httpclient-test.patch skip-failing-tests.patch tornado-6.0.4.tar.gz tornado-testsuite_timeout.patch New: ---- tornado-6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tornado6.spec ++++++ --- /var/tmp/diff_new_pack.IxKHQr/_old 2021-02-04 20:23:48.746802352 +0100 +++ /var/tmp/diff_new_pack.IxKHQr/_new 2021-02-04 20:23:48.750802357 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-tornado6 # -# 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 @@ -19,26 +19,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-tornado6 -Version: 6.0.4 +Version: 6.1 Release: 0 Summary: Open source version of scalable, non-blocking web server that power FriendFeed License: Apache-2.0 URL: https://www.tornadoweb.org 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 -Patch4: python-tornado6-httpclient-test.patch +# PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource warnings on OBS +Patch0: ignore-resourcewarning-doctests.patch BuildRequires: %{python_module base >= 3.5} -BuildRequires: %{python_module certifi} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pycares} BuildRequires: %{python_module pycurl} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module simplejson} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python -Requires: python-simplejson Recommends: python-Twisted Recommends: python-pycares Recommends: python-pycurl @@ -67,10 +63,9 @@ thousands of clients, see The C10K problem.) %prep -%setup -q -n tornado-%{version} +%autosetup -p1 -n tornado-%{version} # Fix non-executable script rpmlint issue: -find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; -%autopatch -p1 +find tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; %pre # remove egg-info _file_, being replaced by an egg-info directory @@ -83,9 +78,17 @@ %install %python_install -%fdupes demos -%python_expand rm -r %{buildroot}%{$python_sitearch}/tornado/test -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%{python_expand # +# do not install tests +rm -r %{buildroot}%{$python_sitearch}/tornado/test +# deduplicate files in python platlibdir +%fdupes %{buildroot}%{$python_sitearch} +# install demos into docdir and deduplicate +mkdir -p %{buildroot}%{_docdir}/$python-tornado6/ +cp -r demos %{buildroot}%{_docdir}/$python-tornado6/ +find %{buildroot}%{_docdir}/$python-tornado6 -name "*.py" -exec sed -i "1{s|^#!.*$|%{_bindir}/$python|}" {} \; +%fdupes %{buildroot}%{_docdir}/$python-tornado6 +} %check export ASYNC_TEST_TIMEOUT=30 @@ -95,7 +98,7 @@ %files %{python_files} %license LICENSE -%doc demos +%doc %{_docdir}/%{python_prefix}-tornado6 %{python_sitearch}/tornado %{python_sitearch}/tornado-%{version}-py*.egg-info ++++++ ignore-resourcewarning-doctests.patch ++++++ --- /var/tmp/diff_new_pack.IxKHQr/_old 2021-02-04 20:23:48.774802394 +0100 +++ /var/tmp/diff_new_pack.IxKHQr/_new 2021-02-04 20:23:48.774802394 +0100 @@ -3,35 +3,35 @@ --- tornado-6.0.4.orig/tornado/util.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/util.py 2020-03-11 11:43:51.470603323 +0100 @@ -468,5 +468,7 @@ else: - def doctests(): - # type: () -> unittest.TestSuite - import doctest -+ import warnings -+ warnings.simplefilter("ignore", ResourceWarning) - - return doctest.DocTestSuite() + def doctests(): + # type: () -> unittest.TestSuite + import doctest ++ import warnings ++ warnings.simplefilter("ignore", ResourceWarning) + + return doctest.DocTestSuite() Index: tornado-6.0.4/tornado/httputil.py =================================================================== --- tornado-6.0.4.orig/tornado/httputil.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/httputil.py 2020-03-11 11:44:46.178911693 +0100 @@ -1032,6 +1032,8 @@ def encode_username_password( - def doctests(): - # type: () -> unittest.TestSuite - import doctest -+ import warnings -+ warnings.simplefilter("ignore", ResourceWarning) - - return doctest.DocTestSuite() - + def doctests(): + # type: () -> unittest.TestSuite + import doctest ++ import warnings ++ warnings.simplefilter("ignore", ResourceWarning) + + return doctest.DocTestSuite() + Index: tornado-6.0.4/tornado/iostream.py =================================================================== --- tornado-6.0.4.orig/tornado/iostream.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/iostream.py 2020-03-11 11:45:31.015164413 +0100 @@ -1677,5 +1677,7 @@ class PipeIOStream(BaseIOStream): - - def doctests() -> Any: - import doctest -+ import warnings -+ warnings.simplefilter("ignore", ResourceWarning) - - return doctest.DocTestSuite() + + def doctests() -> Any: + import doctest ++ import warnings ++ warnings.simplefilter("ignore", ResourceWarning) + + return doctest.DocTestSuite() ++++++ tornado-6.0.4.tar.gz -> tornado-6.1.tar.gz ++++++ ++++ 104410 lines of diff (skipped)