<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>On 2017-05-26 19:05, Neil Williams wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">No. This is django making the wrong decision about problems it has<br /> previously supported when trying to include bug fixes for other<br /> problems. It is a regression in django 1.10</div>
</blockquote>
<p>Feel free to argue this point in <a href="https://code.djangoproject.com/ticket/28250">https://code.djangoproject.com/ticket/28250</a></p>
<p>Otherwise, I think we have three options. I recommend reading the Django ticket in full before deciding.</p>
<p>1. Apply work around from <a href="https://code.djangoproject.com/ticket/28250#comment:1">https://code.djangoproject.com/ticket/28250#comment:1</a> by manually recording that the database transaction has been applied. This could potentially be automated as part of the postinst.</p>
<p>2. Remove migration from postinst, and give instructions for manually updating the database. Modify /usr/share/doc/python-django/examples/migrate-south (maybe create new file in Django package) so instead of installing Django 1.6.x in a virtualenv and running migrations, it installs Django 1.8.x into virtualenv and runs migrations.</p>
<p>https://anonscm.debian.org/cgit/python-modules/packages/python-django.git/tree/debian/contrib/migrate-south</p>
<p>3. Drop lava-server from testing.</p>
<p>Also it might be worth updating the migrate script in Django - as per option 2 - even if you decide 1 is the best option. Would help in case any similar problems are identified - maybe with packages not in Debian - after the release.</p>
<div> </div>
</body></html>