Merge lp:~xnox/ubuntu-terminal-app/drop-lxml-dep 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/drop-lxml-dep
Merge into: lp:~dpm/ubuntu-terminal-app/merge-plugin
Diff against target: 38 lines (+1/-8)
3 files modified
README.md (+0/-6)
debian/control (+0/-1)
tests/autopilot/ubuntu_terminal_app/CMakePluginParser.py (+1/-1)
To merge this branch: bzr merge lp:~xnox/ubuntu-terminal-app/drop-lxml-dep
Reviewer Review Type Date Requested Status
David Planella Needs Fixing
Nicholas Skaggs (community) Approve
Review via email: mp+218482@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please test. Note that autopilot package still shipps modules in python2 location, instead of python3. I'll make another merge proposal to fix that.

Revision history for this message
Nicholas Skaggs (nskaggs) :
review: Approve
Revision history for this message
David Planella (dpm) wrote :

Note that it's not a matter of just replacing the import, as it seems that the standard module is not a drop-in replacement for lxml.

So further code changes will be required in CMakePluginParser.py to make it work.

In any case, as discussed on IRC with balloons, I'll split the original MP to isolate this change and not block on it.

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

On 6 May 2014 19:46, David Planella <email address hidden> wrote:
> Review: Needs Fixing
>
> Note that it's not a matter of just replacing the import, as it seems that the standard module is not a drop-in replacement for lxml.
>
> So further code changes will be required in CMakePluginParser.py to make it work.
>
> In any case, as discussed on IRC with balloons, I'll split the original MP to isolate this change and not block on it.

Yeah, well i've run the tests on the desktop and they all passed....
not sure if CMakePluginParser was actually in fact used or not.

--
Regards,

Dimitri.

Unmerged revisions

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 17:44:27 +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 17:44:27 +0000
@@ -45,7 +45,6 @@
45Depends: ${misc:Depends},45Depends: ${misc:Depends},
46 libautopilot-qt,46 libautopilot-qt,
47 libqt5test5,47 libqt5test5,
48 python3-lxml,
49 ubuntu-terminal-app (>= ${source:Version}),48 ubuntu-terminal-app (>= ${source:Version}),
50 ubuntu-ui-toolkit-autopilot,49 ubuntu-ui-toolkit-autopilot,
51Description: Autopilot tests for Terminal Application50Description: Autopilot tests for Terminal Application
5251
=== 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 17:44:27 +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