Merge lp:~ahayzen/ubuntu-weather-app/autopilot-move-py3 into lp:ubuntu-weather-app/obsolete.trunk

Proposed by Andrew Hayzen
Status: Merged
Approved by: Nicholas Skaggs
Approved revision: 361
Merged at revision: 368
Proposed branch: lp:~ahayzen/ubuntu-weather-app/autopilot-move-py3
Merge into: lp:ubuntu-weather-app/obsolete.trunk
Diff against target: 31 lines (+2/-3)
2 files modified
debian/control (+1/-2)
tests/autopilot/CMakeLists.txt (+1/-1)
To merge this branch: bzr merge lp:~ahayzen/ubuntu-weather-app/autopilot-move-py3
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Ubuntu Weather Developers Pending
Review via email: mp+233807@code.launchpad.net

Commit message

* Use python3 for autopilot in all cases

This allows jenkins to use python 3 as well as devices.

Description of the change

* Use python3 for autopilot in all cases

This allows jenkins to use python 3 as well as devices.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Looks like a trunk test failure, so this is probably good. Doing a second run:

http://91.189.93.70:8080/job/generic-mediumtests-utopic-python3/268

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-06-07 00:00:36 +0000
3+++ debian/control 2014-09-08 20:45:31 +0000
4@@ -4,7 +4,7 @@
5 Build-Depends: cmake,
6 debhelper (>= 9),
7 intltool,
8- python,
9+ python3,
10 Standards-Version: 3.9.4
11 Section: misc
12 Homepage: https://launchpad.net/ubuntu-weather-app
13@@ -27,7 +27,6 @@
14 Depends: libautopilot-qt (>= 1.4),
15 libqt5test5,
16 libqt5widgets5,
17- python2.7,
18 ubuntu-ui-toolkit-autopilot,
19 ubuntu-weather-app (= ${source:Version}),
20 ${misc:Depends},
21
22=== modified file 'tests/autopilot/CMakeLists.txt'
23--- tests/autopilot/CMakeLists.txt 2014-01-31 21:06:15 +0000
24+++ tests/autopilot/CMakeLists.txt 2014-09-08 20:45:31 +0000
25@@ -1,5 +1,5 @@
26 if(INSTALL_TESTS)
27-execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
28+execute_process(COMMAND python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
29 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
30
31 install(DIRECTORY ${AUTOPILOT_DIR}

Subscribers

People subscribed via source and target branches