Source: deap
Version: 1.3.1-4
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

deap fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> PYTHONPATH=/<<PKGBUILDDIR>>/../ sphinx-build -b html -d _build/doctrees   . 
> _build/html       
> Running Sphinx v7.1.1
> Matplotlib created a temporary config/cache directory at 
> /tmp/matplotlib-c6de1z4n because the default path 
> (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is 
> highly recommended to set the MPLCONFIGDIR environment variable to a writable 
> directory, in particular to speed up the import of Matplotlib and to better 
> support multiprocessing.
> making output directory... done
> WARNING: favicon file 'deap_orange_icon_32.ico' does not exist
> loading intersphinx inventory from http://docs.python.org/objects.inv...
> loading intersphinx inventory from 
> http://docs.scipy.org/doc/numpy/objects.inv...
> 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 
> 0x7f14fa232590>: 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.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 0x7f14f9c11f10>: 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 43 source files that are out of date
> updating environment: [new config] 43 added, 0 changed, 0 removed
> reading sources... [  2%] about
> reading sources... [  5%] api/algo
> reading sources... [  7%] api/base
> reading sources... [  9%] api/benchmarks
> reading sources... [ 12%] api/creator
> reading sources... [ 14%] api/gp
> reading sources... [ 16%] api/index
> reading sources... [ 19%] api/tools
> reading sources... [ 21%] contributing
> reading sources... [ 23%] examples/bipop_cmaes
> WARNING: autodoc: failed to import module 'algorithms' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.eaSimple' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.eaMuPlusLambda' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.eaMuCommaLambda' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.eaGenerateUpdate' 
> from module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.varAnd' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'algorithms.varOr' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import module 'cma' from module 'deap'; the 
> following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'cma.Strategy' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'cma.StrategyOnePlusLambda' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'cma.StrategyMultiObjective' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.ackley:16: WARNING: Exception occurred in plotting ackley
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/ackley.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 22, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.bohachevsky:16: WARNING: Exception occurred in plotting 
> bohachevsky
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/bohachevsky.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 22, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.griewank:16: WARNING: Exception occurred in plotting griewank
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/griewank.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 21, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.h1:20: WARNING: Exception occurred in plotting h1
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/h1.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 22, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.himmelblau:24: WARNING: Exception occurred in plotting 
> himmelblau
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/himmelblau.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 21, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.rastrigin:16: WARNING: Exception occurred in plotting 
> rastrigin
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/rastrigin.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 20, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.rosenbrock:16: WARNING: Exception occurred in plotting 
> rosenbrock
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/rosenbrock.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 22, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.schaffer:16: WARNING: Exception occurred in plotting schaffer
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/schaffer.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 21, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.schwefel:17: WARNING: Exception occurred in plotting schwefel
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/schwefel.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 21, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/__init__.py:docstring of 
> deap.benchmarks.shekel:17: WARNING: Exception occurred in plotting shekel
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/shekel.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 29, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> /<<PKGBUILDDIR>>/doc/../deap/benchmarks/movingpeaks.py:docstring of 
> deap.benchmarks.movingpeaks.MovingPeaks:50: WARNING: Exception occurred in 
> plotting movingsc1
>  from /<<PKGBUILDDIR>>/doc/code/benchmarks/movingsc1.py:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/matplotlib/sphinxext/plot_directive.py", line 
> 517, in _run_code
>     exec(code, ns)
>   File "<string>", line 27, in <module>
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
> __getattr__
>     raise AttributeError(__former_attrs__[attr])
> AttributeError: module 'numpy' has no attribute 'float'.
> `np.float` was a deprecated alias for the builtin `float`. To avoid this 
> error in existing code, use `float` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.float64` here.
> The aliases was originally deprecated in NumPy 1.20; for more details and 
> guidance see the original release note at:
>     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
> WARNING: autodoc: failed to import module 'gp' from module 'deap'; the 
> following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.PrimitiveTree' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.PrimitiveSet' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.Primitive' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.Terminal' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.Ephemeral' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.compile' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.compileADF' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import class 'gp.PrimitiveSetTyped' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.graph' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.genFull' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.genGrow' from module 'deap'; 
> the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.genHalfAndHalf' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.genRamped' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.cxOnePoint' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.cxOnePointLeafBiased' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.cxSemantic' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutShrink' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutUniform' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutNodeReplacement' from 
> module 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutEphemeral' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutInsert' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> WARNING: autodoc: failed to import function 'gp.mutSemantic' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> /<<PKGBUILDDIR>>/doc/../deap/tools/emo.py:docstring of 
> deap.tools.emo.sortNondominated:14: WARNING: Duplicate explicit target name: 
> "deb2002".
> WARNING: autodoc: failed to import function 'gp.staticLimit' from module 
> 'deap'; the following exception was raised:
> No module named 'tools'
> /<<PKGBUILDDIR>>/deap/tools/emo.py:docstring of 
> deap.tools.emo.sortNondominated:14: WARNING: duplicate citation Deb2002, 
> other instance in /<<PKGBUILDDIR>>/doc/api/tools.rst
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/ext/extlinks.py", line 103, in 
> role
>     title = caption % part
>             ~~~~~~~~^~~~~~
> TypeError: not all arguments converted during string formatting
> The full traceback has been saved in /tmp/sphinx-err-cdfq8v24.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!
> make[2]: *** [Makefile:34: html] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/deap_1.3.1-4_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

Some notable changes in Sphinx 6 and Sphinx 7:

- Sphinx no longer includes jquery.js and underscore.js by default.
  Please use python3-sphinxcontrib.jquery package if you are using a custom
  template and it still needs jquery.

- The setup.py build_sphinx command was removed. Please instead call
  sphinx-build or "python3 -m sphinx" directly.

- For packages using the extlinks extension, the caption should contain
  exactly one "%s" placeholder (if caption is not None).

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: 
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt
[3]: 
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;users=python-modules-t...@lists.alioth.debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&fusertaguser=python-modules-t...@lists.alioth.debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Reply via email to