Bug#1058450: pexpect: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

2024-01-29 Thread Yogeswaran Umasankar

Hi,

I have updated pexpect [0] to new upstream and worked on a fix for build
issue with Python 3.12.

[0] https://salsa.debian.org/python-team/packages/pexpect

Thank you,
Yogeswaran.



Bug#1058450: pexpect: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

2023-12-12 Thread Lucas Nussbaum
Source: pexpect
Version: 4.8.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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 '/<>'
> 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 = {'': 
> ('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 : 
> 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(' 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
> reading sources... [  8%] FAQ
> reading sources... [ 15%] api/fdpexpect
> reading sources... [ 23%] api/index
> reading sources... [ 31%] api/pexpect
> reading sources... [ 38%] api/popen_spawn
> reading sources... [ 46%] api/pxssh
> reading sources... [ 54%] api/replwrap
> reading sources... [ 62%] commonissues
> reading sources... [ 69%] examples
> reading sources... [ 77%] history
> reading sources... [ 85%] index
> reading sources... [ 92%] install
> reading sources... [100%] overview
> 
> /<>/doc/api/pexpect.rst:46: WARNING: duplicate object 
> description of pexpect.spawn, other instance in api/pexpect, use :no-index: 
> for one of them
> /<>/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
> writing output... [  8%] FAQ
> writing output... [ 15%] api/fdpexpect
> writing output... [ 23%] api/index
> writing output... [ 31%] api/pexpect
> writing output... [ 38%] api/popen_spawn
> writing output... [ 46%] api/pxssh
> writing output... [ 54%] api/replwrap
> writing output... [ 62%] commonissues
> writing output... [ 69%] examples
> writing output... [ 77%] history
> writing output... [ 85%] index
> writing output... [ 92%] install
> writing output... [100%] overview
> 
> /<>/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
> /<>/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
> /<>/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
> highlighting module code... [ 12%] pexpect.exceptions
> highlighting module code... [ 25%] pexpect.fdpexpect
> highlighting module code... [ 38%] 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... [ 88%] pexpect.run
> highlighting 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 '/<>'
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<>/.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)'