Bug 9704 - layer index update script needs to handle python 3 for master
Summary: layer index update script needs to handle python 3 for master
Status: RESOLVED FIXED
Alias: None
Product: Layer Index
Classification: Yocto Project Subprojects
Component: Layer Index (show other bugs)
Version: unspecified
Hardware: All Multiple
: High major
Target Milestone: 2.2 M2
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 9647
  Show dependency tree
 
Reported: 2016-06-02 20:34 UTC by Paul Eggleton
Modified: 2017-12-06 16:55 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 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.