Debian Patches

Status for cherrypy3/8.9.1-8

Patch Description Author Forwarded Bugs Origin Last update
0001-disable-sphinx-rst.linker-extension.patch disable sphinx rst.linker extension
This is not yet packaged in Debian and is harmless to ignore for now.
Carl Suster <carl@contraflo.ws> no 2017-01-04
0002-use-mock.mock-instead-of-unittest.mock.patch use mock.mock instead of unittest.mock
Upstream uses backports.unittest_mock. Instead, we use python*-mock
which is available in Debian and does the same job of backporting Python
3's unittest mock other than calling it mock.mock instead. This patch
just switches to this import statement in the test suite.
Carl Suster <carl@contraflo.ws> no 2017-01-04
0003-disable-test_antistampede.patch disable test_antistampede
This test spawns many threads that all make a request to an endpoint in
the web server which does nothing but sleep and return a string. The
idea is that if caching works this is very fast, so the test assertion
is that the test was completed quickly.

If the test fails it could run for quite a while, and there is a known
problem upstream which makes this test unreliable which is why it is
marked as allowed to fail for pytest. To speed things up, we disable it
completely until it works more reliably.
Carl Suster <carl@contraflo.ws> no 2017-01-06
0004-unrepr-also-from-__builtin__.patch unrepr also from __builtin__
The Python2 tests are failing because __import__ is not found either as
a module or inside the module "builtins". According to the docs at
https://docs.python.org/2/library/functions.html#__import__ this
function is instead inside the module "__builtin__".

This patch makes unrepr also look for the name inside __builtin__ so
that it can find __import__. It is not clear why this works upstream but
not in Debian.
Carl Suster <carl@contraflo.ws> no 2017-01-06
0005-fix-use-of-isAlive.patch # Replace removed threading.Thread.isAlive() method with is_alive() no

All known versions for source package 'cherrypy3'

Links