Merge lp:~xnox/ubuntu-terminal-app/merge-plugin+lxml+py3 into lp:~dpm/ubuntu-terminal-app/merge-plugin

Proposed by Dimitri John Ledkov
Status: Rejected
Rejected by: David Planella
Proposed branch: lp:~xnox/ubuntu-terminal-app/merge-plugin+lxml+py3
Merge into: lp:~dpm/ubuntu-terminal-app/merge-plugin
Diff against target: 59 lines (+4/-10)
4 files modified
README.md (+0/-6)
debian/control (+2/-2)
tests/autopilot/CMakeLists.txt (+1/-1)
tests/autopilot/ubuntu_terminal_app/CMakePluginParser.py (+1/-1)
To merge this branch: bzr merge lp:~xnox/ubuntu-terminal-app/merge-plugin+lxml+py3
Reviewer Review Type Date Requested Status
David Planella Disapprove
Nicholas Skaggs Pending
Review via email: mp+218483@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

install autopilot tests into python3 path.

73. By Dimitri John Ledkov

Add python3 build-dep.

Revision history for this message
David Planella (dpm) wrote :

Rejected as part of cleaning up MPs for Terminal. We discussed the changes on this branch a while ago (I can't find the comments, though), and the issue is that replacing the Python import without replacing the code that processes the XML won't work.

review: Disapprove
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Apart from "didn't work" comment no other comments were provided neither at
the time, not now. Fully works here for me. What's wrong?
On 12 Aug 2014 15:41, "David Planella" <email address hidden> wrote:

> Review: Disapprove
>
> Rejected as part of cleaning up MPs for Terminal. We discussed the changes
> on this branch a while ago (I can't find the comments, though), and the
> issue is that replacing the Python import without replacing the code that
> processes the XML won't work.
> --
>
> https://code.launchpad.net/~xnox/ubuntu-terminal-app/merge-plugin+lxml+py3/+merge/218483
> You are the owner of lp:~xnox/ubuntu-terminal-app/merge-plugin+lxml+py3.
>

Unmerged revisions

73. By Dimitri John Ledkov

Add python3 build-dep.

72. By Dimitri John Ledkov

Install autopilot tests into python3 path.

71. By Dimitri John Ledkov

Drop lxml dependency

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README.md'
--- README.md 2014-05-06 15:07:24 +0000
+++ README.md 2014-05-06 18:32:06 +0000
@@ -150,9 +150,3 @@
150150
151 cd tests/autopilot151 cd tests/autopilot
152 autopilot run ubuntu_terminal_app152 autopilot run ubuntu_terminal_app
153
154To run the tests on a device, the python3-lxml lib needs to be manually copied
155to /home/phablet/autopilot. Note that the armhf version is required, as it's a
156compiled module. This manual step is only temporary until the
157phablet-click-test-setup gains the capability of automatically doing this
158setup.
159153
=== modified file 'debian/control'
--- debian/control 2014-05-06 15:07:24 +0000
+++ debian/control 2014-05-06 18:32:06 +0000
@@ -3,7 +3,7 @@
3Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>3Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>
4Build-Depends: cmake,4Build-Depends: cmake,
5 debhelper (>= 9),5 debhelper (>= 9),
6 python,6 python3,
7 gettext,7 gettext,
8 qtbase5-dev,8 qtbase5-dev,
9 qtdeclarative5-dev,9 qtdeclarative5-dev,
@@ -45,7 +45,7 @@
45Depends: ${misc:Depends},45Depends: ${misc:Depends},
46 libautopilot-qt,46 libautopilot-qt,
47 libqt5test5,47 libqt5test5,
48 python3-lxml,48 python3-autopilot,
49 ubuntu-terminal-app (>= ${source:Version}),49 ubuntu-terminal-app (>= ${source:Version}),
50 ubuntu-ui-toolkit-autopilot,50 ubuntu-ui-toolkit-autopilot,
51Description: Autopilot tests for Terminal Application51Description: Autopilot tests for Terminal Application
5252
=== modified file 'tests/autopilot/CMakeLists.txt'
--- tests/autopilot/CMakeLists.txt 2014-02-04 16:10:39 +0000
+++ tests/autopilot/CMakeLists.txt 2014-05-06 18:32:06 +0000
@@ -1,5 +1,5 @@
1if(INSTALL_TESTS)1if(INSTALL_TESTS)
2execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"2execute_process(COMMAND python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
3 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)3 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
44
5install(DIRECTORY ${AUTOPILOT_DIR}5install(DIRECTORY ${AUTOPILOT_DIR}
66
=== modified file 'tests/autopilot/ubuntu_terminal_app/CMakePluginParser.py'
--- tests/autopilot/ubuntu_terminal_app/CMakePluginParser.py 2014-04-28 06:06:48 +0000
+++ tests/autopilot/ubuntu_terminal_app/CMakePluginParser.py 2014-05-06 18:32:06 +0000
@@ -23,7 +23,7 @@
23"""23"""
2424
25import sys25import sys
26from lxml import etree26import xml.etree.ElementTree as etree
2727
2828
29class CMakePluginParseError(Exception):29class CMakePluginParseError(Exception):

Subscribers

People subscribed via source and target branches