Bug 7977

Summary: Toaster fails to start with Django 1.7
Product: [Build System, Metadata & Runtime] Toaster Reporter: Mihail Stanciu <stanciux.mihail>
Component: toasterAssignee: Unassigned <unassigned>
Status: VERIFIED NOTABUG QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: enhancement    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, jessica.zhang, michael.g.wood
Version: 1.9   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2015-07-09 11:00:39 UTC
Tested on master: 0aaa67a790ab211b35eed58173efa115ceb6e243

During first-time setup, Toaster refuses to launch if Django 1.7 or greater is installed.
As per Alex Damian, Toaster should be compatible with any version of Django 1.6 or 1.7.

Note that this only happens during the first-time run. If Django is upgraded after the initial setup process completes, Toaster can start without problems.

Error message:
$ bitbake/bin/toaster
This program needs Django 1.6. Please install with

pip install django==1.6
Error: Could not verify that the needed dependencies are installed. Please use virtualenv and pip to install dependencies listed in toaster-requirements.txt
Comment 1 Alexandru Damian 2015-08-19 16:18:40 UTC
South reefuses to work with 1.7. Django made a conscious decision to break backward compatibility with South at 1.7.

This means that we need a clean break between supporting 1.6 and 1.7, and change over the migration model.

Moved as Enhancement for 2.1
Comment 2 Alexandru Damian 2015-08-19 16:20:58 UTC
*** Bug 7962 has been marked as a duplicate of this bug. ***
Comment 3 Michael Wood 2015-09-21 10:25:07 UTC
Toaster requires 1.6, we're not going to try and support multiple versions of Django at this time.

Opening #8364 to track upgrading django.
Comment 4 Alexandru Roman 2015-11-16 11:55:37 UTC
Verified.