[Python-modules-commits] [cherrypy3] 02/03: Add README.source: Notes about test suite and upstream >= 9.

Stephan Suerken absurd at moszumanska.debian.org
Wed Jan 24 09:41:53 UTC 2018


This is an automated email from the git hooks/post-receive script.

absurd pushed a commit to branch master
in repository cherrypy3.

commit 391e4a0af187271f8defa9855aeacc646ac899b0
Author: Stephan Sürken <absurd at debian.org>
Date:   Tue Jan 23 16:21:13 2018 +0100

    Add README.source: Notes about test suite and upstream >= 9.
---
 debian/README.source | 32 ++++++++++++++++++++++++++++++++
 debian/rules         |  8 +-------
 2 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3408a5d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,32 @@
+upstream
+========
+
+It seems that version 8.9.1 is the last upstream that can be packaged
+in the current manner. On how to support upstream >= 9, some more
+brainstorming needs to be done:
+
+- Since v9, the httpd/wsgiserver part has gone to a separate upstream 'cheroot' [1].
+- Later versions also require python packages not in Debian yet [2].
+- While 8.9.1 seems to be API-compatible with 3.5 to the best of my knowledge, 9.x
+	versions at least lack the wsgiserver part, and needs to be checked for other
+	possible API changes (to avoid breaking [3]).
+
+[1] https://pypi.python.org/pypi/Cheroot
+[2] https://pypi.python.org/pypi/jaraco.classes
+[3] calibre mini-buildd mnemosyne plinth python3-ws4py python-cylc python-sponge python-springpython python-ws4py salt-api
+
+test suite
+==========
+
+8.9.1-2: The **testsuite** currently does not work properly. It is
+still called (see rules), but the results are currently ignored.
+
+Fwiw, tests succeeded here when called manually like so::
+
+	$ ( cd .pybuild/pythonX.Y_2.7/build; python2.7 -m pytest cherrypy/test cherrypy/wsgiserver -l )
+	$ ( cd .pybuild/pythonX.Y_3.6/build; python3.6 -m pytest cherrypy/test cherrypy/wsgiserver -l )
+
+However, on package building (and even more on buildds), things go
+awry for some reason.
+
+ -- Stephan Sürken <absurd at debian.org>, Tue, 23 Jan 2018 16:20:50 +0100
diff --git a/debian/rules b/debian/rules
index d6aaf26..3159005 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM)
 %:
 	dh $@ --buildsystem pybuild --with python2,python3,sphinxdoc
 
-# Testsuite:
-#
-# Todo 1: --ignore=cherrypy/test/test_conn.py --ignore=cherrypy/test/test_encoding.py:
-#         These two tests seems to work fine when called manually, but fail in package build env
-# Todo 2: On buildds, many more test fail with strange python IOError.
-#
-# Currently, we run the full suite but ignore the retval (will at least run the py2 tests).
+# test suite results currently ignored. See README.source.
 override_dh_auto_test:
 	-PYBUILD_TEST_ARGS="cherrypy/test cherrypy/wsgiserver -l " dh_auto_test
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cherrypy3.git



More information about the Python-modules-commits mailing list