Re: [Django] #30016: Test regressions with sqlite3 3.26.0 (vs 3.25.3)

2018-12-06 Thread Django
#30016: Test regressions with sqlite3 3.26.0 (vs 3.25.3)
-+-
 Reporter:  Chris Lamb   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  2.1
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  sqlite3 tests| Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Simon Charette):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #29182.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.bdfe42e033fa2d8b35be46380afab231%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #30016: Test regressions with sqlite3 3.26.0 (vs 3.25.3)

2018-12-06 Thread Django
#30016: Test regressions with sqlite3 3.26.0 (vs 3.25.3)
-+-
   Reporter:  Chris  |  Owner:  nobody
  Lamb   |
   Type:  Bug| Status:  new
  Component:  Database   |Version:  2.1
  layer (models, ORM)|
   Severity:  Normal |   Keywords:  sqlite3 tests
   Triage Stage: |  Has patch:  0
  Unreviewed |
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 Hi,

 In Debian, I am seeing the following test failure since upgrading
 `libsqlite3-0` from `3.25.3` (currently in buster) to `3.26.0`.

 With `libsqlite3-0 (3.26.0-1)`:

 {{{
   $ cd tests
   $ PYTHONPATH=.. python3 ./runtests.py --parallel=1 --failfast
   […]
   Testing against Django installed in '/home/lamby/git/debian/python-
 team/modules/python-django/django'
   Creating test database for alias 'default'...
   Creating test database for alias 'other'...
   System check identified no issues (14 silenced).
 
.sss..ssss..s..s..sss.sE
   ==
   ERROR: test_dumpdata_with_excludes (fixtures.tests.FixtureLoadingTests)
   --
   Traceback (most recent call last):
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/utils.py", line 85, in _execute
   return self.cursor.execute(sql, params)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/sqlite3/base.py", line 296, in execute
   return Database.Cursor.execute(self, query, params)
   sqlite3.OperationalError: no such table: main.django_site__old

   The above exception was the direct cause of the following exception:

   Traceback (most recent call last):
 File "/home/lamby/git/debian/python-team/modules/python-
 django/tests/fixtures/tests.py", line 330, in test_dumpdata_with_excludes
   Site.objects.all().delete()
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/models/query.py", line 663, in delete
   deleted, _rows_count = collector.delete()
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/models/deletion.py", line 282, in delete
   count = qs._raw_delete(using=self.using)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/models/query.py", line 677, in _raw_delete
   return sql.DeleteQuery(self.model).delete_qs(self, using)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/models/sql/subqueries.py", line 75, in delete_qs
   cursor = self.get_compiler(using).execute_sql(CURSOR)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/models/sql/compiler.py", line 1065, in execute_sql
   cursor.execute(sql, params)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/utils.py", line 68, in execute
   return self._execute_with_wrappers(sql, params, many=False,
 executor=self._execute)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/utils.py", line 77, in _execute_with_wrappers
   return executor(sql, params, many, context)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/utils.py", line 85, in _execute
   return self.cursor.execute(sql, params)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/utils.py", line 89, in __exit__
   raise dj_exc_value.with_traceback(traceback) from exc_value
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/utils.py", line 85, in _execute
   return self.cursor.execute(sql, params)
 File "/home/lamby/git/debian/python-team/modules/python-
 django/django/db/backends/sqlite3/base.py", line 296, in execute
   return Database.Cursor.execute(self, query, params)
   django.db.utils.OperationalError: no such table: main.django_site__old

   --
   Ran 572 tests