Source: python-django-tagging
Version: 1:0.5.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

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="PYTHONPATH=. 
> DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test --verbosity=2"
> I: pybuild base:291: PYTHONPATH=. 
> DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test --verbosity=2
> Creating test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> Found 75 test(s).
> Operations to perform:
>   Synchronize unmigrated apps: tests
>   Apply all migrations: auth, contenttypes, sessions, tagging
> Synchronizing apps without migrations:
>   Creating tables...
>     Creating table tests_perch
>     Creating table tests_parrot
>     Creating table tests_link
>     Creating table tests_article
>     Creating table tests_formtest
>     Creating table tests_formtestnull
>     Creating table tests_formmultiplefieldtest
>     Running deferred SQL...
> Running migrations:
>   Applying contenttypes.0001_initial... OK
>   Applying contenttypes.0002_remove_content_type_name... OK
>   Applying auth.0001_initial... OK
>   Applying auth.0002_alter_permission_name_max_length... OK
>   Applying auth.0003_alter_user_email_max_length... OK
>   Applying auth.0004_alter_user_username_opts... OK
>   Applying auth.0005_alter_user_last_login_null... OK
>   Applying auth.0006_require_contenttypes_0002... OK
>   Applying auth.0007_alter_validators_add_error_messages... OK
>   Applying auth.0008_alter_user_username_max_length... OK
>   Applying auth.0009_alter_user_last_name_max_length... OK
>   Applying auth.0010_alter_group_name_max_length... OK
>   Applying auth.0011_update_proxy_permissions... OK
>   Applying auth.0012_alter_user_first_name_max_length... OK
>   Applying sessions.0001_initial... OK
>   Applying tagging.0001_initial... OK
>   Applying tagging.0002_on_delete... OK
>   Applying tagging.0003_adapt_max_tag_length... OK
> System check identified some issues:
> 
> WARNINGS:
> tagging.Tag: (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 
> TaggingConfig.default_auto_field attribute to point to a subclass of 
> AutoField, e.g. 'django.db.models.BigAutoField'.
> tagging.TaggedItem: (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 
> TaggingConfig.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.FormMultipleFieldTest: (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.FormTest: (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.FormTestNull: (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.Link: (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.Parrot: (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.Perch: (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 9 issues (0 silenced).
> test_add_tag (tagging.tests.tests.TestBasicTagging.test_add_tag) ... ok
> test_add_tag_invalid_input_multiple_tags_specified 
> (tagging.tests.tests.TestBasicTagging.test_add_tag_invalid_input_multiple_tags_specified)
>  ... ok
> test_add_tag_invalid_input_no_tags_specified 
> (tagging.tests.tests.TestBasicTagging.test_add_tag_invalid_input_no_tags_specified)
>  ... ok
> test_unicode_tagged_object 
> (tagging.tests.tests.TestBasicTagging.test_unicode_tagged_object) ... ok
> test_update_tags (tagging.tests.tests.TestBasicTagging.test_update_tags) ... 
> ok
> test_update_tags_exotic_characters 
> (tagging.tests.tests.TestBasicTagging.test_update_tags_exotic_characters) ... 
> ok
> test_update_tags_with_none 
> (tagging.tests.tests.TestBasicTagging.test_update_tags_with_none) ... ok
> test_calculate_tag_weight 
> (tagging.tests.tests.TestCalculateCloud.test_calculate_tag_weight) ... ok
> test_calculate_tag_weight_invalid_size 
> (tagging.tests.tests.TestCalculateCloud.test_calculate_tag_weight_invalid_size)
>  ... ok
> test_default_distribution 
> (tagging.tests.tests.TestCalculateCloud.test_default_distribution) ... ok
> test_invalid_distribution 
> (tagging.tests.tests.TestCalculateCloud.test_invalid_distribution) ... ok
> test_linear_distribution 
> (tagging.tests.tests.TestCalculateCloud.test_linear_distribution) ... ok
> test_get_related_objects_of_different_model 
> (tagging.tests.tests.TestGetRelatedTaggedItems.test_get_related_objects_of_different_model)
>  ... ok
> test_get_related_objects_of_same_model 
> (tagging.tests.tests.TestGetRelatedTaggedItems.test_get_related_objects_of_same_model)
>  ... ok
> test_get_related_objects_of_same_model_limit_related_items 
> (tagging.tests.tests.TestGetRelatedTaggedItems.test_get_related_objects_of_same_model_limit_related_items)
>  ... ok
> test_get_related_objects_of_same_model_limited_number_of_results 
> (tagging.tests.tests.TestGetRelatedTaggedItems.test_get_related_objects_of_same_model_limited_number_of_results)
>  ... ok
> test_get_by_model_intersection 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_model_intersection)
>  ... ok
> test_get_by_model_simple 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_model_simple) 
> ... ok
> test_get_by_model_with_lists_of_strings_as_input 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_model_with_lists_of_strings_as_input)
>  ... ok
> test_get_by_model_with_strings_as_input 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_model_with_strings_as_input)
>  ... ok
> test_get_by_model_with_tag_querysets_as_input 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_model_with_tag_querysets_as_input)
>  ... ok
> test_get_by_nonexistent_tag 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_by_nonexistent_tag) 
> ... ok
> test_get_union_by_model 
> (tagging.tests.tests.TestGetTaggedObjectsByModel.test_get_union_by_model) ... 
> ok
> test_create_with_tags_specified 
> (tagging.tests.tests.TestModelTagField.test_create_with_tags_specified) ... ok
> test_creation_with_nullable_tags_field 
> (tagging.tests.tests.TestModelTagField.test_creation_with_nullable_tags_field)
>  ... ok
> test_creation_without_specifying_tags 
> (tagging.tests.tests.TestModelTagField.test_creation_without_specifying_tags) 
> ... ok
> test_fix_update_tag_field_deferred 
> (tagging.tests.tests.TestModelTagField.test_fix_update_tag_field_deferred)
> Bug introduced in Django 1.10 ... ok
> test_update_via_tags_field 
> (tagging.tests.tests.TestModelTagField.test_update_via_tags_field) ... ok
> test_comma_delimeted_string_as_input 
> (tagging.tests.tests.TestNormalisedTagListInput.test_comma_delimeted_string_as_input)
>  ... ok
> test_list_of_strings_with_strange_nontag_string 
> (tagging.tests.tests.TestNormalisedTagListInput.test_list_of_strings_with_strange_nontag_string)
>  ... ok
> test_list_of_tag_instances 
> (tagging.tests.tests.TestNormalisedTagListInput.test_list_of_tag_instances) 
> ... ok
> test_list_of_tag_primary_keys 
> (tagging.tests.tests.TestNormalisedTagListInput.test_list_of_tag_primary_keys)
>  ... ok
> test_list_of_two_strings 
> (tagging.tests.tests.TestNormalisedTagListInput.test_list_of_two_strings) ... 
> ok
> test_nonexistent_tag 
> (tagging.tests.tests.TestNormalisedTagListInput.test_nonexistent_tag) ... ok
> test_single_tag_object_as_input 
> (tagging.tests.tests.TestNormalisedTagListInput.test_single_tag_object_as_input)
>  ... ok
> test_space_delimeted_string_as_input 
> (tagging.tests.tests.TestNormalisedTagListInput.test_space_delimeted_string_as_input)
>  ... ok
> test_tuple_of_instances 
> (tagging.tests.tests.TestNormalisedTagListInput.test_tuple_of_instances) ... 
> ok
> test_with_empty_list 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_empty_list) ... ok
> test_with_invalid_input 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_invalid_input) ... 
> ok
> test_with_invalid_input_mix_of_string_and_instance 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_invalid_input_mix_of_string_and_instance)
>  ... ok
> test_with_primary_key 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_primary_key) ... ok
> test_with_string 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_string) ... ok
> test_with_tag_filter 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_tag_filter) ... ok
> test_with_tag_instance 
> (tagging.tests.tests.TestNormalisedTagListInput.test_with_tag_instance) ... ok
> test_tags_with_double_quotes_can_contain_commas 
> (tagging.tests.tests.TestParseTagInput.test_tags_with_double_quotes_can_contain_commas)
> Double quotes can contain commas ... ok
> test_with_comma_delimited_multiple_words 
> (tagging.tests.tests.TestParseTagInput.test_with_comma_delimited_multiple_words)
> Test with comma-delimited multiple words. ... ok
> test_with_double_quoted_multiple_words 
> (tagging.tests.tests.TestParseTagInput.test_with_double_quoted_multiple_words)
> Test with double-quoted multiple words. ... ok
> test_with_loose_commas 
> (tagging.tests.tests.TestParseTagInput.test_with_loose_commas)
> Loose commas - split on commas ... ok
> test_with_naughty_input 
> (tagging.tests.tests.TestParseTagInput.test_with_naughty_input)
> Test with naughty input. ... ok
> test_with_no_loose_commas 
> (tagging.tests.tests.TestParseTagInput.test_with_no_loose_commas)
> Test with no loose commas -- split on spaces. ... ok
> test_with_simple_space_delimited_tags 
> (tagging.tests.tests.TestParseTagInput.test_with_simple_space_delimited_tags)
> Test with simple space-delimited tags. ... ok
> test_force_lowercase_tags 
> (tagging.tests.tests.TestSettings.test_force_lowercase_tags)
> Test forcing tags to lowercase. ... ok
> test_clean_name (tagging.tests.tests.TestTagAdminForm.test_clean_name) ... ok
> test_clean_name_multi 
> (tagging.tests.tests.TestTagAdminForm.test_clean_name_multi) ... ok
> test_clean_name_too_long 
> (tagging.tests.tests.TestTagAdminForm.test_clean_name_too_long) ... ok
> test_tag_cloud_for_model 
> (tagging.tests.tests.TestTagCloudForModel.test_tag_cloud_for_model) ... ERROR
> test_tag_cloud_for_model_filters 
> (tagging.tests.tests.TestTagCloudForModel.test_tag_cloud_for_model_filters) 
> ... ok
> test_tag_cloud_for_model_min_count 
> (tagging.tests.tests.TestTagCloudForModel.test_tag_cloud_for_model_min_count) 
> ... ERROR
> test_recreation_of_tag_list_string_representations 
> (tagging.tests.tests.TestTagFieldInForms.test_recreation_of_tag_list_string_representations)
>  ... ok
> test_tag_d_validation 
> (tagging.tests.tests.TestTagFieldInForms.test_tag_d_validation) ... ok
> test_tag_field_in_modelform 
> (tagging.tests.tests.TestTagFieldInForms.test_tag_field_in_modelform) ... ok
> test_tag_get_from_model 
> (tagging.tests.tests.TestTagFieldInForms.test_tag_get_from_model) ... ERROR
> test_tag_usage_for_model 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model) ... ERROR
> test_tag_usage_for_model_with_min_count 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model_with_min_count)
>  ... ERROR
> test_tag_usage_with_filter_on_model_objects 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_with_filter_on_model_objects)
>  ... ok
> test_tag_usage_for_model_empty 
> (tagging.tests.tests.TestTagUsageForModelBaseCase.test_tag_usage_for_model_empty)
>  ... ERROR
> test_tag_usage_for_queryset 
> (tagging.tests.tests.TestTagUsageForQuerySet.test_tag_usage_for_queryset) ... 
> ok
> test_view_404 (tagging.tests.tests.TestTaggedObjectList.test_view_404) ... ok
> test_view_dynamic 
> (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic) ... ok
> test_view_no_queryset_no_model 
> (tagging.tests.tests.TestTaggedObjectList.test_view_no_queryset_no_model) ... 
> ok
> test_view_no_tag (tagging.tests.tests.TestTaggedObjectList.test_view_no_tag) 
> ... ok
> test_view_related 
> (tagging.tests.tests.TestTaggedObjectList.test_view_related) ... ok
> test_view_static (tagging.tests.tests.TestTaggedObjectList.test_view_static) 
> ... ok
> test_related_for_model_with_tag_query_sets_as_input 
> (tagging.tests.tests.TestTagsRelatedForModel.test_related_for_model_with_tag_query_sets_as_input)
>  ... ok
> test_related_for_model_with_tag_strings_as_input 
> (tagging.tests.tests.TestTagsRelatedForModel.test_related_for_model_with_tag_strings_as_input)
>  ... ok
> 
> ======================================================================
> ERROR: test_tag_cloud_for_model 
> (tagging.tests.tests.TestTagCloudForModel.test_tag_cloud_for_model)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 752, in 
> test_tag_cloud_for_model
>     tag_cloud = Tag.objects.cloud_for_model(Parrot)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 278, in cloud_for_model
>     tags = list(self.usage_for_model(model, counts=True, filters=filters,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ======================================================================
> ERROR: test_tag_cloud_for_model_min_count 
> (tagging.tests.tests.TestTagCloudForModel.test_tag_cloud_for_model_min_count)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 771, in 
> test_tag_cloud_for_model_min_count
>     tag_cloud = Tag.objects.cloud_for_model(Parrot, min_count=2)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 278, in cloud_for_model
>     tags = list(self.usage_for_model(model, counts=True, filters=filters,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ======================================================================
> ERROR: test_tag_get_from_model 
> (tagging.tests.tests.TestTagFieldInForms.test_tag_get_from_model)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1142, in 
> test_tag_get_from_model
>     self.assertEquals(FormTest.tags, 'test1 test2 test3 titi toto')
>                       ^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/fields.py", line 55, in __get__
>     return edit_string_for_tags(Tag.objects.usage_for_model(owner))
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ======================================================================
> ERROR: test_tag_usage_for_model 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 571, in 
> test_tag_usage_for_model
>     tag_usage = Tag.objects.usage_for_model(Parrot, counts=True)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ======================================================================
> ERROR: test_tag_usage_for_model_with_min_count 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model_with_min_count)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 580, in 
> test_tag_usage_for_model_with_min_count
>     tag_usage = Tag.objects.usage_for_model(Parrot, min_count=2)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ======================================================================
> ERROR: test_tag_usage_for_model_empty 
> (tagging.tests.tests.TestTagUsageForModelBaseCase.test_tag_usage_for_model_empty)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 553, in 
> test_tag_usage_for_model_empty
>     self.assertEqual(Tag.objects.usage_for_model(Parrot), [])
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 162, in usage_for_model
>     usage = self.usage_for_queryset(queryset, counts, min_count)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tagging/models.py", line 180, in usage_for_queryset
>     where, params = compiler.compile(queryset.query.where)
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", 
> line 546, in compile
>     sql, params = node.as_sql(self, self.connection)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/db/models/sql/where.py", line 
> 174, in as_sql
>     raise FullResultSet
> django.core.exceptions.FullResultSet
> 
> ----------------------------------------------------------------------
> Ran 75 tests in 0.729s
> 
> FAILED (errors=6)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: 
> PYTHONPATH=. DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test 
> --verbosity=2
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 
> --system=custom "--test-args=PYTHONPATH=. 
> DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test 
> --verbosity=2" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-django-tagging_0.5.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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