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


Groups > linux.debian.bugs.dist > #1071201 > unrolled thread

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

Started byPaul Gevers <elbrus@debian.org>
First post2021-09-14 21:40 +0200
Last post2021-10-21 01:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  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

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

FromPaul Gevers <elbrus@debian.org>
Date2021-09-14 21:40 +0200
SubjectBug#994258: python-django breaks lava autopkgtest: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.
Message-ID<CXmrE-8g3-19@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: python-django, lava
Control: found -1 python-django/2:3.2.7-4
Control: found -1 lava/2020.12-5
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-django the autopkgtest of lava fails in
testing when that autopkgtest is run with the binary packages of
python-django from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
python-django          from testing    2:3.2.7-4
lava                   from testing    2020.12-5
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. The error
message suggests a misconfiguration, but the fact that the test passed
until now suggests that python-django used to be more forgiving which
isn't nice to give up. Currently this regression is blocking the
migration of python-django to testing [1]. Due to the nature of this
issue, I filed this bug report against both packages. Can you please
investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
python-django/2:3.2.7-4. I.e. due to versioned dependencies or
breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=python-django

https://ci.debian.net/data/autopkgtest/testing/amd64/l/lava/15232624/log.gz

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.

[toc] | [next] | [standalone]


#1077050

FromAdrian Bunk <bunk@debian.org>
Date2021-10-21 01:20 +0200
Message-ID<Dat2h-2M3-1@gated-at.bofh.it>
In reply to#1071201
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web