Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.48784.1591048173864732249 for ; Mon, 01 Jun 2020 14:49:33 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: linux.intel.com, ip: 192.55.52.88, mailfrom: timothy.t.orling@linux.intel.com) IronPort-SDR: oFqocwExlVtlLsJTxK8IZB2MqzSpP8Iwohk1hC+IkKf4BxDhBo20S9YKnrirbE52DT2jLTLmEy 7LeFEBydnMAw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2020 14:49:33 -0700 IronPort-SDR: mUc6Bj7RPWA/ayoskE7vaZ+uK5rtpuoQYOXUQfzve6PR/3mo8YzHGYR/ised9U6Tc4+X0VgJsA ZrRYO+R6neBQ== X-IronPort-AV: E=Sophos;i="5.73,462,1583222400"; d="scan'208,217";a="293338786" Received: from pingjuch-mobl.amr.corp.intel.com ([10.254.69.36]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2020 14:49:13 -0700 From: "Tim Orling" Message-Id: <52CC4F3C-A882-4B07-859D-DECEDC564D22@linux.intel.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [Toaster] [bitbake-devel] [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2 Date: Mon, 1 Jun 2020 14:49:12 -0700 In-Reply-To: <95C12BDD-75CB-4E6C-83E3-A2C24A6E5057@linux.intel.com> Cc: bitbake-devel@lists.openembedded.org, toaster@lists.yoctoproject.org, david.reyna@windriver.com To: akuster808 , Richard Purdie References: <20200527232512.27409-1-timothy.t.orling@linux.intel.com> <95C12BDD-75CB-4E6C-83E3-A2C24A6E5057@linux.intel.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) Content-Type: multipart/alternative; boundary="Apple-Mail=_BADEADCE-9F12-4D07-B429-91F0E6E1C28C" --Apple-Mail=_BADEADCE-9F12-4D07-B429-91F0E6E1C28C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 1, 2020, at 2:46 PM, Tim Orling wrote: >=20 >=20 >=20 >> On May 28, 2020, at 12:03 PM, akuster808 > wrote: >>=20 >>=20 >>=20 >> On 5/27/20 4:25 PM, Tim Orling wrote: >>> In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667 >>> Django 2.2 was enabled. >>>=20 >>> Django 1.11 was EOL on April 1, 2020 >>>=20 >>> Signed-off-by: Tim Orling >>> --- >>> toaster-requirements.txt | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>=20 >>> diff --git a/toaster-requirements.txt b/toaster-requirements.txt >>> index a682b085..735b6145 100644 >>> --- a/toaster-requirements.txt >>> +++ b/toaster-requirements.txt >>> @@ -1,3 +1,3 @@ >>> -Django>1.8,<1.12 >>> +Django>2.2,<2.3 >>=20 >> Is this version supported on all hosts supported by Dunfell? >>=20 >=20 > It would be since Django 1.11 went EOL a while ago and it is loaded via = = =E2=80=9Cpip3 install -r toaster-requirements.txt=E2=80=9D (not requiring = Django 2.2 to be packaged on a given bistro). >=20 I should have said Django 1.11 began the EOL process a while ago. Mainstre= am support ended December 2, 2017 So after that it was only security and bug fixes. https://www.djangoproject.com/download/ > Also, toaster is currently broken on Dunfell without this change: >=20 > Traceback (most recent call last): > File "/home/usersetup/poky/bitbake/bin/../lib/toaster/manage.py", line= 14, in > execute_from_command_line(sys.argv) > File "/usr/local/lib/python3.6/dist-packages/django/core/management/__= init__.py", line 364, in execute_from_command_line > utility.execute() > File "/usr/local/lib/python3.6/dist-packages/django/core/management/__= init__.py", line 356, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/usr/local/lib/python3.6/dist-packages/django/core/management/ba= se.py", line 283, in run_from_argv > self.execute(*args, **cmd_options) > File "/usr/local/lib/python3.6/dist-packages/django/core/management/ba= se.py", line 327, in execute > self.check() > File "/usr/local/lib/python3.6/dist-packages/django/core/management/ba= se.py", line 359, in check > include_deployment_checks=3Dinclude_deployment_checks, > File "/usr/local/lib/python3.6/dist-packages/django/core/management/ba= se.py", line 346, in _run_checks > return checks.run_checks(**kwargs) > File "/usr/local/lib/python3.6/dist-packages/django/core/checks/regist= ry.py", line 81, in run_checks > new_errors =3D check(app_configs=3Dapp_configs) > File "/usr/local/lib/python3.6/dist-packages/django/core/checks/urls.p= y", line 16, in check_url_config > return check_resolver(resolver) > File "/usr/local/lib/python3.6/dist-packages/django/core/checks/urls.p= y", line 26, in check_resolver > return check_method() > File "/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py"= , line 256, in check > for pattern in self.url_patterns: > File "/usr/local/lib/python3.6/dist-packages/django/utils/functional.p= y", line 35, in __get__ > res =3D instance.__dict__[self.name] =3D self.func(instance) > File "/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py"= , line 407, in url_patterns > patterns =3D getattr(self.urlconf_module, "urlpatterns", self.urlcon= f_module) > File "/usr/local/lib/python3.6/dist-packages/django/utils/functional.p= y", line 35, in __get__ > res =3D instance.__dict__[self.name] =3D self.func(instance) > File "/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py"= , line 400, in urlconf_module > return import_module(self.urlconf_name) > File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_m= odule > return _bootstrap._gcd_import(name[level:], package, level) > File "", line 994, in _gcd_import > File "", line 971, in _find_and_load > File "", line 955, in _find_and_load_unlo= cked > File "", line 665, in _load_unlocked > File "", line 678, in exec_modul= e > File "", line 219, in _call_with_frames_r= emoved > File "/home/usersetup/poky/bitbake/lib/toaster/toastermain/urls.py", l= ine 72, in > if p.pattern.regex.pattern =3D=3D '^' + modulename + '/': > AttributeError: 'RegexURLResolver' object has no attribute =E2=80=98patt= ern' >=20 >> - armin >>> beautifulsoup4>=3D4.4.0 >>> pytz >>>=20 >>>=20 >>=20 >>=20 --Apple-Mail=_BADEADCE-9F12-4D07-B429-91F0E6E1C28C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


On Jun 1, 2020, at 2:46 PM, Tim Orling <timothy.t.orling@linux.intel.com&= gt; wrote:



On Ma= y 28, 2020, at 12:03 PM, akuster808 <akuster808@gmail.com> wrote:



On 5/27/20 4:25 PM, Tim Orling wrot= e:
In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667
Django 2.2 was enabled.

Django 1.11 was EOL on April 1, 2020

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>=
;
---
 toaster-requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toaster-requirements.txt b/toaster-requirements.txt
index a682b085..735b6145 100644
--- a/toaster-requirements.txt
+++ b/toaster-requirements.txt
@@ -1,3 +1,3 @@
-Django>1.8,<1.12
+Django>2.2,<2.3

Is this version su= pported on all hosts supported by Dunfell?


It would be sinc= e Django 1.11 went EOL a while ago and it is loaded via =E2=80=9Cpip3 insta= ll -r toaster-requirements.txt=E2=80=9D (not requiring Django 2.2 to be pac= kaged on a given bistro).


I should have= said Django 1.11 began the EOL process a while ago. Mainstream support end= ed December 2, 2017
So after that it was only se= curity and bug fixes.
https://www.djangoproject.com/download/<= /div>

Also, toaste= r is currently broken on Dunfell without this change:

Traceback (most recent call last):
  File "/home/usersetup/poky/bitbake/bin/../lib/toaster/manage.= py", line 14, in <module>
    execute_= from_command_line(sys.argv)
  File "/usr/local/li= b/python3.6/dist-packages/django/core/management/__init__.py", line 364, in= execute_from_command_line
    utility.execu= te()
  File "/usr/local/lib/python3.6/dist-packag= es/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv= )
  File "/usr/local/lib/python3.6/dist-packages/= django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.6/dist-packages/django/core/managemen= t/base.py", line 327, in execute
    self.ch= eck()
  File "/usr/local/lib/python3.6/dist-packa= ges/django/core/management/base.py", line 359, in check
    include_deployment_checks=3Dinclude_deployment_checks,
  File "/usr/local/lib/python3.6/dist-packages/django= /core/management/base.py", line 346, in _run_checks
&n= bsp;   return checks.run_checks(**kwargs)
  = File "/usr/local/lib/python3.6/dist-packages/django/core/checks/registry.py= ", line 81, in run_checks
    new_errors =3D= check(app_configs=3Dapp_configs)
  File "/usr/lo= cal/lib/python3.6/dist-packages/django/core/checks/urls.py", line 16, in ch= eck_url_config
    return check_resolver(res= olver)
  File "/usr/local/lib/python3.6/dist-pack= ages/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File= "/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py", line 25= 6, in check
    for pattern in self.url_patt= erns:
  File "/usr/local/lib/python3.6/dist-packa= ges/django/utils/functional.py", line 35, in __get__
&= nbsp;   res =3D instance.__dict__[self.name] =3D self.func(instance)
  File "/usr/local/lib/python3.6/dist-packages/dja= ngo/urls/resolvers.py", line 407, in url_patterns
&nbs= p;   patterns =3D getattr(self.urlconf_module, "urlpatterns", self.url= conf_module)
  File "/usr/local/lib/python3.6/dis= t-packages/django/utils/functional.py", line 35, in __get__
    res =3D instance.__dict__[self.name] =3D self.func(ins= tance)
  File "/usr/local/lib/python3.6/dist-pack= ages/django/urls/resolvers.py", line 400, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in= import_module
    return _bootstrap._gcd_im= port(name[level:], package, level)
  File "<fr= ozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_an= d_load
  File "<frozen importlib._bootstrap>= ;", line 955, in _find_and_load_unlocked
  File "= <frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", lin= e 678, in exec_module
  File "<frozen importli= b._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/usersetup/poky/bitbake/lib/toaster/toastermain/ur= ls.py", line 72, in <module>
    if p.= pattern.regex.pattern =3D=3D '^' + modulename + '/':
A= ttributeError: 'RegexURLResolver' object has no attribute =E2=80=98pattern'=

- armin
 beautifulsoup4>=
=
=3D4.4.0
 pytz

<= pre class=3D"moz-quote-pre" wrap=3D"">


<= /body> --Apple-Mail=_BADEADCE-9F12-4D07-B429-91F0E6E1C28C--