[Debian-med-packaging] Bug#964640: patsy: FTBFS: RuntimeError: Non Expected warning in `/<<PKGBUILDDIR>>/doc/spline-regression.rst` line 205

Lucas Nussbaum lucas at debian.org
Thu Jul 9 12:27:17 BST 2020


Source: patsy
Version: 0.5.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v2.4.3
> WARNING: Support for evaluating Python 2 syntax is deprecated and will be removed in Sphinx 4.0. Convert /<<PKGBUILDDIR>>/doc/conf.py to Python 3 syntax.
> python exec: /usr/bin/python3
> sys.path: ['/usr/share/sphinx/scripts/python3', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages']
> numpy: 1.19.0, /usr/lib/python3/dist-packages/numpy/__init__.py
> matplotlib: 3.2.2, /usr/lib/python3/dist-packages/matplotlib/__init__.py
> ipython: 7.16.1, /usr/lib/python3/dist-packages/IPython/__init__.py
> making output directory... done
> loading intersphinx inventory from http://docs.python.org/objects.inv...
> loading intersphinx inventory from http://docs.scipy.org/doc/numpy/objects.inv...
> loading intersphinx inventory from http://pandas.pydata.org/pandas-docs/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.scipy.org/doc/numpy/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.scipy.org/doc/numpy/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7411457490>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/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/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7411457070>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://pandas.pydata.org/pandas-docs/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://pandas.pydata.org/pandas-docs/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7411457880>: 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 14 source files that are out of date
> updating environment: [new config] 14 added, 0 changed, 0 removed
> reading sources... [  7%] API-reference
> reading sources... [ 14%] R-comparison
> reading sources... [ 21%] builtins-reference
> reading sources... [ 28%] categorical-coding
> reading sources... [ 35%] changes
> reading sources... [ 42%] expert-model-specification
> reading sources... [ 50%] formulas
> reading sources... [ 57%] index
> reading sources... [ 64%] library-developers
> reading sources... [ 71%] overview
> reading sources... [ 78%] py2-versus-py3
> reading sources... [ 85%] quickstart
> reading sources... [ 92%] spline-regression
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/IPython/sphinxext/ipython_directive.py", line 586, in process_input
>     raise RuntimeError('Non Expected warning in `{}` line {}'.format(filename, lineno))
> RuntimeError: Non Expected warning in `/<<PKGBUILDDIR>>/doc/spline-regression.rst` line 205
> The full traceback has been saved in /tmp/sphinx-err-9vjsafgr.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> 
> 
> >>>-------------------------------------------------------------------------
> Warning in /<<PKGBUILDDIR>>/doc/spline-regression.rst at block ending on line 205
> Specify :okwarning: as an option in the ipython:: block to suppress this message
> ----------------------------------------------------------------------------
> /usr/lib/python3/dist-packages/numpy/core/_asarray.py:136: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
>   return array(a, dtype, copy=False, order=order, subok=True)
> <<<-------------------------------------------------------------------------
> make[2]: *** [Makefile:33: html] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/patsy_0.5.1-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list