Source: python-django-modelcluster
Version: 5.2-1
Severity: serious
Control: found -1 python-django-modelcluster/5.2-1
Dear Maintainer,
the autopkgtesting is failing since the upload of python3-django-taggit
2.0.0-1 but was working with versions of python3-django-taggit less than
this version.
The relevant part from the autopkgtest is:
System check identified 25 issues (0 silenced).
................................................................ss.....................................................................E....x...
======================================================================
ERROR: test_can_access_tags_on_unsaved_instance (tests.tests.test_tag.TagTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.4wu0r9tw/downtmp/autopkgtest_tmp/tests/tests/test_tag.py",
line 40, in test_can_access_tags_on_unsaved_instance
mission_burrito.tags.set('mexican', 'burrito')
File "/usr/lib/python3/dist-packages/taggit/utils.py", line 124, in inner
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/modelcluster/contrib/taggit.py", line
78, in set
return super(_ClusterTaggableManager, self).set(*tags, clear=True)
File "/usr/lib/python3/dist-packages/taggit/utils.py", line 124, in inner
return func(self, *args, **kwargs)
TypeError: set() takes 2 positional arguments but 3 were given
----------------------------------------------------------------------
The full log (for amd64) can be found here;:
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-django-modelcluster/17044291/log.gz
>From the changelog of django-taggit 2.0.0 I guess that the current
autopkgtest is breaking due a backwards incompatibility (hence that's
the main reason the version was bumped to 2.0.0).
https://github.com/jazzband/django-taggit/blob/2.0.0/CHANGELOG.rst#200-2021-11-14
I think python-django-modelcluster will need some adjustments to work
proper with the recent version of django-taggit, or at least an
adjustments of the used autopktest.
Regards
Carsten
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.14.0-4-amd64 (SMP w/6 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled