Bug 7977 - Toaster fails to start with Django 1.7
Summary: Toaster fails to start with Django 1.7
Status: VERIFIED NOTABUG
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.1
Assignee: Unassigned
QA Contact: Alexandru Roman
URL:
Whiteboard:
: 7962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-09 11:00 UTC by Mihail Stanciu
Modified: 2015-11-16 11:55 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

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