Your message dated Sat, 18 Sep 2021 03:18:43 +0000
with message-id <e1mrqsf-0006q2...@fasolo.debian.org>
and subject line Bug#994256: fixed in django-axes 5.24.0-1
has caused the Debian Bug report #994256,
regarding django-axes: autopkgtest needs update for new version of 
python-django: warnings changed
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.)


-- 
994256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994256
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: django-axes
Version: 5.4.3-1
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org, python-dja...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python-django

Dear maintainer(s),

With a recent upload of python-django the autopkgtest of django-axes
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
django-axes            from testing    5.4.3-1
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. It seems to me
that some warnings were added and updated.

Currently this regression is blocking the migration of python-django to
testing [1]. Of course, python-django shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in python-django was intended and your package needs to update to
the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from python-django should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

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/d/django-axes/15232617/log.gz

=================================== FAILURES
===================================
_____________________ CacheCheckTestCase.test_cache_check
______________________

self = <axes.tests.test_checks.CacheCheckTestCase
testMethod=test_cache_check>

    @override_settings(
        AXES_HANDLER="axes.handlers.cache.AxesCacheHandler",
        CACHES={
            "default": {
                "BACKEND": "django.core.cache.backends.db.DatabaseCache",
                "LOCATION": "axes_cache",
            }
        },
    )
    def test_cache_check(self):
        warnings = run_checks()
