Bug 13895 - The toaster-requirements.txt for Django on dunfell I believe needs to be updated 2.2.7
Summary: The toaster-requirements.txt for Django on dunfell I believe needs to be upda...
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1.1
Assignee: Tim Orling
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-05-06 08:40 UTC by Mathew Prokos
Modified: 2020-06-18 08:14 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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