From: "Tim Orling" <timothy.t.orling@linux.intel.com>
To: akuster808 <akuster808@gmail.com>,
Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: bitbake-devel@lists.openembedded.org,
toaster@lists.yoctoproject.org, david.reyna@windriver.com
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 [thread overview]
Message-ID: <52CC4F3C-A882-4B07-859D-DECEDC564D22@linux.intel.com> (raw)
In-Reply-To: <95C12BDD-75CB-4E6C-83E3-A2C24A6E5057@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 4674 bytes --]
> On Jun 1, 2020, at 2:46 PM, Tim Orling <timothy.t.orling@linux.intel.com> wrote:
>
>
>
>> On May 28, 2020, at 12:03 PM, akuster808 <akuster808@gmail.com <mailto:akuster808@gmail.com>> wrote:
>>
>>
>>
>> On 5/27/20 4:25 PM, Tim Orling wrote:
>>> 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> <mailto: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 supported on all hosts supported by Dunfell?
>>
>
> It would be since Django 1.11 went EOL a while ago and it is loaded via “pip3 install -r toaster-requirements.txt” (not requiring Django 2.2 to be packaged on a given bistro).
>
I should have said Django 1.11 began the EOL process a while ago. Mainstream support ended December 2, 2017
So after that it was only security and bug fixes.
https://www.djangoproject.com/download/ <https://www.djangoproject.com/download/>
> Also, toaster 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/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/base.py", line 283, in run_from_argv
> self.execute(*args, **cmd_options)
> File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 327, in execute
> self.check()
> File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 359, in check
> include_deployment_checks=include_deployment_checks,
> File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 346, in _run_checks
> 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 = check(app_configs=app_configs)
> File "/usr/local/lib/python3.6/dist-packages/django/core/checks/urls.py", line 16, in check_url_config
> return check_resolver(resolver)
> File "/usr/local/lib/python3.6/dist-packages/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 256, in check
> for pattern in self.url_patterns:
> File "/usr/local/lib/python3.6/dist-packages/django/utils/functional.py", line 35, in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> File "/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py", line 407, in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
> File "/usr/local/lib/python3.6/dist-packages/django/utils/functional.py", line 35, in __get__
> res = instance.__dict__[self.name] = 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_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 994, in _gcd_import
> File "<frozen importlib._bootstrap>", line 971, in _find_and_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>", line 678, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/home/usersetup/poky/bitbake/lib/toaster/toastermain/urls.py", line 72, in <module>
> if p.pattern.regex.pattern == '^' + modulename + '/':
> AttributeError: 'RegexURLResolver' object has no attribute ‘pattern'
>
>> - armin
>>> beautifulsoup4>=4.4.0
>>> pytz
>>>
>>>
>>
>>
[-- Attachment #2: Type: text/html, Size: 9237 bytes --]
prev parent reply other threads:[~2020-06-01 21:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 23:25 [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2 Tim Orling
2020-05-28 19:03 ` [bitbake-devel] " akuster808
2020-06-01 21:46 ` [Toaster] " Tim Orling
2020-06-01 21:49 ` Tim Orling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52CC4F3C-A882-4B07-859D-DECEDC564D22@linux.intel.com \
--to=timothy.t.orling@linux.intel.com \
--cc=akuster808@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=david.reyna@windriver.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=toaster@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).