[Python-modules-team] Bug#961242: python-django-crispy-forms: Not compatible with Django 3.x

Chris Lamb lamby at debian.org
Thu May 21 22:11:16 BST 2020


Source: python-django-crispy-forms
Version: 1.7.2-2
Severity: normal
User: python-modules-team at lists.alioth.debian.org
Usertags: django-3.x
Control: affects -1 django-filter

Dear maintainer,

The version of Django experimental is currently 3.0.6-1. I have built
the 153 reverse-dependencies in unstable against this version and 114
of these build & pass their testsuite successfully. For more
information, see:

    http://bugs.debian.org/960890

Please use the above bug report for queries or questions regarding
Django 3.x that are not specific to this particular package in order
to reduce duplicated work across all of the bugs.

Whilst python-django-crispy-forms itself builds from source, it causes
other packages (eg. django-filter) to FTBFS.

Here is the FTBFS from django-filter:

  […]

  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20200517001459.aCZ5FBFbhk.ags.lamby-debian-experimental.python3-django-filters/django-filter-2.1.0/tests/test_views.py", line 56, in test_view_with_model_no_filterset
      self.assertContains(response, b)
    File "/usr/lib/python3/dist-packages/django/test/testcases.py", line 454, in assertContains
      self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr)
  AssertionError: False is not true : Couldn't find 'Ender's Game' in response
  
  ======================================================================
  FAIL: test_view (tests.test_views.GenericFunctionalViewTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20200517001459.aCZ5FBFbhk.ags.lamby-debian-experimental.python3-django-filters/django-filter-2.1.0/tests/test_views.py", line 146, in test_view
      self.assertContains(response, b)
    File "/usr/lib/python3/dist-packages/django/test/testcases.py", line 454, in assertContains
      self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr)
  AssertionError: False is not true : Couldn't find 'Ender's Game' in response
  
  ----------------------------------------------------------------------
  Ran 487 tests in 0.688s
  
  FAILED (failures=5, errors=1, skipped=14, expected failures=3)
  Destroying test database for alias 'default'...
  System check identified no issues (0 silenced).
  E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: python3.8 ./runtests.py
  dh_auto_test: error: pybuild --test -i python{version} -p 3.8 --system=custom "--test-args={interpreter} ./runtests.py" returned exit code 13
  make[1]: *** [debian/rules:21: override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20200517001459.aCZ5FBFbhk.ags.lamby-debian-experimental.python3-django-filters/django-filter-2.1.0'
  make: *** [debian/rules:7: 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-filter.2.1.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3382 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200521/390a8346/attachment.obj>


More information about the Python-modules-team mailing list