Bug 13895

Summary: The toaster-requirements.txt for Django on dunfell I believe needs to be updated 2.2.7
Product: [Build System, Metadata & Runtime] BitBake Reporter: Mathew Prokos <mathew.prokos>
Component: bitbakeAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: david.reyna, poky.bs.watcher, poky.watcher, tim.orling, tony.homer
Version: 3.1   
Target Milestone: 3.1.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mathew Prokos 2020-05-06 08:40:32 UTC
"source toaster start" fails to start with when using Django 1.8 which is the current version in bitbake/toaster-requirements.txt

I manually updated toaster-requirements.txt

Django>2.2,<2.3
beautifulsoup4>=4.4.0
pytz

Which appears to be working as expected.
Comment 1 tony.homer 2020-05-20 01:13:44 UTC
This commit seems to be the root cause of this in Dunfell:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/bitbake/lib/toaster/toastermain/urls.py?h=dunfell&id=4dabdbe11ddc47a885c7f8cc6b3f26439d40d77c

I backed out the change to line 72 and toaster starts.
Comment 2 Tim Orling 2020-06-18 08:14:11 UTC
toaster-requirements.txt was updated to require Django >2.2<2.3 (to intentionally pin it to the 2.2.x LTS version until 3.2.x LTS is available in April 2021)

Fixed in Dunfell 3.1.1:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=5890b72bd68673738b38e67019dadcbcaf643ed8

And in current tree:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=68e76d0d4b266719922b2cea5508acf4716b92cb