--- Begin Message ---
Source: pexpect
Version: 4.8.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221220 ftbfs-bookworm
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:240: /usr/bin/python3.11 setup.py build
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> from distutils.core import setup
> /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'install_requires'
> warnings.warn(msg)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/ANSI.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/fdpexpect.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/spawnbase.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/popen_spawn.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/screen.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/replwrap.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/_async.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/pxssh.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/pty_spawn.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/expect.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/FSM.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> copying pexpect/bashrc.sh ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pexpect/build/pexpect
> I: pybuild base:240: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils package is
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP
> 632 for potential alternatives
> from distutils.core import setup
> /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution
> option: 'install_requires'
> warnings.warn(msg)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/ANSI.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/fdpexpect.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/spawnbase.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/popen_spawn.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/screen.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/replwrap.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/_async.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/pxssh.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/pty_spawn.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/expect.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/FSM.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> copying pexpect/bashrc.sh ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/
> build/html
> Running Sphinx v5.3.0
> Initializing GitHub plugin
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> 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
> 0x7f07be8a79a0>: Failed to establish a new connection: [Errno 111] Connection
> refused')))
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 13 source files that are out of date
> updating environment: [new config] 13 added, 0 changed, 0 removed
> reading sources... [ 7%] FAQ
> reading sources... [ 15%] api/fdpexpect
> reading sources... [ 23%] api/index
> reading sources... [ 30%] api/pexpect
> reading sources... [ 38%] api/popen_spawn
> reading sources... [ 46%] api/pxssh
> reading sources... [ 53%] api/replwrap
> reading sources... [ 61%] commonissues
> reading sources... [ 69%] examples
> reading sources... [ 76%] history
> reading sources... [ 84%] index
> reading sources... [ 92%] install
> reading sources... [100%] overview
>
> /<<PKGBUILDDIR>>/doc/api/pexpect.rst:46: WARNING: duplicate object
> description of pexpect.spawn, other instance in api/pexpect, use :noindex:
> 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
> writing output... [ 7%] FAQ
> writing output... [ 15%] api/fdpexpect
> writing output... [ 23%] api/index
> writing output... [ 30%] api/pexpect
> writing output... [ 38%] api/popen_spawn
> writing output... [ 46%] api/pxssh
> writing output... [ 53%] api/replwrap
> writing output... [ 61%] commonissues
> writing output... [ 69%] examples
> writing output... [ 76%] history
> writing output... [ 84%] index
> writing output... [ 92%] install
> writing output... [100%] overview
>
> /<<PKGBUILDDIR>>/pexpect/pxssh.py:docstring of
> pexpect.pxssh.pxssh.__init__:37: 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__:44: 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__:44: 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
> highlighting module code... [ 12%] pexpect.exceptions
> highlighting module code... [ 25%] pexpect.fdpexpect
> highlighting module code... [ 37%] pexpect.popen_spawn
> highlighting module code... [ 50%] pexpect.pty_spawn
> highlighting module code... [ 62%] pexpect.pxssh
> highlighting module code... [ 75%] pexpect.replwrap
> highlighting module code... [ 87%] pexpect.run
> highlighting module code... [100%] pexpect.utils
>
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 7 warnings.
>
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: 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.1, pytest-7.2.0, pluggy-1.0.0+repack
> 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 FFFFFFF [
> 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%]
>
> =================================== FAILURES
> ===================================
> _________________________ AsyncTests.test_async_and_gc
> _________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_async_and_gc>
>
> def test_async_and_gc(self):
> p = pexpect.spawn('%s sleep_for.py 1' % self.PYTHONBIN,
> encoding='utf8')
> > assert run(p.expect_exact(u'READY', async_=True)) == 0
>
> tests/test_async.py:63:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:418: in expect_exact
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_async_and_gc
> ________________________ AsyncTests.test_async_and_sync
> ________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_async_and_sync>
>
> def test_async_and_sync(self):
> p = pexpect.spawn('echo 1234', encoding='utf8', maxread=1)
> > assert run(p.expect_exact(u'1', async_=True)) == 0
>
> tests/test_async.py:69:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:418: in expect_exact
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_async_and_sync
> __________________________ AsyncTests.test_async_utf8
> __________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_async_utf8>
>
> def test_async_utf8(self):
> p = pexpect.spawn('%s list100.py' % self.PYTHONBIN, encoding='utf8')
> > assert run(p.expect_exact(u'5', async_=True)) == 0
>
> tests/test_async.py:57:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:418: in expect_exact
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_async_utf8
> _____________________________ AsyncTests.test_eof
> ______________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_eof>
>
> def test_eof(self):
> p = pexpect.spawn('cat')
> p.sendline('Hi')
> > coro = p.expect(pexpect.EOF, async_=True)
>
> tests/test_async.py:39:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:343: in expect
> return self.expect_list(compiled_pattern_list,
> pexpect/spawnbase.py:369: in expect_list
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_eof
> _________________________ AsyncTests.test_expect_exact
> _________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_expect_exact>
>
> def test_expect_exact(self):
> p = pexpect.spawn('%s list100.py' % self.PYTHONBIN)
> > assert run(p.expect_exact(b'5', async_=True)) == 0
>
> tests/test_async.py:51:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:418: in expect_exact
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_expect_exact
> ________________________ AsyncTests.test_simple_expect
> _________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_simple_expect>
>
> def test_simple_expect(self):
> p = pexpect.spawn('cat')
> p.sendline('Hello asyncio')
> > coro = p.expect(['Hello', pexpect.EOF] , async_=True)
>
> tests/test_async.py:22:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:343: in expect
> return self.expect_list(compiled_pattern_list,
> pexpect/spawnbase.py:369: in expect_list
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_simple_expect
> ___________________________ AsyncTests.test_timeout
> ____________________________
>
> self = <tests.test_async.AsyncTests testMethod=test_timeout>
>
> def test_timeout(self):
> p = pexpect.spawn('cat')
> > coro = p.expect('foo', timeout=1, async_=True)
>
> tests/test_async.py:28:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pexpect/spawnbase.py:343: in expect
> return self.expect_list(compiled_pattern_list,
> pexpect/spawnbase.py:369: in expect_list
> from ._async import expect_async
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> import asyncio
> import errno
> import signal
>
> from pexpect import EOF
>
> > @asyncio.coroutine
> E AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> pexpect/_async.py:7: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
>
> tests.test_async.AsyncTests.test_timeout
> =============================== 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
> =========================== short test summary info
> ============================
> FAILED tests/test_async.py::AsyncTests::test_async_and_gc - AttributeError:
> m...
> FAILED tests/test_async.py::AsyncTests::test_async_and_sync -
> AttributeError:...
> FAILED tests/test_async.py::AsyncTests::test_async_utf8 - AttributeError:
> mod...
> FAILED tests/test_async.py::AsyncTests::test_eof - AttributeError: module
> 'as...
> FAILED tests/test_async.py::AsyncTests::test_expect_exact - AttributeError:
> m...
> FAILED tests/test_async.py::AsyncTests::test_simple_expect - AttributeError:
> ...
> FAILED tests/test_async.py::AsyncTests::test_timeout - AttributeError:
> module...
> ==== 7 failed, 196 passed, 31 deselected, 43 warnings in 157.77s (0:02:37)
> =====
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: 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)'
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build; python3.10 -m pytest
> -k 'not (pxssh or replwrap or test_before_across_chunks or
> test_spawn_uses_env)'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> 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.10_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
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_async.py::AsyncTests::test_async_and_gc
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect/_async.py:8:
> DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8,
> use "async def" instead
> def expect_async(expecter, timeout=None):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_async.py::AsyncTests::test_async_and_gc
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect/_async.py:31:
> DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8,
> use "async def" instead
> def repl_run_command_async(repl, cmdlines, timeout=-1):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_async.py::AsyncTests::test_async_and_gc
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_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.10_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py:572:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py:574:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py:576:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_expect.py:578:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_misc.py:227:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_misc.py::TestCaseMisc::test_bad_child_pid
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_misc.py:217:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py: 12 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/pexpect/popen_spawn.py:60:
> DeprecationWarning: setDaemon() is deprecated, set the daemon attribute
> instead
> self._read_thread.setDaemon(True)
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py:113:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py:115:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py:117:
> DeprecationWarning: Please use assertRaisesRegex instead.
> with self.assertRaisesRegexp(TypeError, '.*must be one of'):
>
> .pybuild/cpython3_3.10_pexpect/build/tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_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, 26 warnings in 161.08s (0:02:41)
> ==========
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11
> 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/pexpect_4.8.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&[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.
--- End Message ---