Your message dated Fri, 05 Nov 2021 17:18:26 +0000
with message-id <[email protected]>
and subject line Bug#994257: fixed in django-ldapdb 1.5.1-3
has caused the Debian Bug report #994257,
regarding python-django breaks django-ldapdb autopkgtest: 'Field' object has no
attribute 'attname'
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 [email protected]
immediately.)
--
994257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994257
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-django, django-ldapdb
Control: found -1 python-django/2:3.2.7-4
Control: found -1 django-ldapdb/1.5.1-2
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: [email protected]
User: [email protected]
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of python-django the autopkgtest of django-ldapdb
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-ldapdb from testing 1.5.1-2
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.
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/d/django-ldapdb/15232618/log.gz
======================================================================
ERROR: test_exists (examples.tests.GroupTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.t2ql221m/downtmp/build.9e6/src/examples/tests.py",
line 280, in test_exists
self.assertTrue(qs.exists())
File "/usr/lib/python3/dist-packages/django/db/models/query.py", line
808, in exists
return self.query.has_results(using=self.db)
File "/usr/lib/python3/dist-packages/django/db/models/sql/query.py",
line 552, in has_results
return compiler.has_results()
File
"/tmp/autopkgtest-lxc.t2ql221m/downtmp/build.9e6/src/ldapdb/backends/ldap/compiler.py",
line 267, in has_results
next(iterator)
File
"/tmp/autopkgtest-lxc.t2ql221m/downtmp/build.9e6/src/ldapdb/backends/ldap/compiler.py",
line 246, in results_iter
if e[0].field.attname == 'dn':
AttributeError: 'Field' object has no attribute 'attname'
======================================================================
ERROR: test_and (ldapdb.tests.WhereTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.t2ql221m/downtmp/build.9e6/src/ldapdb/tests.py",
line 240, in test_and
where.add(self._build_lookup("givenName", 'exact', "bar",
field=fields.CharField), AND)
File "/usr/lib/python3/dist-packages/django/utils/tree.py", line 93,
in add
if self.connector == conn_type and data in self.children:
File "/usr/lib/python3/dist-packages/django/db/models/lookups.py",
line 154, in __eq__
return self.identity == other.identity
File "/usr/lib/python3/dist-packages/django/db/models/expressions.py",
line 418, in __eq__
return other.identity == self.identity
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/models/expressions.py",
line 406, in identity
if value.name and value.model:
AttributeError: 'CharField' object has no attribute 'model'
======================================================================
FAIL: test_slice (examples.tests.GroupTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.t2ql221m/downtmp/build.9e6/src/examples/tests.py",
line 405, in test_slice
self.assertEqual(objs.count(), 2)
AssertionError: 3 != 2
----------------------------------------------------------------------
Ran 74 tests in 14.105s
FAILED (failures=1, errors=2)
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: django-ldapdb
Source-Version: 1.5.1-3
Done: Carsten Schoenert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
django-ldapdb, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Carsten Schoenert <[email protected]> (supplier of updated django-ldapdb
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 05 Nov 2021 17:54:09 +0100
Source: django-ldapdb
Architecture: source
Version: 1.5.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Carsten Schoenert <[email protected]>
Closes: 994257
Changes:
django-ldapdb (1.5.1-3) unstable; urgency=medium
.
* Team upload.
.
* Adding patches from patch queue branch (Closes: #994257)
Picking some patches from the upstream development that makes the
autopkgtest working again.
* d/control: Update Standards-Version to 4.6.0
Checksums-Sha1:
3408916857f364e82b9a07c55632a6b29d2fc9d1 2243 django-ldapdb_1.5.1-3.dsc
41aa2c16f2decef5ef08f8277c2225933ccee32f 7132
django-ldapdb_1.5.1-3.debian.tar.xz
061013e78df6a75b0ad09100699d57cbbb2079c5 6883
django-ldapdb_1.5.1-3_amd64.buildinfo
Checksums-Sha256:
315857d60b164c259b412de6a56fa41bfd577b045c6470827bcaa7bf22978e9a 2243
django-ldapdb_1.5.1-3.dsc
16c04b9feeaada64734e0ba777532d021567936a8ebfe800dfce0ba069cfb47b 7132
django-ldapdb_1.5.1-3.debian.tar.xz
8a313efb5b662ec2ffcb2bdf716aeabb530e37855a549c2b973c1c50c48f98a4 6883
django-ldapdb_1.5.1-3_amd64.buildinfo
Files:
649b2b2b144c332889cddd40652f7c0e 2243 python optional django-ldapdb_1.5.1-3.dsc
982bd2a373d7a5f93b415b3e155d3321 7132 python optional
django-ldapdb_1.5.1-3.debian.tar.xz
9bbf1ffcd4359ef25b2c1d201853ec1a 6883 python optional
django-ldapdb_1.5.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmGFZKQACgkQgwFgFCUd
HbCxMg//WJGdWNvsUO4xGgr0haf56bZIXxTbkOjoWnBMzhaxpG4XSpXlfR2y3d0S
RAW9FOJTBijgREubVoDag4KIq9gTTL2RO0novs1nus90zkoGeDdFp0hE0tYw55rz
3M9vWM32kiBZrPiRyzeeyAgR5iQm9b7z7EkEfwKbxP+j5f43gfu6dkqpowaU6jQy
q7r4ZHq5XoD50aBNZQHnvEyR+doBx4EAuK7I+YX/5LhZbFah61kagQo8jMARkp16
Ezf1gDgLpsVrEhzS7+LE+I6kiDc9XKygSg8vWJ7aP2yKXkh6d2lhuraa/Wr32y6h
XZu3mkJZIaPU78iX7wVvGh5uERaC6fsHgeZUqc0BhOVXtxusbCw00m/wzBZiNs9K
PnU4iW6XFpW7Uu7wntgttedJZJoXyTxiMNC8VtyK9rwuSVHw+hEMqkD9UyLDe8Fk
MxwIdTnQFaGyypLhIgTYZQl8n0oGTWgS433bWqEK6zliXwhcCMhCbapkUqzs62r1
lM2bxPxF96vqBXc+tkDqUjH8dl1nAflUcf8mrrOwjD1ErIUwxLCvarWTalyCPlIt
bTqum7Xw9svhGon4zjM5ErBtB3tcdymFQio8Q/PjqD8AmLCH0QkYfATD8mhcCssC
/9nArwk+vErbtln0gzzhsXu4ExKAGj+O8CX3MnndyoFBNtNJTZU=
=eurU
-----END PGP SIGNATURE-----
--- End Message ---