Hello community, here is the log from the commit of package python-CherryPy for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-CherryPy (Old) and /work/SRC/openSUSE:Leap:15.2/.python-CherryPy.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-CherryPy" Sun Mar 1 08:51:00 2020 rev:18 rq:780505 version:18.3.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-CherryPy/python-CherryPy.changes 2020-01-15 15:45:54.179339148 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-CherryPy.new.26092/python-CherryPy.changes 2020-03-01 08:51:04.357237293 +0100 @@ -2 +2 @@ -Thu Nov 21 17:53:17 CET 2019 - Matej Cepl <mc...@suse.com> +Mon Feb 24 12:53:40 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> @@ -4,4 +4,11 @@ -- Add compatibility_w_Python_fix.patch to make tests pass even - with the more recent versions of Python which have fixed - http.client.HTTPConnection.putrequest(). - gh#cherrypy/cherrypy#1781 +- Fix few more tests that are skipped in travis +- Remove patch compatibility_w_Python_fix.patch + +------------------------------------------------------------------- +Sat Nov 30 17:50:07 CET 2019 - Matej Cepl <mc...@suse.com> + +- (bsc#1158120) Add compatibility_w_Python_fix.patch to make + tests pass even with the more recent versions of Python which + have fixed http.client.HTTPConnection.putrequest(). + Fallout from jsc#PM-1350. + Aka gh#cherrypy/cherrypy#1781 @@ -8,0 +16,73 @@ + +------------------------------------------------------------------- +Wed Oct 30 13:15:39 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Skip known failing test upstream + +------------------------------------------------------------------- +Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Do not remove cherrypy tests from distribution as other projects + use it for self testing too + +------------------------------------------------------------------- +Mon Oct 7 13:26:26 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 18.3.0: + * Support handling multiple exceptions when processing hooks + +------------------------------------------------------------------- +Tue Sep 24 08:49:15 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 18.2.0: + * File-based sessions no longer attempt to remove the lock files + when releasing locks, instead deferring to the default behavior + of zc.lockfile. Fixes :issue:`1391` and :issue:`1779`. + * Add native support for 308 Permanent Redirect usable via raise + cherrypy.HTTPRedirect('/new_uri', 308). +- Drop merged patch pytest5.patch + +------------------------------------------------------------------- +Fri Jul 19 12:13:03 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to work with pytest5, from upstream: + * pytest5.patch + +------------------------------------------------------------------- +Fri Jul 19 12:06:57 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 18.1.2: + * Fixed :issue:`1377` via :pr:`1785`: Restore a native WSGI-less HTTP server support. + * :pr:`1769`: Reduce log level for non-error events in win32.py + +------------------------------------------------------------------- +Fri May 31 15:32:40 CEST 2019 - Matej Cepl <mc...@suse.com> + +- boo#1136862: ignore StaticTest.test_null_bytes test case, which + fails due to Python 3 fixes for CVE-2019-9740. (gh#cherrypy/cherrypy#1781) + +------------------------------------------------------------------- +Thu May 16 18:12:19 UTC 2019 - Guang Yee <g...@suse.com> + +- Disable test_wait_publishes_periodically test as it is unstable and + highly time sensitive. + +------------------------------------------------------------------- +Thu Mar 28 14:03:13 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 18.1.1: + * Revert bus behavior change from 18.1.0 as the former behavior + was intentional + +------------------------------------------------------------------- +Tue Mar 5 12:19:29 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 18.1.0: + * too many changes to iterate, see CHANGES.rst + * Dropped support for python2 +- Make sure tests are run + +------------------------------------------------------------------- +Fri Feb 9 14:23:16 UTC 2018 - norm...@linux.vnet.ibm.com + +- disable pytest as transient failures Old: ---- CherryPy-10.2.1.tar.gz compatibility_w_Python_fix.patch New: ---- CherryPy-18.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-CherryPy.spec ++++++ --- /var/tmp/diff_new_pack.rhRF6L/_old 2020-03-01 08:51:04.829238232 +0100 +++ /var/tmp/diff_new_pack.rhRF6L/_new 2020-03-01 08:51:04.833238240 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-CherryPy # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,50 +16,41 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python -%bcond_without python2 Name: python-CherryPy -Version: 10.2.1 +Version: 18.3.0 Release: 0 Summary: Object-Oriented HTTP framework License: BSD-3-Clause -Group: Development/Languages/Python URL: http://www.cherrypy.org Source: https://files.pythonhosted.org/packages/source/C/CherryPy/CherryPy-%{version}.tar.gz -# PATCH-FIX-UPSTREAM compatibility_w_Python_fix.patch gh#cherrypy/cherrypy#1781 mc...@suse.com -# make a test suite compatible with the more recent versions of Python -Patch0: compatibility_w_Python_fix.patch BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-cheroot >= 5.2.0 -Requires: python-portend >= 1.6.1 -Requires: python-six +Requires: python-cheroot >= 6.2.4 +Requires: python-more-itertools +Requires: python-portend >= 2.1.1 +Requires: python-zc.lockfile Requires(post): update-alternatives Requires(postun): update-alternatives -Recommends: python-Routes +Recommends: python-Routes >= 2.3.1 Recommends: python-flup Recommends: python-memcached >= 1.58 Recommends: python-pyOpenSSL Recommends: python-simplejson BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module cheroot >= 5.2.0} -BuildRequires: %{python_module nose} -BuildRequires: %{python_module portend >= 1.6.1} -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module cheroot >= 6.2.4} +BuildRequires: %{python_module more-itertools} +BuildRequires: %{python_module path.py} +BuildRequires: %{python_module portend >= 2.1.1} +BuildRequires: %{python_module pytest-services} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} -%if %{with python2} -BuildRequires: python2-backports.unittest_mock -%endif +BuildRequires: %{python_module requests-toolbelt} +BuildRequires: %{python_module zc.lockfile} # /SECTION -%ifpython2 -Provides: %{oldpython}-cherrypy = %{version} -Obsoletes: %{oldpython}-cherrypy < %{version} -%endif %python_subpackages %description @@ -77,18 +68,24 @@ %prep %setup -q -n CherryPy-%{version} -%autopatch -p1 +# do not require cov/xdist/etc +sed -i -e '/addopts/d' pytest.ini %build %python_build %install %python_install +# Do not remove the tests as other project use them for self validation +#%%python_expand rm -r %{buildroot}%{$python_sitelib}/cherrypy/test +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/cherryd -%fdupes %{buildroot}%{_prefix} %check -%pytest cherrypy/test -k 'not test_null_bytes' +export TRAVIS="true" +# test_HTTP11_Timeout_after_request https://github.com/cherrypy/cherrypy/issues/1817 +# autoreload and sighup fail on SLE +%pytest -k 'not (test_null_bytes or test_HTTP11_Timeout_after_request or test_4_Autoreload or test_SIGHUP_daemonized)' %post %python_install_alternative cherryd ++++++ CherryPy-10.2.1.tar.gz -> CherryPy-18.3.0.tar.gz ++++++ ++++ 16522 lines of diff (skipped)