Bug 9704

Summary: layer index update script needs to handle python 3 for master
Product: [Yocto Project Subprojects] Layer Index Reporter: Paul Eggleton <bluelightning>
Component: Layer IndexAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: brian.avery
Version: unspecified   
Target Milestone: 2.2 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9647    

Description Paul Eggleton 2016-06-02 20:34:25 UTC
Master has been updated to python 3, so we now need to be using that to parse it. This probably means we need a switch on the branch record to specify which version to run it with, and we need to fix up the layer index update script so it runs with python 3.
Comment 1 Paul Eggleton 2016-06-26 21:36:21 UTC
Status on this is that the patches have been sent out for review, and Michael is working on the server side to upgrade to the new version. Last we talked he's stuck building one of the dependencies (django-nvd3) against python3.
Comment 2 brian avery 2016-06-27 04:31:49 UTC
This worked for me:
    3  locale-gen "en_US.UTF-8"
    4  export LANG=en_US.UTF-8
    5  pip3 install django-nvd3
Comment 3 Paul Eggleton 2016-06-27 09:05:34 UTC
Right, it also worked fine for me installing into a virtualenv with pip, so something unusual is happening in Michael's setup.
Comment 4 Paul Eggleton 2016-07-12 02:16:36 UTC
Michael switched the live instance over to the python 3 version on Thursday (July 7th), and all changes required have been merged to the layerindex-web master branch.