[arch-commits] Commit in python-cherrypy/trunk (2 files)

Thore Bödecker foxxx0 at archlinux.org
Mon Nov 16 09:59:43 UTC 2020


    Date: Monday, November 16, 2020 @ 09:59:43
  Author: foxxx0
Revision: 755187

upgpkg: python-cherrypy 18.6.0-3: disable broken test until upstream fixes it

Added:
  python-cherrypy/trunk/disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch
Modified:
  python-cherrypy/trunk/PKGBUILD

----------------------------------------------------------------+
 PKGBUILD                                                       |    6 +++--
 disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch |   11 ++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 09:47:24 UTC (rev 755186)
+++ PKGBUILD	2020-11-16 09:59:43 UTC (rev 755187)
@@ -9,7 +9,7 @@
 pkgname='python-cherrypy'
 _pkgname="${pkgname#python-}"
 pkgver=18.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A pythonic, object-oriented web development framework'
 arch=('any')
 url='https://cherrypy.org'
@@ -26,10 +26,12 @@
   "${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz"
   'disable-sessiontest-file_concurrency.patch'
   'disable-broken-testCombinedTools.patch' # https://github.com/cherrypy/cherrypy/issues/1849
+  'disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch' # https://github.com/cherrypy/cherrypy/issues/1873
 )
 sha512sums=('d39e9529e4872437c6d94609561820f4946f00c8ded5aa857facbd2c48e0bafb5a4b70368ad72899dad12593a4f8ea86003c1da62c763d6de0181ef24573c465'
             'e8abb7e3f8a064a0da529fcaf393dff305541bc273b539f3129b119d506be3be8cd67894dd4223e067b4dd8b55df8adc5d4feddb8d87188c9e528670c39e252f'
-            '8160f7a0e43042c233af22712641724bbaff63d603b31eb3f058c810d2b8f1ca0f5a4666464e4492457bb665ebe0eb5da55bc7e8158e36968f5ccb08ad641733')
+            '8160f7a0e43042c233af22712641724bbaff63d603b31eb3f058c810d2b8f1ca0f5a4666464e4492457bb665ebe0eb5da55bc7e8158e36968f5ccb08ad641733'
+            '60ba651c113ecf32e865a40b9361dbe176200274f2b3f40f6d17cbea3d4a868dc2eaf6088906230417c423969ce9692c10ae1f2e0f045571e5c443b53d4e07ca')
 
 prepare() {
   cd "${srcdir}/${_pkgname}-${pkgver}"

Added: disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch
===================================================================
--- disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch	                        (rev 0)
+++ disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch	2020-11-16 09:59:43 UTC (rev 755187)
@@ -0,0 +1,11 @@
+diff -upr a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py
+--- a/cherrypy/test/test_states.py	2020-04-17 19:49:39.000000000 +0200
++++ b/cherrypy/test/test_states.py	2020-11-16 10:53:32.382567506 +0100
+@@ -162,6 +162,7 @@ class ServerStateTests(helper.CPWebCase)
+         self.assertEqual(len(db_connection.threads), 0)
+ 
+     def test_2_KeyboardInterrupt(self):
++        pytest.skip('broken, see https://github.com/cherrypy/cherrypy/issues/1873')
+         # Raise a keyboard interrupt in the HTTP server's main thread.
+         # We must start the server in this, the main thread
+         engine.start()



More information about the arch-commits mailing list