Package: python3-setproctitle Version: 1.1.10-1 Build tests are currently run for python2 only. Please enable them for python3 also.
I added this to the bottom of the override_dh_auto_test section: $(MAKE) PYTHON=python3 check but some of the tests failed: ====================================================================== FAIL: test_embedded (__main__.SetproctitleTestCase) Check the module works with embedded Python. ---------------------------------------------------------------------- Traceback (most recent call last): File "py3/tests/setproctitle_test.py", line 313, in test_embedded executable=exe) File "py3/tests/setproctitle_test.py", line 416, in run_script self.fail("test script failed") AssertionError: test script failed ====================================================================== FAIL: test_embedded_many_args (__main__.SetproctitleTestCase) Check more complex cmdlines are handled in embedded env too. ---------------------------------------------------------------------- Traceback (most recent call last): File "py3/tests/setproctitle_test.py", line 343, in test_embedded_many_args args=" ".join(["foo", "bar", "baz"])) File "py3/tests/setproctitle_test.py", line 416, in run_script self.fail("test script failed") AssertionError: test script failed ---------------------------------------------------------------------- Ran 14 tests in 5.007s FAILED (failures=2) b'' b'Traceback (most recent call last):\n File "stdin", line 1, in <module>\nImportError: No module named setproctitle\n' b'' b'Traceback (most recent call last):\n File "stdin", line 1, in <module>\nImportError: No module named setproctitle\n' But Ubuntu had the tests working for before the switch to pybuild. See the attachment from patches.ubuntu.com and the build log at https://launchpad.net/ubuntu/+source/python-setproctitle/1.1.8-1ubuntu2/+build/10550583 Thanks, Jeremy Bicha
python-setproctitle_1.1.8-1ubuntu2.patch
Description: Binary data
_______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team