[Freedombox-pkg-team] Bug#880833: django-axes: FTBFS with python3-django in experimental

Chris Lamb lamby at debian.org
Sat Nov 4 23:04:29 UTC 2017


Source: django-axes
Version: 2.3.3-1
Severity: normal
User: lamby at debian.org
Usertags: ftbfs-django-2.x

Dear Maintainer,

django-axes fails to build from source when using python3-django
(ie. Django 2.x) from experimental:

  […]

     debian/rules override_dh_auto_test
  make[1]: Entering directory '«BUILDDIR»'
  python3 runtests.py
  E
  ======================================================================
  ERROR: tests (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: tests
  Traceback (most recent call last):
    File "/usr/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
      module = __import__(module_name)
    File "«BUILDDIR»/axes/tests.py", line 13, in <module>
      from django.core.urlresolvers import NoReverseMatch
  ModuleNotFoundError: No module named 'django.core.urlresolvers'
  
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.000s
  
  FAILED (errors=1)
  Creating test database for alias 'default'...
  System check identified no issues (0 silenced).
  Destroying test database for alias 'default'...
  debian/rules:21: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: django-axes.2.3.3-1.experimental.amd64.log.txt.gz
Type: application/octet-stream
Size: 3322 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freedombox-pkg-team/attachments/20171104/e4a9f3e7/attachment.obj>


More information about the Freedombox-pkg-team mailing list