Source: django-countries Version: 6.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > py3versions: no X-Python3-Version in control file, using supported versions > /usr/bin/which: this version of `which' is deprecated; use `command -v' in > scripts instead. > set -e; \ > for python in python3.9; do \ > PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_countries.tests.settings > $python /usr/bin/django-admin test django_countries.tests;\ > done > Creating test database for alias 'default'... > Traceback (most recent call last): > File "/usr/bin/django-admin", line 33, in <module> > sys.exit(load_entry_point('Django==3.2.8', 'console_scripts', > 'django-admin')()) > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 419, in execute_from_command_line > utility.execute() > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 413, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", > line 23, in run_from_argv > super().run_from_argv(argv) > File "/usr/lib/python3/dist-packages/django/core/management/base.py", line > 354, in run_from_argv > self.execute(*args, **cmd_options) > File "/usr/lib/python3/dist-packages/django/core/management/base.py", line > 398, in execute > output = self.handle(*args, **options) > File > "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", > line 55, in handle > failures = test_runner.run_tests(test_labels) > File "/usr/lib/python3/dist-packages/django/test/runner.py", line 725, in > run_tests > old_config = self.setup_databases(aliases=databases) > File "/usr/lib/python3/dist-packages/django/test/runner.py", line 643, in > setup_databases > return _setup_databases( > File "/usr/lib/python3/dist-packages/django/test/utils.py", line 179, in > setup_databases > connection.creation.create_test_db( > File "/usr/lib/python3/dist-packages/django/db/backends/base/creation.py", > line 74, in create_test_db > call_command( > File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", > line 181, in call_command > return command.execute(*args, **defaults) > File "/usr/lib/python3/dist-packages/django/core/management/base.py", line > 398, in execute > output = self.handle(*args, **options) > File "/usr/lib/python3/dist-packages/django/core/management/base.py", line > 89, in wrapped > res = handle_func(*args, **kwargs) > File > "/usr/lib/python3/dist-packages/django/core/management/commands/migrate.py", > line 202, in handle > pre_migrate_apps = pre_migrate_state.apps > File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 48, > in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File "/usr/lib/python3/dist-packages/django/db/migrations/state.py", line > 208, in apps > return StateApps(self.real_apps, self.models) > File "/usr/lib/python3/dist-packages/django/db/migrations/state.py", line > 258, in __init__ > self.real_models.append(ModelState.from_model(model, exclude_rels=True)) > File "/usr/lib/python3/dist-packages/django/db/migrations/state.py", line > 407, in from_model > fields.append((name, field.clone())) > File "/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py", > line 512, in clone > name, path, args, kwargs = self.deconstruct() > File "/<<PKGBUILDDIR>>/django_countries/fields.py", line 343, in deconstruct > name, path, args, kwargs = super().deconstruct() > File "/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py", > line 1089, in deconstruct > if self.db_collation: > AttributeError: 'CountryField' object has no attribute 'db_collation' > make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/django-countries_6.0-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. _______________________________________________ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team