Your message dated Sat, 21 Jan 2023 21:14:30 +0000
with message-id <e1pjlc2-00an7n...@fasolo.debian.org>
and subject line Bug#1028671: fixed in python-django-tagging 1:0.5.0-4
has caused the Debian Bug report #1028671,
regarding python-django-tagging: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.10 3.11" --system=custom "--test-args=PYTHONPATH=. 
DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test --verbosity=2" 
returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1028671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028671
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-tagging
Version: 1:0.5.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 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="PYTHONPATH=. 
> DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test --verbosity=2"
> I: pybuild base:240: 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')...
> 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) ... ok
> 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) 
> ... ok
> 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) ... ok
> test_tag_usage_for_model 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model) ... ok
> test_tag_usage_for_model_with_min_count 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model_with_min_count)
>  ... ok
> 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)
>  ... ok
> 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) ... 
> ERROR
> test_view_dynamic 
> (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic) ... ERROR
> 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_view_404 (tagging.tests.tests.TestTaggedObjectList.test_view_404)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 194, 
> in _compile
>     return re.compile(regex)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>     return _compile(pattern, flags)
>            ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>     p = _compiler.compile(pattern, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>     p = _parser.parse(p, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 863, in _parse
>     p = _parse_sub(source, state, sub_verbose, nested + 1)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>     raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 14
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1227, in test_view_404
>     self.get_view('/unavailable/', code=404)
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1196, in get_view
>     response = self.client.get(url)
>                ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 742, in 
> get
>     response = super().get(path, data=data, secure=secure, **extra)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 396, in 
> get
>     return self.generic('GET', path, secure=secure, **{
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 473, in 
> generic
>     return self.request(**r)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 719, in 
> request
>     self.check_exception(response)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 580, in 
> check_exception
>     raise exc_value
>   File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", 
> line 47, in inner
>     response = get_response(request)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 167, in _get_response
>     callback, callback_args, callback_kwargs = self.resolve_request(request)
>                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 290, in resolve_request
>     resolver_match = resolver.resolve(request.path_info)
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 562, 
> in resolve
>     sub_match = pattern.resolve(new_path)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 362, 
> in resolve
>     match = self.pattern.match(path)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 159, 
> in match
>     if self._is_endpoint and self.regex.pattern.endswith('$')
>                              ^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 105, 
> in __get__
>     instance.__dict__['regex'] = instance._compile(pattern)
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 196, 
> in _compile
>     raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: "^(?P<tag>[^/]+(?u))/$" is not a 
> valid regular expression: global flags not at the start of the expression at 
> position 14
> 
> ======================================================================
> ERROR: test_view_dynamic 
> (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 194, 
> in _compile
>     return re.compile(regex)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>     return _compile(pattern, flags)
>            ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>     p = _compiler.compile(pattern, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>     p = _parser.parse(p, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 863, in _parse
>     p = _parse_sub(source, state, sub_verbose, nested + 1)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>     raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 14
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1212, in 
> test_view_dynamic
>     self.get_view('/tag/', expected_items=1)
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1196, in get_view
>     response = self.client.get(url)
>                ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 742, in 
> get
>     response = super().get(path, data=data, secure=secure, **extra)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 396, in 
> get
>     return self.generic('GET', path, secure=secure, **{
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 473, in 
> generic
>     return self.request(**r)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 719, in 
> request
>     self.check_exception(response)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 580, in 
> check_exception
>     raise exc_value
>   File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", 
> line 47, in inner
>     response = get_response(request)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 167, in _get_response
>     callback, callback_args, callback_kwargs = self.resolve_request(request)
>                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 290, in resolve_request
>     resolver_match = resolver.resolve(request.path_info)
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 562, 
> in resolve
>     sub_match = pattern.resolve(new_path)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 362, 
> in resolve
>     match = self.pattern.match(path)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 159, 
> in match
>     if self._is_endpoint and self.regex.pattern.endswith('$')
>                              ^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 105, 
> in __get__
>     instance.__dict__['regex'] = instance._compile(pattern)
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 196, 
> in _compile
>     raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: "^(?P<tag>[^/]+(?u))/$" is not a 
> valid regular expression: global flags not at the start of the expression at 
> position 14
> 
> ----------------------------------------------------------------------
> Ran 75 tests in 0.710s
> 
> FAILED (errors=2)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: 
> PYTHONPATH=. DJANGO_SETTINGS_MODULE=tagging.tests.settings django-admin test 
> --verbosity=2
> I: pybuild base:240: 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')...
> 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) ... ok
> 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) 
> ... ok
> 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) ... ok
> test_tag_usage_for_model 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model) ... ok
> test_tag_usage_for_model_with_min_count 
> (tagging.tests.tests.TestTagUsageForModel.test_tag_usage_for_model_with_min_count)
>  ... ok
> 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)
>  ... ok
> 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) ... 
> ERROR
> test_view_dynamic 
> (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic) ... ERROR
> 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_view_404 (tagging.tests.tests.TestTaggedObjectList.test_view_404)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 194, 
> in _compile
>     return re.compile(regex)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>     return _compile(pattern, flags)
>            ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>     p = _compiler.compile(pattern, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>     p = _parser.parse(p, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 863, in _parse
>     p = _parse_sub(source, state, sub_verbose, nested + 1)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>     raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 14
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1227, in test_view_404
>     self.get_view('/unavailable/', code=404)
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1196, in get_view
>     response = self.client.get(url)
>                ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 742, in 
> get
>     response = super().get(path, data=data, secure=secure, **extra)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 396, in 
> get
>     return self.generic('GET', path, secure=secure, **{
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 473, in 
> generic
>     return self.request(**r)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 719, in 
> request
>     self.check_exception(response)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 580, in 
> check_exception
>     raise exc_value
>   File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", 
> line 47, in inner
>     response = get_response(request)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 167, in _get_response
>     callback, callback_args, callback_kwargs = self.resolve_request(request)
>                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 290, in resolve_request
>     resolver_match = resolver.resolve(request.path_info)
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 562, 
> in resolve
>     sub_match = pattern.resolve(new_path)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 362, 
> in resolve
>     match = self.pattern.match(path)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 159, 
> in match
>     if self._is_endpoint and self.regex.pattern.endswith('$')
>                              ^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 105, 
> in __get__
>     instance.__dict__['regex'] = instance._compile(pattern)
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 196, 
> in _compile
>     raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: "^(?P<tag>[^/]+(?u))/$" is not a 
> valid regular expression: global flags not at the start of the expression at 
> position 14
> 
> ======================================================================
> ERROR: test_view_dynamic 
> (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 194, 
> in _compile
>     return re.compile(regex)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>     return _compile(pattern, flags)
>            ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>     p = _compiler.compile(pattern, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>     p = _parser.parse(p, flags)
>         ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 863, in _parse
>     p = _parse_sub(source, state, sub_verbose, nested + 1)
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>     itemsappend(_parse(source, state, verbose, nested + 1,
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>     raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 14
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1212, in 
> test_view_dynamic
>     self.get_view('/tag/', expected_items=1)
>   File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1196, in get_view
>     response = self.client.get(url)
>                ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 742, in 
> get
>     response = super().get(path, data=data, secure=secure, **extra)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 396, in 
> get
>     return self.generic('GET', path, secure=secure, **{
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 473, in 
> generic
>     return self.request(**r)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 719, in 
> request
>     self.check_exception(response)
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 580, in 
> check_exception
>     raise exc_value
>   File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", 
> line 47, in inner
>     response = get_response(request)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 167, in _get_response
>     callback, callback_args, callback_kwargs = self.resolve_request(request)
>                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 
> 290, in resolve_request
>     resolver_match = resolver.resolve(request.path_info)
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 562, 
> in resolve
>     sub_match = pattern.resolve(new_path)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 362, 
> in resolve
>     match = self.pattern.match(path)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 159, 
> in match
>     if self._is_endpoint and self.regex.pattern.endswith('$')
>                              ^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 105, 
> in __get__
>     instance.__dict__['regex'] = instance._compile(pattern)
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 196, 
> in _compile
>     raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: "^(?P<tag>[^/]+(?u))/$" is not a 
> valid regular expression: global flags not at the start of the expression at 
> position 14
> 
> ----------------------------------------------------------------------
> Ran 75 tests in 0.655s
> 
> FAILED (errors=2)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> E: pybuild pybuild:388: 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.10 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/01/13/python-django-tagging_0.5.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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.

--- End Message ---
--- Begin Message ---
Source: python-django-tagging
Source-Version: 1:0.5.0-4
Done: Sebastian Ramacher <sramac...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-django-tagging, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1028...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (supplier of updated 
python-django-tagging package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 21 Jan 2023 21:33:02 +0100
Source: python-django-tagging
Architecture: source
Version: 1:0.5.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Closes: 1028671
Changes:
 python-django-tagging (1:0.5.0-4) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Bas Couwenberg ]
   * Add patch to fix FTBFS with python3.11.
     (closes: #1028671)
   * Update lintian overrides.
Checksums-Sha1:
 9d84a20b7722ee9cc0be1a5f6b8f802040232242 2420 python-django-tagging_0.5.0-4.dsc
 5c61912b9cbd16488fd84bee3b161cf78f0ec209 8188 
python-django-tagging_0.5.0-4.debian.tar.xz
Checksums-Sha256:
 af920fb51ad31cc0b9e27925ee73cf6e175aea490cde029ca62596743b106bfa 2420 
python-django-tagging_0.5.0-4.dsc
 8130471ed065c9873934f203cddaeb227d3eea8103a5898cb608278685a1d34d 8188 
python-django-tagging_0.5.0-4.debian.tar.xz
Files:
 9bd6327e5ac35cc1ede9e6e9cf145ffd 2420 python optional 
python-django-tagging_0.5.0-4.dsc
 d26f82660d70401a9550eb3d40109c2d 8188 python optional 
python-django-tagging_0.5.0-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmPMTEwACgkQafL8UW6n
GZOskQ//a197ObHa3veRN41IEAkLkJFYASbMDBf20uMUMTDuaPlZc6CLM3sWv7wN
D15oje1LGtHrvSNDqc3a2bEfcaoAWjYJMjwXVBHV4qZQIlN0gSFtlbuDlMAse3k1
r+DJuwnESYX+RhAAoBYwgn52KEgoPr21Ugltf8GZZhYZQGyxWWsddi5uVLxOXl8w
KDcQ4fozxFl9L5jMOmdQoxsssfwOqMYNUELhE7fm0eO1JkFBpyp27U2d4wEdRfvo
7ZfQkqUlr7fV7z+G8m86ApeqxH9s2VDHxKvLPYI4UnCuPnWW/w3PctWlXObWaltW
YA4dZ8t4xjg3UpIR9NtJhShZfzglGBKmrszt8G+Cda/ssolc+RArcDiANoQ2XI1C
PHQdDQM7Pgh5CpiHU30xsFzovf26wWlm8J+29kUZkL3HL+AIjGTWDVgdR54NW/AL
kSgGOV+SWjja2qbtwpjgNeIw2U0AY99pyiapNAPe0uVay0wi75EYeu417c03o97p
mcgY7U6l2I/CLr8RYrhPbeoKC/IcOJbxnVMCMMkRXblB0h3qyluetx6PI/VU/qlf
DwAgGc+KWZQDITMoJuOvmB00waSl5sIfwWgISRkK0pXFdfTjYH24Wxlqv6KO/pS7
JND+eHlK+ShxSAFW248Aorgq0oUHN9u8inuBkQkwJCKJNAFC7k4=
=cKET
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to