Bug#1009391: pytango: FTBFS: TypeError: entry_points() got an unexpected keyword argument 'group'

Lucas Nussbaum lucas at debian.org
Tue Apr 12 19:44:57 BST 2022


Source: pytango
Version: 9.3.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 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 -- -s custom --build-args="PYTHONPATH={build_dir} {interpreter} -m sphinx -N -bhtml doc build/html"
> I: pybuild base:239: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tango/build python3.9 -m sphinx -N -bhtml doc build/html
> Running Sphinx v4.5.0
> Mocking tango._tango extension module
> Building documentation for PyTango 9.3.3
> Using PyTango from: /<<PKGBUILDDIR>>/tango
> making output directory... done
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/theming.py", line 199, in load_external_theme
>     theme_entry_points = entry_points(group='sphinx.html_themes')
> TypeError: entry_points() got an unexpected keyword argument 'group'
> The full traceback has been saved in /tmp/sphinx-err-frm2k8yi.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!
> E: pybuild pybuild:369: build: plugin custom failed with: exit code=2: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_tango/build python3.9 -m sphinx -N -bhtml doc build/html
> I: pybuild base:239: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tango/build python3.10 -m sphinx -N -bhtml doc build/html
> Running Sphinx v4.5.0
> Mocking tango._tango extension module
> Building documentation for PyTango 9.3.3
> Using PyTango from: /<<PKGBUILDDIR>>/tango
> loading intersphinx inventory from http://docs.python.org/dev/objects.inv...
> loading intersphinx inventory from http://docs.scipy.org/doc/scipy/reference/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.scipy.org/doc/scipy/reference/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/scipy/reference/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae71840>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from http://ipython.org/ipython-doc/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 0x7f003ae72860>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from http://api.mongodb.org/python/current/objects.inv...
> loading intersphinx inventory from http://couchdb-python.readthedocs.io/en/latest/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/dev/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/dev/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae71f60>: 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://ipython.org/ipython-doc/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://ipython.org/ipython-doc/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae73580>: 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://api.mongodb.org/python/current/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://api.mongodb.org/python/current/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae70640>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from http://pycassa.github.io/pycassa/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://couchdb-python.readthedocs.io/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://couchdb-python.readthedocs.io/en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae71cf0>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from http://docs.sqlalchemy.org/en/latest/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://pycassa.github.io/pycassa/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://pycassa.github.io/pycassa/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f003ae70910>: 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.sqlalchemy.org/en/latest/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.sqlalchemy.org/en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0039cc80d0>: 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 42 source files that are out of date
> updating environment: [new config] 42 added, 0 changed, 0 removed
> reading sources... [  2%] api
> reading sources... [  4%] client_api/attribute_proxy
> reading sources... [  7%] client_api/device_proxy
> reading sources... [  9%] client_api/green
> reading sources... [ 11%] client_api/group
> reading sources... [ 14%] client_api/index
> reading sources... [ 16%] client_api/miscellaneous
> reading sources... [ 19%] client_api/other
> reading sources... [ 21%] contents
> reading sources... [ 23%] data_types
> reading sources... [ 26%] database
> reading sources... [ 28%] encoded
> reading sources... [ 30%] exception
> reading sources... [ 33%] faq
> reading sources... [ 35%] green_modes/client_asyncio_mode
> reading sources... [ 38%] green_modes/client_futures_mode
> reading sources... [ 40%] green_modes/client_gevent_mode
> reading sources... [ 42%] green_modes/green
> reading sources... [ 45%] green_modes/green_modes_client
> reading sources... [ 47%] green_modes/green_modes_server
> reading sources... [ 50%] how-to-contribute
> reading sources... [ 52%] howto
> reading sources... [ 54%] indexes
> reading sources... [ 57%] itango
> reading sources... [ 59%] quicktour
> reading sources... [ 61%] revision
> reading sources... [ 64%] server_api/attribute
> reading sources... [ 66%] server_api/device
> reading sources... [ 69%] server_api/device_class
> reading sources... [ 71%] server_api/index
> reading sources... [ 73%] server_api/logging
> reading sources... [ 76%] server_api/server
> reading sources... [ 78%] server_api/util
> reading sources... [ 80%] start
> reading sources... [ 83%] tep
> reading sources... [ 85%] tep/tep-0001
> reading sources... [ 88%] tep/tep-0002
> reading sources... [ 90%] testing
> reading sources... [ 92%] testing/mocks
> reading sources... [ 95%] testing/test_context
> reading sources... [ 97%] testing/testing_approaches
> reading sources... [100%] utilities
> 
> /usr/lib/python3.10/unittest/mock.py:docstring of tango.DbDevExportInfo:1: WARNING: duplicate object description of tango.DbDevExportInfo, other instance in database, use :noindex: for one of them
> /usr/lib/python3.10/unittest/mock.py:docstring of tango.DbDevExportInfo:1: WARNING: duplicate object description of unittest.mock.DbDevExportInfo, other instance in database, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  2%] api
> writing output... [  4%] client_api/attribute_proxy
> writing output... [  7%] client_api/device_proxy
> writing output... [  9%] client_api/green
> writing output... [ 11%] client_api/group
> writing output... [ 14%] client_api/index
> writing output... [ 16%] client_api/miscellaneous
> writing output... [ 19%] client_api/other
> writing output... [ 21%] contents
> writing output... [ 23%] data_types
> writing output... [ 26%] database
> writing output... [ 28%] encoded
> writing output... [ 30%] exception
> writing output... [ 33%] faq
> writing output... [ 35%] green_modes/client_asyncio_mode
> writing output... [ 38%] green_modes/client_futures_mode
> writing output... [ 40%] green_modes/client_gevent_mode
> writing output... [ 42%] green_modes/green
> writing output... [ 45%] green_modes/green_modes_client
> writing output... [ 47%] green_modes/green_modes_server
> writing output... [ 50%] how-to-contribute
> writing output... [ 52%] howto
> writing output... [ 54%] indexes
> writing output... [ 57%] itango
> writing output... [ 59%] quicktour
> writing output... [ 61%] revision
> writing output... [ 64%] server_api/attribute
> writing output... [ 66%] server_api/device
> writing output... [ 69%] server_api/device_class
> writing output... [ 71%] server_api/index
> writing output... [ 73%] server_api/logging
> writing output... [ 76%] server_api/server
> writing output... [ 78%] server_api/util
> writing output... [ 80%] start
> writing output... [ 83%] tep
> writing output... [ 85%] tep/tep-0001
> writing output... [ 88%] tep/tep-0002
> writing output... [ 90%] testing
> writing output... [ 92%] testing/mocks
> writing output... [ 95%] testing/test_context
> writing output... [ 97%] testing/testing_approaches
> writing output... [100%] utilities
> 
> /<<PKGBUILDDIR>>/doc/tep/tep-0002.rst:66: WARNING: undefined label: persistence
> generating indices... genindex py-modindex done
> writing additional pages... index search done
> copying images... [  8%] _static/itango00.png
> copying images... [ 16%] _static/jive_powersupply.png
> copying images... [ 25%] _static/mocking-tango-test-doubles.png
> copying images... [ 33%] _static/mocking-tango-db-access.png
> copying images... [ 41%] _static/mocking-tango-db-access-crossed-out.png
> copying images... [ 50%] _static/mocking-tango-test-case-not-mocked.png
> copying images... [ 58%] _static/mocking-tango-test-case-real-vs-mocked.png
> copying images... [ 66%] _static/testing-approaches-real-facility.png
> copying images... [ 75%] _static/testing-approaches-device-test-context.png
> copying images... [ 83%] _static/testing-approaches-hybrid.png
> copying images... [ 91%] _static/testing-approaches-device-test-context-x2.png
> copying images... [100%] _static/testing-approaches-multi-device-test-context.png
> 
> copying downloadable files... [ 50%] tep/DataBase.xmi
> copying downloadable files... [100%] tep/database.py
> 
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 11 warnings.
> 
> The HTML pages are in build/html.
> dh_auto_build: error: pybuild --build -i python{version} -p "3.9 3.10" -s custom "--build-args=PYTHONPATH={build_dir} {interpreter} -m sphinx -N -bhtml doc build/html" returned exit code 13
> make[1]: *** [debian/rules:14: execute_after_dh_auto_build-indep] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/pytango_9.3.3-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&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 marking 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.



More information about the debian-science-maintainers mailing list