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: debian...@lists.debian.org User: debian...@lists.debian.org 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