[Pkg-linaro-lava-devel] Bug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.
Adrian Bunk
bunk at debian.org
Thu Oct 21 00:13:44 BST 2021
Control: clone -1 -2
Control: reassign -1 lava-server 2020.12-5
Control: retitle -1 lava-server fails to install with python3-django 3.2
Control: reassign -2 python3-django 2:3.2.8-1
Control: retitle -2 python3-django needs Breaks for the bullseye lava-server
Control: block -2 by -1
On Tue, Sep 14, 2021 at 09:27:21PM +0200, Paul Gevers wrote:
>...
> lava-server manage migrate --noinput --fake-initial
> Traceback (most recent call last):
> File "/usr/bin/lava-server", line 68, in <module>
> main()
> File "/usr/bin/lava-server", line 64, in main
> execute_from_command_line([sys.argv[0]] + options.command)
> 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/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/base.py",
> line 86, in wrapped
> saved_locale = translation.get_language()
> File
> "/usr/lib/python3/dist-packages/django/utils/translation/__init__.py",
> line 254, in get_language
> return _trans.get_language()
> File
> "/usr/lib/python3/dist-packages/django/utils/translation/__init__.py",
> line 57, in __getattr__
> if settings.USE_I18N:
> File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line
> 82, in __getattr__
> self._setup(name)
> File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line
> 69, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line
> 190, in __init__
> raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured:
> PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.
Note that what fails is installing lava-server, this can be reproduced
easily just by trying to install the package.
I'm splitting this into two bugs:
1. lava-server needs fixing for Django 3.2 (Antonio told me that work is ongoing)
2. after that, python3-django needs Breaks against older versions
this is important both for upgrades from bullseye, and for
python3-django/bullseye-backports that will likely exist
cu
Adrian
More information about the Pkg-linaro-lava-devel
mailing list