From 8db0e1cdb9a682fd203304a25853a5dec00955521344042eb52c0b89eeedbffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 7 Oct 2019 13:30:41 +0000 Subject: [PATCH 1/3] - Update to 18.3.0: * Support handling multiple exceptions when processing hooks OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=34 --- CherryPy-18.2.0.tar.gz | 3 --- CherryPy-18.3.0.tar.gz | 3 +++ python-CherryPy.changes | 6 ++++++ python-CherryPy.spec | 3 +-- 4 files changed, 10 insertions(+), 5 deletions(-) delete mode 100644 CherryPy-18.2.0.tar.gz create mode 100644 CherryPy-18.3.0.tar.gz diff --git a/CherryPy-18.2.0.tar.gz b/CherryPy-18.2.0.tar.gz deleted file mode 100644 index 7e3c089..0000000 --- a/CherryPy-18.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16fc226a280cd772ede7c309d3964002196784ac6615d8bface52be12ff51230 -size 684947 diff --git a/CherryPy-18.3.0.tar.gz b/CherryPy-18.3.0.tar.gz new file mode 100644 index 0000000..a86c5a0 --- /dev/null +++ b/CherryPy-18.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:683e687e7c7b1ba31ef86a113b1eafd0407269fed175bf488d3c839d37d1cc60 +size 685192 diff --git a/python-CherryPy.changes b/python-CherryPy.changes index c50e2b6..e3015d4 100644 --- a/python-CherryPy.changes +++ b/python-CherryPy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 7 13:26:26 UTC 2019 - Tomáš Chvátal + +- Update to 18.3.0: + * Support handling multiple exceptions when processing hooks + ------------------------------------------------------------------- Tue Sep 24 08:49:15 UTC 2019 - Tomáš Chvátal diff --git a/python-CherryPy.spec b/python-CherryPy.spec index 8a630da..3ec175b 100644 --- a/python-CherryPy.spec +++ b/python-CherryPy.spec @@ -19,11 +19,10 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-CherryPy -Version: 18.2.0 +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 BuildRequires: %{python_module setuptools_scm} From 3b611352a3bb01f15f1f60e7a04b1c81255f013d6747555408e6ae4a0562a947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 11 Oct 2019 07:43:58 +0000 Subject: [PATCH 2/3] - Do not remove cherrypy tests from distribution as other projects use it for self testing too OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=35 --- python-CherryPy.changes | 6 ++++++ python-CherryPy.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-CherryPy.changes b/python-CherryPy.changes index e3015d4..f206b7d 100644 --- a/python-CherryPy.changes +++ b/python-CherryPy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-CherryPy.spec b/python-CherryPy.spec index 3ec175b..e0fe8f3 100644 --- a/python-CherryPy.spec +++ b/python-CherryPy.spec @@ -76,7 +76,8 @@ sed -i -e '/addopts/d' pytest.ini %install %python_install -%python_expand rm -r %{buildroot}%{$python_sitelib}/cherrypy/test +# 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 From a11f8e86c2edcd70acb406d44e0a7466372bd6cf342ec95ffcef222924f629fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 30 Oct 2019 13:15:51 +0000 Subject: [PATCH 3/3] - Skip known failing test upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=36 --- python-CherryPy.changes | 5 +++++ python-CherryPy.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-CherryPy.changes b/python-CherryPy.changes index f206b7d..e180835 100644 --- a/python-CherryPy.changes +++ b/python-CherryPy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 30 13:15:39 UTC 2019 - Tomáš Chvátal + +- Skip known failing test upstream + ------------------------------------------------------------------- Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal diff --git a/python-CherryPy.spec b/python-CherryPy.spec index e0fe8f3..b1d4ec7 100644 --- a/python-CherryPy.spec +++ b/python-CherryPy.spec @@ -82,7 +82,8 @@ sed -i -e '/addopts/d' pytest.ini %python_clone -a %{buildroot}%{_bindir}/cherryd %check -%pytest -k 'not test_null_bytes' +# test_HTTP11_Timeout_after_request https://github.com/cherrypy/cherrypy/issues/1817 +%pytest -k 'not test_null_bytes and not test_HTTP11_Timeout_after_request' %post %python_install_alternative cherryd