>       self.assertEqual(warnings, [])
E       AssertionError: Lists differ: [<Warning: level=30,
msg="Auto-created pri[681 chars]42'>] != []
E
E       First list contains 2 additional elements.
E       First extra element 0:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 739 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:21: AssertionError
_
CacheCheckTestCase.test_cache_check_does_not_produce_check_warnings_with_database_handler
_

self = <axes.tests.test_checks.CacheCheckTestCase
testMethod=test_cache_check_does_not_produce_check_warnings_with_database_handler>

    @override_settings(
        AXES_HANDLER="axes.handlers.database.AxesDatabaseHandler",
        CACHES={
            "default": {"BACKEND":
"django.core.cache.backends.locmem.LocMemCache"}
        },
    )
    def
test_cache_check_does_not_produce_check_warnings_with_database_handler(self):
        warnings = run_checks()
>       self.assertEqual(warnings, [])
E       AssertionError: Lists differ: [<Warning: level=30,
msg="Auto-created pri[681 chars]42'>] != []
E
E       First list contains 2 additional elements.
E       First extra element 0:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 739 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:45: AssertionError
_________________ CacheCheckTestCase.test_cache_check_warnings
_________________

self = <axes.tests.test_checks.CacheCheckTestCase
testMethod=test_cache_check_warnings>

    @override_settings(
        AXES_HANDLER="axes.handlers.cache.AxesCacheHandler",
        CACHES={
            "default": {"BACKEND":
"django.core.cache.backends.locmem.LocMemCache"}
        },
    )
    def test_cache_check_warnings(self):
        warnings = run_checks()
        warning = Warning(
            msg=Messages.CACHE_INVALID, hint=Hints.CACHE_INVALID,
id=Codes.CACHE_INVALID
        )

>       self.assertEqual(warnings, [warning])
E       AssertionError: Lists differ: [<War[404 chars]001'>, <Warning:
level=30, msg="Auto-created p[683 chars]42'>] != [<War[404 chars]001'>]
E
E       First list contains 2 additional elements.
E       First extra element 1:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 2408 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:35: AssertionError
______________ MiddlewareCheckTestCase.test_cache_check_warnings
_______________

self = <axes.tests.test_checks.MiddlewareCheckTestCase
testMethod=test_cache_check_warnings>

    @modify_settings(MIDDLEWARE={"remove":
["axes.middleware.AxesMiddleware"]})
    def test_cache_check_warnings(self):
        warnings = run_checks()
        warning = Warning(
            msg=Messages.MIDDLEWARE_INVALID,
            hint=Hints.MIDDLEWARE_INVALID,
            id=Codes.MIDDLEWARE_INVALID,
        )

>       self.assertEqual(warnings, [warning])
E       AssertionError: Lists differ: [<War[132 chars]002'>, <Warning:
level=30, msg="Auto-created p[683 chars]42'>] != [<War[132 chars]002'>]
E
E       First list contains 2 additional elements.
E       First extra element 1:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 1320 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:58: AssertionError
__________________ BackendCheckTestCase.test_backend_missing
___________________

self = <axes.tests.test_checks.BackendCheckTestCase
testMethod=test_backend_missing>

    @modify_settings(AUTHENTICATION_BACKENDS={"remove":
["axes.backends.AxesBackend"]})
    def test_backend_missing(self):
        warnings = run_checks()
        warning = Warning(
            msg=Messages.BACKEND_INVALID,
            hint=Hints.BACKEND_INVALID,
            id=Codes.BACKEND_INVALID,
        )

>       self.assertEqual(warnings, [warning])
E       AssertionError: Lists differ: [<War[223 chars]003'>, <Warning:
level=30, msg="Auto-created p[683 chars]42'>] != [<War[223 chars]003'>]
E
E       First list contains 2 additional elements.
E       First extra element 1:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 1684 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:75: AssertionError
________________ BackendCheckTestCase.test_specialized_backend
_________________

self = <axes.tests.test_checks.BackendCheckTestCase
testMethod=test_specialized_backend>

    @override_settings(

AUTHENTICATION_BACKENDS=["axes.tests.test_checks.AxesSpecializedBackend"]
    )
    def test_specialized_backend(self):
        warnings = run_checks()
>       self.assertEqual(warnings, [])
E       AssertionError: Lists differ: [<Warning: level=30,
msg="Auto-created pri[681 chars]42'>] != []
E
E       First list contains 2 additional elements.
E       First extra element 0:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 739 characters long. Set self.maxDiff to None to see it.

axes/tests/test_checks.py:82: AssertionError
______
DeprecatedSettingsTestCase.test_deprecated_success_access_log_flag ______

self = <axes.tests.test_checks.DeprecatedSettingsTestCase
testMethod=test_deprecated_success_access_log_flag>

    @override_settings(AXES_DISABLE_SUCCESS_ACCESS_LOG=True)
    def test_deprecated_success_access_log_flag(self):
        warnings = run_checks()
>       self.assertEqual(warnings,
[self.disable_success_access_log_warning])
E       AssertionError: Lists differ: [<War[152 chars]004'>, <Warning:
level=30, msg="Auto-created p[683 chars]42'>] != [<War[152 chars]004'>]
E
E       First list contains 2 additional elements.
E       First extra element 1:
E       <Warning: level=30, msg="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'.", obj=<class
'axes.models.AccessAttempt'>, id='models.W042'>
E
E       Diff is 1400 characters long. Set self.maxDiff to None to see it.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: django-axes
Source-Version: 5.24.0-1
Done: James Valleroy <jvalle...@mailbox.org>

We believe that the bug you reported is fixed in the latest version of
django-axes, 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 994...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Valleroy <jvalle...@mailbox.org> (supplier of updated django-axes 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: Fri, 17 Sep 2021 22:57:15 -0400
Source: django-axes
Architecture: source
Version: 5.24.0-1
Distribution: unstable
Urgency: medium
Maintainer: FreedomBox packaging team 
<freedombox-pkg-t...@lists.alioth.debian.org>
Changed-By: James Valleroy <jvalle...@mailbox.org>
Closes: 994256
Changes:
 django-axes (5.24.0-1) unstable; urgency=medium
 .
   [ Edward Betts ]
   * Correct GitHub URLs in debian/copyright and debian/upstream/metadata
 .
   [ Sunil Mohan Adapa ]
   * New upstream version 5.24.0 (Closes: #994256)
   * d/control: Update standards version to 4.5.1, no changes needed
   * d/watch: Update version to 4
Checksums-Sha1:
 8e83d619c01677149b699ac3a4f1955042c198c3 2555 django-axes_5.24.0-1.dsc
 2d4a7451d384638f3cc8e102bcef134957e4fe2a 201890 django-axes_5.24.0.orig.tar.gz
 b5d6ba716a4ef7d1321443d4ec0b4d8617662668 3344 
django-axes_5.24.0-1.debian.tar.xz
 e95df6ecd0f84a6a03202cdd5d948f1c10aa3ed8 8649 
django-axes_5.24.0-1_amd64.buildinfo
Checksums-Sha256:
 975075dd6c8c78049b0a458bf23fad3cd500240ba8a51a2a822a535172752468 2555 
django-axes_5.24.0-1.dsc
 51b08d1c1d9afbc066e951457e0d4789b47e9b084676ba178fe38c9124d13773 201890 
django-axes_5.24.0.orig.tar.gz
 a819910952421458f7fdf23b560e60beadcb8fa9a104b5394b4fbc7920487682 3344 
django-axes_5.24.0-1.debian.tar.xz
 f8fedbb748626c01ca91a038eed3deec7c9fdc17484a811cf290603293c82124 8649 
django-axes_5.24.0-1_amd64.buildinfo
Files:
 3ef64aa3e17e5013af360726c3d0440e 2555 python optional django-axes_5.24.0-1.dsc
 773dcc039f88bc50f21938f2f1bad6f4 201890 python optional 
django-axes_5.24.0.orig.tar.gz
 d90dcef12c5cdaf5a53e0beb89a19bd1 3344 python optional 
django-axes_5.24.0-1.debian.tar.xz
 702f521464e32c9080246fd0d5a74629 8649 python optional 
django-axes_5.24.0-1_amd64.buildinfo

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

iQJKBAEBCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmFFVvIWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICJexD/9d6c88Je2H5DMDKRGqcFb1pvlp
yttMW8doLNobstLd6WliOgAPpiZeapiqVunkvDyOBdb2cptR+mSXWZ3hX1QfhYBy
4lcrpXh2sf3M+miGxVKegz1uZJFax74CyDqYkTIv0OCD4ICz54+rq3E8TCL4Fphg
yUZLWN/KMLGQT94EVM89l1198T1DPoWZrK4aAEpUT15CUDpx6YrEGB/M+ZvxU6UQ
CcJzIYNG/rY32a4Capo8knMFZy40RmBpWFSsy90v+aXkyfoGwUrhQysDKWxPzh7F
4CFPmZIuJHS4qlraNoHL1Ml1iJN1+5RiGD/KrUQmC7KDp6aAXlemMfqqI1K3fPMf
ERpNdLMHofv6Rm/TQC1CjQjLis9Qpe1j5t9YBmi8dpKIWha22h7nhCaw+Ft587Sq
7AKDC4q+anvw4yNNjHGYVkA8qNEfjVCU9z40gT4dWhvumL/GGYYyMo1pSRQEj9Hu
O/F+Hg0bjYUUuGPwipjn0U3PlsEEE+6yIrZ8Uo6y2pdVs7zGZNz8nY4XlXNuY/GZ
WpuIk1Tw0delJPymQyNMY8gmtFxh6qRy/q1l9o+oie6DUpqRl1gNEkjV8RxWwrmv
3huU2sFzbnH1N1eezXbz1Rjb7vdQ86P1HjPUY9xOs+rM1DIQM2eFFohS9DWfGvs3
PVWUl4VS5wEq5GxIDg==
=Ch4U
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to