From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from yocto-www.yoctoproject.org (yocto-www.yoctoproject.org [140.211.169.56]) by mx.groups.io with SMTP id smtpd.web09.4825.1575521235085233611 for ; Wed, 04 Dec 2019 20:47:15 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: windriver.com, ip: 140.211.169.56, mailfrom: david.reyna@windriver.com) Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A2FEEE00F04; Wed, 4 Dec 2019 20:47:14 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 709A8E00D16 for ; Wed, 4 Dec 2019 20:47:13 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.2) with ESMTPS id xB54lCZm028639 (version=TLSv1 cipher=AES256-SHA bits=256 verify=FAIL) for ; Wed, 4 Dec 2019 20:47:12 -0800 (PST) Received: from ALA-MBD.corp.ad.wrs.com ([169.254.3.163]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0468.000; Wed, 4 Dec 2019 20:47:12 -0800 From: "Reyna, David" To: "toaster@yoctoproject.org" Subject: Toaster: transitioning to Django-2.2 soon [YOCTO #13207] Thread-Topic: Toaster: transitioning to Django-2.2 soon [YOCTO #13207] Thread-Index: AdWrJwmUT4lmsjJJQRyOCE4p4UVLgw== Date: Thu, 5 Dec 2019 04:47:12 +0000 Message-ID: <5E53D14CE4667A45B9A06760DE5D13D0FAE9F2D7@ALA-MBD.corp.ad.wrs.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [147.11.117.76] MIME-Version: 1.0 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_5E53D14CE4667A45B9A06760DE5D13D0FAE9F2D7ALAMBDcorpadwrs_" --_000_5E53D14CE4667A45B9A06760DE5D13D0FAE9F2D7ALAMBDcorpadwrs_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I wanted to let people know that I will be transitioning Toaster to Django-= 2.2 for master and YP-3.1. Recent changes to SQLite-3.26 and Python-3.7 now= used in the current hosts have made the Django-1.x line unsupportable (by = the Django community's choice). I have posted a relatively large patch set here for everyone's review, whic= h I will soon commit to bitbake: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=3Ddreyn= a/toaster/django_2_2_13207&id=3D117fc2dd7dc220c516309477f2cbe2134f1bd5db My main concern is that there was some core API changes which required upda= ting the existing migration files (which one normally never touches). That = change was to add "on_delete=3Dmodels.CASCADE" for foreign tables. This sim= ple change should not affect existing databases and their migration, but I = am doing extra testing to make sure I understand the impact. - David --_000_5E53D14CE4667A45B9A06760DE5D13D0FAE9F2D7ALAMBDcorpadwrs_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

I wanted to let people know that I will be transitio= ning Toaster to Django-2.2 for master and YP-3.1. Recent changes to SQLite-= 3.26 and Python-3.7 now used in the current hosts have made the Django-1.x = line unsupportable (by the Django community’s choice).

 

I have posted a relatively large patch set here for = everyone’s review, which I will soon commit to bitbake:

   http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=3Ddreyna/t= oaster/django_2_2_13207&id=3D117fc2dd7dc220c516309477f2cbe2134f1bd5db

 

My main concern is that there was some core API chan= ges which required updating the existing migration files (which one normall= y never touches). That change was to add “on_delete=3Dmodels.CASCADE&= #8221; for foreign tables. This simple change should not affect existing databases and their migration, but I am doing extra te= sting to make sure I understand the impact.

 

- David

 

--_000_5E53D14CE4667A45B9A06760DE5D13D0FAE9F2D7ALAMBDcorpadwrs_--