Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1077050

Bug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.

From Adrian Bunk <bunk@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.
Date 2021-10-21 01:20 +0200
Message-ID <Dat2h-2M3-1@gated-at.bofh.it> (permalink)
References <CXmrE-8g3-19@gated-at.bofh.it> <CXmrE-8g3-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive. Paul Gevers <elbrus@debian.org> - 2021-09-14 21:40 +0200
  Bug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive. Adrian Bunk <bunk@debian.org> - 2021-10-21 01:20 +0200

csiph-web