[Python-modules-team] Bug#830554: musicbrainzngs: accesses the internet during build

Johannes Dewender debian at JonnyJD.net
Thu Jul 21 13:39:45 UTC 2016


Tracked upstream in
https://github.com/alastair/python-musicbrainzngs/issues/201

However, this is rather a debian packaging issue than an issue upstream.

The internet access is needed for the docs (sphinx/intersphinx)
see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830186

The solution for debian is to either not build the documentation, which
is available online anyways
http://python-musicbrainzngs.readthedocs.io/
or patch the documentation build files to either not use intersphinx
or to not use the discid mapping.
This would be done here:
https://github.com/alastair/python-musicbrainzngs/blob/master/docs/conf.py#L99

I am not sure ATM why the python and python2 mappings don't need
internet access, but that might also be a debian patch in sphinx or
similar. I didn't follow #830186 and related patches closely.


Regards
JonnyJD


PS:
It would be technically possible for sphinx to not make any web requests
during build when package/class lists are provided in the build files
(like for javadoc linkoffline).



More information about the Python-modules-team mailing list