[Python-modules-team] Bug#852512: python-django: Please avoid accessing the internet for intersphinx mapping

Chris Lamb lamby at debian.org
Wed Jan 25 01:30:10 UTC 2017


Package: python-django
Version: 1:1.10.5-1
Severity: wishlist
User: lamby at debian.org
Usertags: network-access

Hi,

  $ grep "loading intersphinx" python-django_1.11\~alpha1-1_amd64.build
  loading intersphinx inventory from https://docs.python.org/3/objects.inv...
  loading intersphinx inventory from http://initd.org/psycopg/docs/objects.inv...
  loading intersphinx inventory from https://django-formtools.readthedocs.io/en/latest/objects.inv...
  loading intersphinx inventory from https://pythonhosted.org/six/objects.inv...
  loading intersphinx inventory from http://sphinx-doc.org/objects.inv...

(Okay, that's technically from 1.11~alpha1 (awaiting upload) rather than
1:1.10.5-1, but it's likely the same)

This is caused by:

   intersphinx_mapping = {
      'python': ('https://docs.python.org/3/', None),
      'sphinx': ('http://sphinx-doc.org/', None),
      'six': ('https://pythonhosted.org/six/', None),
      'formtools': ('https://django-formtools.readthedocs.io/en/latest/', None),
      'psycopg2': ('http://initd.org/psycopg/docs/', None),
  }

in docs/conf.py. To fix, see #830186, especially something like:

  http://sources.debian.net/src/psycopg2/2.6.2-1/debian/patches/local_inventory/

Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Python-modules-team mailing list