Source: python-django-modelcluster
Version: 5.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} 
> ./runtests.py"
> I: pybuild pybuild:286: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/runtests.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-modelcluster/build
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-modelcluster/build; python3.10 
> ./runtests.py
> Creating test database for alias 'default'...
> System check identified some issues:
> 
> WARNINGS:
> tests.Album: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Article: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Author: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Band: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.BandMember: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Category: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Chef: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Dish: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Document: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Gallery: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.GalleryImage: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.House: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Log: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.MenuItem: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.NewsPaper: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.NonClusterPlace: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Person: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Place: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Review: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Room: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Song: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedArticle: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedNonClusterPlace: (models.W042) Auto-created primary key used when 
> not defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedPlace: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Wine: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> 
> 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 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-modelcluster/build/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 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-modelcluster/build/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: _TaggableManager.set() takes 2 positional arguments but 3 were 
> given
> 
> ----------------------------------------------------------------------
> Ran 144 tests in 0.621s
> 
> FAILED (errors=1, skipped=2, expected failures=1)
> Destroying test database for alias 'default'...
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-modelcluster/build; python3.10 
> ./runtests.py
> I: pybuild pybuild:286: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/runtests.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-modelcluster/build
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-modelcluster/build; python3.9 
> ./runtests.py
> Creating test database for alias 'default'...
> System check identified some issues:
> 
> WARNINGS:
> tests.Album: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Article: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Author: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Band: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.BandMember: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Category: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Chef: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Dish: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Document: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Gallery: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.GalleryImage: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.House: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Log: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.MenuItem: (models.W042) Auto-created primary key used when not defining 
> a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.NewsPaper: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.NonClusterPlace: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Person: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Place: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Review: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Room: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Song: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedArticle: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedNonClusterPlace: (models.W042) Auto-created primary key used when 
> not defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.TaggedPlace: (models.W042) Auto-created primary key used when not 
> defining a primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> tests.Wine: (models.W042) Auto-created primary key used when not defining a 
> primary key type, by default 'django.db.models.AutoField'.
>       HINT: Configure the DEFAULT_AUTO_FIELD setting or the 
> AppConfig.default_auto_field attribute to point to a subclass of AutoField, 
> e.g. 'django.db.models.BigAutoField'.
> 
> 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 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-modelcluster/build/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 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-modelcluster/build/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
> 
> ----------------------------------------------------------------------
> Ran 144 tests in 0.622s
> 
> FAILED (errors=1, skipped=2, expected failures=1)
> Destroying test database for alias 'default'...
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-modelcluster/build; python3.9 
> ./runtests.py
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" 
> --system=custom "--test-args=cd {build_dir}; {interpreter} ./runtests.py" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-django-modelcluster_5.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to