[Python-modules-team] Bug#800726: django-polymorphic: FTBFS: AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

Chris Lamb lamby at debian.org
Fri Oct 2 23:48:16 UTC 2015


Source: django-polymorphic
Version: 0.7.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

django-polymorphic fails to build from source in unstable/amd64:

  [..]

  Using Python version 3.5.0 from /usr/bin/python3.5
  Using Django version 1.7.9 from /usr/lib/python3/dist-packages/django
  Traceback (most recent call last):
    File "runtests.py", line 55, in <module>
      runtests()
    File "runtests.py", line 52, in runtests
      execute_from_command_line(argv)
    File
    "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
    line 385, in execute_from_command_line
      utility.execute()
    File
    "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
    line 354, in execute
      django.setup()
    File "/usr/lib/python3/dist-packages/django/__init__.py", line 18,
    in setup
      from django.utils.log import configure_logging
    File "/usr/lib/python3/dist-packages/django/utils/log.py", line 13,
    in <module>
      from django.views.debug import ExceptionReporter,
      get_exception_reporter_filter
    File "/usr/lib/python3/dist-packages/django/views/debug.py", line
    10, in <module>
      from django.http import (HttpResponse, HttpResponseServerError,
    File "/usr/lib/python3/dist-packages/django/http/__init__.py", line
    4, in <module>
      from django.http.response import (
    File "/usr/lib/python3/dist-packages/django/http/response.py", line
    13, in <module>
      from django.core.serializers.json import DjangoJSONEncoder
    File
    "/usr/lib/python3/dist-packages/django/core/serializers/__init__.py",
    line 23, in <module>
      from django.core.serializers.base import SerializerDoesNotExist
    File
    "/usr/lib/python3/dist-packages/django/core/serializers/base.py",
    line 6, in <module>
      from django.db import models
    File "/usr/lib/python3/dist-packages/django/db/models/__init__.py",
    line 6, in <module>
      from django.db.models.query import Q, QuerySet, Prefetch  # NOQA
    File "/usr/lib/python3/dist-packages/django/db/models/query.py",
    line 13, in <module>
      from django.db.models.fields import AutoField, Empty
    File
    "/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py",
    line 18, in <module>
      from django import forms
    File "/usr/lib/python3/dist-packages/django/forms/__init__.py", line
    6, in <module>
      from django.forms.fields import *  # NOQA
    File "/usr/lib/python3/dist-packages/django/forms/fields.py", line
    18, in <module>
      from django.forms.utils import from_current_timezone,
      to_current_timezone
    File "/usr/lib/python3/dist-packages/django/forms/utils.py", line
    15, in <module>
      from django.utils.html import format_html, format_html_join,
      escape
    File "/usr/lib/python3/dist-packages/django/utils/html.py", line 16,
    in <module>
      from .html_parser import HTMLParser, HTMLParseError
    File "/usr/lib/python3/dist-packages/django/utils/html_parser.py",
    line 12, in <module>
      HTMLParseError = _html_parser.HTMLParseError
  AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
  debian/rules:17: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/django-polymorphic-0.7.1'
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/django-polymorphic_0.7.1-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: django-polymorphic.0.7.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151003/5fced7a6/attachment-0001.txt>


More information about the Python-modules-team mailing list