All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2
@ 2020-05-27 23:25 Tim Orling
  2020-05-28 19:03   ` akuster
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Orling @ 2020-05-27 23:25 UTC (permalink / raw)
  To: bitbake-devel, toaster; +Cc: david.reyna, Tim Orling

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
 beautifulsoup4>=4.4.0
 pytz
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2
  2020-05-27 23:25 [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2 Tim Orling
@ 2020-05-28 19:03   ` akuster
  0 siblings, 0 replies; 5+ messages in thread
From: akuster808 @ 2020-05-28 19:03 UTC (permalink / raw)
  To: Tim Orling, bitbake-devel, toaster; +Cc: david.reyna

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]



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>
> ---
>  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?

- armin
>  beautifulsoup4>=4.4.0
>  pytz
>
> 


[-- Attachment #2: Type: text/html, Size: 1445 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2
@ 2020-05-28 19:03   ` akuster
  0 siblings, 0 replies; 5+ messages in thread
From: akuster @ 2020-05-28 19:03 UTC (permalink / raw)
  To: Tim Orling, bitbake-devel, toaster; +Cc: david.reyna

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]



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>
> ---
>  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?

- armin
>  beautifulsoup4>=4.4.0
>  pytz
>
> 


[-- Attachment #2: Type: text/html, Size: 1445 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Toaster] [bitbake-devel] [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2
  2020-05-28 19:03   ` akuster
  (?)
@ 2020-06-01 21:46   ` Tim Orling
  2020-06-01 21:49     ` Tim Orling
  -1 siblings, 1 reply; 5+ messages in thread
From: Tim Orling @ 2020-06-01 21:46 UTC (permalink / raw)
  To: akuster808, Richard Purdie; +Cc: bitbake-devel, toaster, david.reyna

[-- Attachment #1: Type: text/plain, Size: 4173 bytes --]



> On May 28, 2020, at 12:03 PM, akuster808 <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).

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: 6256 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Toaster] [bitbake-devel] [dunfell][1.46][PATCH] toaster-requirements.txt: require Django 2.2
  2020-06-01 21:46   ` [Toaster] " Tim Orling
@ 2020-06-01 21:49     ` Tim Orling
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Orling @ 2020-06-01 21:49 UTC (permalink / raw)
  To: akuster808, Richard Purdie; +Cc: bitbake-devel, toaster, david.reyna

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-01 21:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-05-28 19:03   ` akuster
2020-06-01 21:46   ` [Toaster] " Tim Orling
2020-06-01 21:49     ` Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.