Source: pexpect
Version: 4.8.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> I: pybuild base:310: /usr/bin/python3 setup.py build
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/
> build/html
> Running Sphinx v7.2.6
> Initializing GitHub plugin
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and
> will be removed in Sphinx 8. Update to the current format as described in the
> documentation. Hint: "intersphinx_mapping = {'<name>':
> ('http://docs.python.org/3/',
> None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
> loading intersphinx inventory from http://docs.python.org/3/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/3/objects.inv' not fetchable
> due to <class 'requests.exceptions.ProxyError'>:
> HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url:
> http://docs.python.org/3/objects.inv (Caused by ProxyError('Cannot connect to
> proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at
> 0x7fb8930b3050>: Failed to establish a new connection: [Errno 111] Connection
> refused')))
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 13 source files that are out of date
> updating environment: [new config] 13 added, 0 changed, 0 removed
> [2Kreading sources... [ 8%] FAQ
> [2Kreading sources... [ 15%] api/fdpexpect
> [2Kreading sources... [ 23%] api/index
> [2Kreading sources... [ 31%] api/pexpect
> [2Kreading sources... [ 38%] api/popen_spawn
> [2Kreading sources... [ 46%] api/pxssh
> [2Kreading sources... [ 54%] api/replwrap
> [2Kreading sources... [ 62%] commonissues
> [2Kreading sources... [ 69%] examples
> [2Kreading sources... [ 77%] history
> [2Kreading sources... [ 85%] index
> [2Kreading sources... [ 92%] install
> [2Kreading sources... [100%] overview
>
> /<<PKGBUILDDIR>>/doc/api/pexpect.rst:46: WARNING: duplicate object
> description of pexpect.spawn, other instance in api/pexpect, use :no-index:
> for one of them
> /<<PKGBUILDDIR>>/doc/history.rst:17: ERROR: Unknown interpreted text role
> "gphull".
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> [2Kwriting output... [ 8%] FAQ
> [2Kwriting output... [ 15%] api/fdpexpect
> [2Kwriting output... [ 23%] api/index
> [2Kwriting output... [ 31%] api/pexpect
> [2Kwriting output... [ 38%] api/popen_spawn
> [2Kwriting output... [ 46%] api/pxssh
> [2Kwriting output... [ 54%] api/replwrap
> [2Kwriting output... [ 62%] commonissues
> [2Kwriting output... [ 69%] examples
> [2Kwriting output... [ 77%] history
> [2Kwriting output... [ 85%] index
> [2Kwriting output... [ 92%] install
> [2Kwriting output... [100%] overview
>
> /<<PKGBUILDDIR>>/pexpect/pxssh.py:docstring of
> pexpect.pxssh.pxssh.__init__:41: WARNING: more than one target found for
> cross-reference 'expect': pexpect.fdpexpect.fdspawn.expect,
> pexpect.spawn.expect, pexpect.popen_spawn.PopenSpawn.expect
> /<<PKGBUILDDIR>>/pexpect/pxssh.py:docstring of
> pexpect.pxssh.pxssh.__init__:48: WARNING: more than one target found for
> cross-reference 'expect': pexpect.fdpexpect.fdspawn.expect,
> pexpect.spawn.expect, pexpect.popen_spawn.PopenSpawn.expect
> /<<PKGBUILDDIR>>/pexpect/pxssh.py:docstring of
> pexpect.pxssh.pxssh.__init__:48: WARNING: more than one target found for
> cross-reference 'expect': pexpect.fdpexpect.fdspawn.expect,
> pexpect.spawn.expect, pexpect.popen_spawn.PopenSpawn.expect
> generating indices... genindex py-modindex done
> [2Khighlighting module code... [ 12%] pexpect.exceptions
> [2Khighlighting module code... [ 25%] pexpect.fdpexpect
> [2Khighlighting module code... [ 38%] pexpect.popen_spawn
> [2Khighlighting module code... [ 50%] pexpect.pty_spawn
> [2Khighlighting module code... [ 62%] pexpect.pxssh
> [2Khighlighting module code... [ 75%] pexpect.replwrap
> [2Khighlighting module code... [ 88%] pexpect.run
> [2Khighlighting module code... [100%] pexpect.utils
>
> writing additional pages... search done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 8 warnings.
>
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build; python3.12 -m pytest
> -k 'not (pxssh or replwrap or test_before_across_chunks or
> test_spawn_uses_env)'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 234 items / 31 deselected / 203 selected
>
> tests/test_FSM.py . [
> 0%]
> tests/test_ansi.py ......... [
> 4%]
> tests/test_async.py ....... [
> 8%]
> tests/test_command_list_split.py . [
> 8%]
> tests/test_constructor.py .. [
> 9%]
> tests/test_ctrl_chars.py ..... [
> 12%]
> tests/test_delay.py .. [
> 13%]
> tests/test_destructor.py . [
> 13%]
> tests/test_dotall.py .. [
> 14%]
> tests/test_env.py ... [
> 16%]
> tests/test_expect.py F................................. [
> 33%]
> tests/test_filedescriptor.py ..... [
> 35%]
> tests/test_interact.py ... [
> 36%]
> tests/test_isalive.py ......... [
> 41%]
> tests/test_log.py .... [
> 43%]
> tests/test_misc.py .FF........................... [
> 58%]
> tests/test_missing_command.py . [
> 58%]
> tests/test_performance.py .. [
> 59%]
> tests/test_pickling.py . [
> 60%]
> tests/test_popen_spawn.py F.......... [
> 65%]
> tests/test_repr.py ... [
> 66%]
> tests/test_run.py ................. [
> 75%]
> tests/test_screen.py ........... [
> 80%]
> tests/test_socket.py ............. [
> 87%]
> tests/test_timeout_pattern.py ..... [
> 89%]
> tests/test_unicode.py ........... [
> 95%]
> tests/test_which.py ....... [
> 98%]
> tests/test_winsize.py ...
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________ ExpectTestCase.test_bad_arg
> __________________________
>
> self = <tests.test_expect.ExpectTestCase testMethod=test_bad_arg>
>
> def test_bad_arg(self):
> p = pexpect.spawn('cat')
> > with self.assertRaisesRegexp(TypeError, '.*must be one of'):
> E AttributeError: 'ExpectTestCase' object has no attribute
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
>
> tests/test_expect.py:572: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_expect.ExpectTestCase.test_bad_arg
> _______________ TestCaseMisc.test_bad_arguments_suggest_fdpsawn
> ________________
>
> self = <tests.test_misc.TestCaseMisc
> testMethod=test_bad_arguments_suggest_fdpsawn>
>
> def test_bad_arguments_suggest_fdpsawn(self):
> " assert custom exception for spawn(int). "
> expect_errmsg = "maybe you want to use fdpexpect.fdspawn"
> > with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
> ".*" + expect_errmsg):
> E AttributeError: 'TestCaseMisc' object
> has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
>
> tests/test_misc.py:227: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_misc.TestCaseMisc.test_bad_arguments_suggest_fdpsawn
> _______________________ TestCaseMisc.test_bad_child_pid
> ________________________
>
> self = <tests.test_misc.TestCaseMisc testMethod=test_bad_child_pid>
>
> def test_bad_child_pid(self):
> " assert bad condition error in isalive(). "
> expect_errmsg = re.escape("isalive() encountered condition where ")
> child = pexpect.spawn('cat')
> child.terminate(force=1)
> # Force an invalid state to test isalive
> child.ptyproc.terminated = 0
> try:
> > with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
> ".*" + expect_errmsg):
> E AttributeError: 'TestCaseMisc'
> object has no attribute 'assertRaisesRegexp'. Did you mean:
> 'assertRaisesRegex'?
>
> tests/test_misc.py:217: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_misc.TestCaseMisc.test_bad_child_pid
> _________________________ ExpectTestCase.test_bad_arg
> __________________________
>
> self = <tests.test_popen_spawn.ExpectTestCase testMethod=test_bad_arg>
>
> def test_bad_arg(self):
> p = PopenSpawn('cat')
> > with self.assertRaisesRegexp(TypeError, '.*must be one of'):
> E AttributeError: 'ExpectTestCase' object has no attribute
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
>
> tests/test_popen_spawn.py:113: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_popen_spawn.ExpectTestCase.test_bad_arg
> =============================== warnings summary
> ===============================
> pexpect/ANSI.py:29
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/pexpect/ANSI.py:29:
> UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend
> using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte
> from . import screen
>
> tests/test_ansi.py:239
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_ansi.py:239:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(ansiTestCase,'test')
>
> tests/test_command_list_split.py:40
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_command_list_split.py:40:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(SplitCommandLineTestCase,'test')
>
> tests/test_constructor.py:47
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_constructor.py:47:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseConstructor,'test')
>
> tests/test_ctrl_chars.py:127
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_ctrl_chars.py:127:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCtrlChars,'test')
>
> tests/test_destructor.py:83
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_destructor.py:83:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseDestructor,'test')
>
> tests/test_dotall.py:42
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_dotall.py:42:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseDotall,'test')
>
> tests/test_expect.py:643
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_expect.py:643:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_filedescriptor.py:72
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_filedescriptor.py:72:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_interact.py:100
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_interact.py:100:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(InteractTestCase, 'test')
>
> tests/test_isalive.py:124
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_isalive.py:124:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(IsAliveTestCase, 'test')
>
> tests/test_log.py:107
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_log.py:107:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(TestCaseLog,'test')
>
> tests/test_misc.py:373
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_misc.py:373:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(TestCaseMisc,'test')
>
> tests/test_missing_command.py:37
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_missing_command.py:37:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(MissingCommandTestCase,'test')
>
> tests/test_performance.py:113
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_performance.py:113:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(PerformanceTestCase,'test')
>
> tests/test_popen_spawn.py:139
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_popen_spawn.py:139:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_screen.py:285
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_screen.py:285:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(screenTestCase,'test')
>
> tests/test_socket.py:280
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_socket.py:280:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_timeout_pattern.py:92
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_timeout_pattern.py:92:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(Exp_TimeoutTestCase,'test')
>
> tests/test_unicode.py:187
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_unicode.py:187:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(UnicodeTests, 'test')
>
> tests/test_winsize.py:58
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_winsize.py:58:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseWinsize,'test')
>
> .pybuild/cpython3_3.12_pexpect/build/tests/test_async.py::AsyncTests::test_async_and_gc
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/tests/test_async.py:15:
> DeprecationWarning: There is no current event loop
> return asyncio.get_event_loop().run_until_complete(coro)
>
> .pybuild/cpython3_3.12_pexpect/build/tests/test_popen_spawn.py: 12 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build/pexpect/popen_spawn.py:60:
> DeprecationWarning: setDaemon() is deprecated, set the daemon attribute
> instead
> self._read_thread.setDaemon(True)
>
> .pybuild/cpython3_3.12_pexpect/build/tests/test_repr.py: 2 warnings
> .pybuild/cpython3_3.12_pexpect/build/tests/test_run.py: 17 warnings
> .pybuild/cpython3_3.12_pexpect/build/tests/test_timeout_pattern.py: 4 warnings
> .pybuild/cpython3_3.12_pexpect/build/tests/test_unicode.py: 11 warnings
> .pybuild/cpython3_3.12_pexpect/build/tests/test_winsize.py: 3 warnings
> /usr/lib/python3.12/pty.py:95: DeprecationWarning: This process
> (pid=3561635) is multi-threaded, use of forkpty() may lead to deadlocks in
> the child.
> pid, fd = os.forkpty()
>
> .pybuild/cpython3_3.12_pexpect/build/tests/test_socket.py: 15 warnings
> /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning:
> This process (pid=3561635) is multi-threaded, use of fork() may lead to
> deadlocks in the child.
> self.pid = os.fork()
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_expect.py::ExpectTestCase::test_bad_arg - AttributeError:
> '...
> FAILED tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn
> FAILED tests/test_misc.py::TestCaseMisc::test_bad_child_pid -
> AttributeError:...
> FAILED tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg -
> AttributeErr...
> ==== 4 failed, 199 passed, 31 deselected, 86 warnings in 160.60s (0:02:40)
> =====
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pexpect/build; python3.12 -m pytest
> -k 'not (pxssh or replwrap or test_before_across_chunks or
> test_spawn_uses_env)'
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build; python3.11 -m pytest
> -k 'not (pxssh or replwrap or test_before_across_chunks or
> test_spawn_uses_env)'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 234 items / 31 deselected / 203 selected
>
> tests/test_FSM.py . [
> 0%]
> tests/test_ansi.py ......... [
> 4%]
> tests/test_async.py ....... [
> 8%]
> tests/test_command_list_split.py . [
> 8%]
> tests/test_constructor.py .. [
> 9%]
> tests/test_ctrl_chars.py ..... [
> 12%]
> tests/test_delay.py .. [
> 13%]
> tests/test_destructor.py . [
> 13%]
> tests/test_dotall.py .. [
> 14%]
> tests/test_env.py ... [
> 16%]
> tests/test_expect.py .................................. [
> 33%]
> tests/test_filedescriptor.py ..... [
> 35%]
> tests/test_interact.py ... [
> 36%]
> tests/test_isalive.py ......... [
> 41%]
> tests/test_log.py .... [
> 43%]
> tests/test_misc.py .............................. [
> 58%]
> tests/test_missing_command.py . [
> 58%]
> tests/test_performance.py .. [
> 59%]
> tests/test_pickling.py . [
> 60%]
> tests/test_popen_spawn.py ........... [
> 65%]
> tests/test_repr.py ... [
> 66%]
> tests/test_run.py ................. [
> 75%]
> tests/test_screen.py ........... [
> 80%]
> tests/test_socket.py ............. [
> 87%]
> tests/test_timeout_pattern.py ..... [
> 89%]
> tests/test_unicode.py ........... [
> 95%]
> tests/test_which.py ....... [
> 98%]
> tests/test_winsize.py ...
> [100%]
>
> =============================== warnings summary
> ===============================
> pexpect/ANSI.py:29
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect/ANSI.py:29:
> UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend
> using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte
> from . import screen
>
> tests/test_ansi.py:239
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_ansi.py:239:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(ansiTestCase,'test')
>
> tests/test_command_list_split.py:40
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_command_list_split.py:40:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(SplitCommandLineTestCase,'test')
>
> tests/test_constructor.py:47
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_constructor.py:47:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseConstructor,'test')
>
> tests/test_ctrl_chars.py:127
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_ctrl_chars.py:127:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCtrlChars,'test')
>
> tests/test_destructor.py:83
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_destructor.py:83:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseDestructor,'test')
>
> tests/test_dotall.py:42
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_dotall.py:42:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseDotall,'test')
>
> tests/test_expect.py:643
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py:643:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_filedescriptor.py:72
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_filedescriptor.py:72:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_interact.py:100
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_interact.py:100:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(InteractTestCase, 'test')
>
> tests/test_isalive.py:124
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_isalive.py:124:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(IsAliveTestCase, 'test')
>
> tests/test_log.py:107
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_log.py:107:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(TestCaseLog,'test')
>
> tests/test_misc.py:373
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_misc.py:373:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
> Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
> suite = unittest.makeSuite(TestCaseMisc,'test')
>
> tests/test_missing_command.py:37
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_missing_command.py:37:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(MissingCommandTestCase,'test')
>
> tests/test_performance.py:113
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_performance.py:113:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(PerformanceTestCase,'test')
>
> tests/test_popen_spawn.py:139
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py:139:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_screen.py:285
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_screen.py:285:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(screenTestCase,'test')
>
> tests/test_socket.py:280
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_socket.py:280:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(ExpectTestCase, 'test')
>
> tests/test_timeout_pattern.py:92
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_timeout_pattern.py:92:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(Exp_TimeoutTestCase,'test')
>
> tests/test_unicode.py:187
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_unicode.py:187:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(UnicodeTests, 'test')
>
> tests/test_winsize.py:58
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_winsize.py:58:
> DeprecationWarning: unittest.makeSuite() is deprecated and will be removed
> in Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase()
> instead.
> suite = unittest.makeSuite(TestCaseWinsize,'test')
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py:572:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py:574:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py:576:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_expect.py:578:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_misc.py:227:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_misc.py::TestCaseMisc::test_bad_child_pid
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_misc.py:217:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py: 12 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect/popen_spawn.py:60:
> DeprecationWarning: setDaemon() is deprecated, set the daemon attribute
> instead
> self._read_thread.setDaemon(True)
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py:113:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py:115:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py:117:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/tests/test_popen_spawn.py:119:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ========= 203 passed, 31 deselected, 43 warnings in 161.53s (0:02:41)
> ==========
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/pexpect_4.8.0-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.