Codebase list cherrypy3 / 391e4a0
Add README.source: Notes about test suite and upstream >= 9. Stephan Sürken 6 years ago
2 changed file(s) with 33 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
0 upstream
1 ========
2
3 It seems that version 8.9.1 is the last upstream that can be packaged
4 in the current manner. On how to support upstream >= 9, some more
5 brainstorming needs to be done:
6
7 - Since v9, the httpd/wsgiserver part has gone to a separate upstream 'cheroot' [1].
8 - Later versions also require python packages not in Debian yet [2].
9 - While 8.9.1 seems to be API-compatible with 3.5 to the best of my knowledge, 9.x
10 versions at least lack the wsgiserver part, and needs to be checked for other
11 possible API changes (to avoid breaking [3]).
12
13 [1] https://pypi.python.org/pypi/Cheroot
14 [2] https://pypi.python.org/pypi/jaraco.classes
15 [3] calibre mini-buildd mnemosyne plinth python3-ws4py python-cylc python-sponge python-springpython python-ws4py salt-api
16
17 test suite
18 ==========
19
20 8.9.1-2: The **testsuite** currently does not work properly. It is
21 still called (see rules), but the results are currently ignored.
22
23 Fwiw, tests succeeded here when called manually like so::
24
25 $ ( cd .pybuild/pythonX.Y_2.7/build; python2.7 -m pytest cherrypy/test cherrypy/wsgiserver -l )
26 $ ( cd .pybuild/pythonX.Y_3.6/build; python3.6 -m pytest cherrypy/test cherrypy/wsgiserver -l )
27
28 However, on package building (and even more on buildds), things go
29 awry for some reason.
30
31 -- Stephan Sürken <absurd@debian.org>, Tue, 23 Jan 2018 16:20:50 +0100
99 %:
1010 dh $@ --buildsystem pybuild --with python2,python3,sphinxdoc
1111
12 # Testsuite:
13 #
14 # Todo 1: --ignore=cherrypy/test/test_conn.py --ignore=cherrypy/test/test_encoding.py:
15 # These two tests seems to work fine when called manually, but fail in package build env
16 # Todo 2: On buildds, many more test fail with strange python IOError.
17 #
18 # Currently, we run the full suite but ignore the retval (will at least run the py2 tests).
12 # test suite results currently ignored. See README.source.
1913 override_dh_auto_test:
2014 -PYBUILD_TEST_ARGS="cherrypy/test cherrypy/wsgiserver -l " dh_auto_test
2115