Merge lp:~mitya57/ubuntu/saucy/python-docutils/fix-autopkgtest-failures into lp:ubuntu/saucy-proposed/python-docutils

Proposed by Dmitry Shachnev
Status: Merged
Merged at revision: 36
Proposed branch: lp:~mitya57/ubuntu/saucy/python-docutils/fix-autopkgtest-failures
Merge into: lp:ubuntu/saucy-proposed/python-docutils
Diff against target: 95 lines (+27/-6)
5 files modified
debian/changelog (+18/-0)
debian/patches/odt-writer-ascii-filenames.diff (+2/-1)
debian/patches/rst2odt_prepstyles-elementtree.diff (+3/-3)
debian/tests/python-docutils (+2/-1)
debian/tests/python3-docutils (+2/-1)
To merge this branch: bzr merge lp:~mitya57/ubuntu/saucy/python-docutils/fix-autopkgtest-failures
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+179008@code.launchpad.net

Description of the change

The previous upload didn't migrate to release pocket because of autopkgtest failures, this branch should fix that.

python-docutils (0.11-1svn1) saucy; urgency=low

  * Upload the current Subversion HEAD to fix autopkgtest failures.

  [ Michael Schutte ]
  * Document in the patch header that #714313 is also taken care of by
    odt-writer-ascii-filenames.diff.

  [ Dmitry Shachnev ]
  * Updated rst2odt_prepstyles-elementtree.diff to make it not cause
    SyntaxErrors with Python 3.
  * Fix autopkgtest failures:
    - Copy HISTORY.txt to the testing directory.
    - Disable test_html4css1_misc as it does not work with our location
      of html4css1.css.

 -- Dmitry Shachnev <email address hidden> Wed, 07 Aug 2013 19:44:34 +0400

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks a lot. Uploaded!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-08-05 16:47:43 +0000
3+++ debian/changelog 2013-08-07 15:53:27 +0000
4@@ -1,3 +1,21 @@
5+python-docutils (0.11-1svn1) saucy; urgency=low
6+
7+ * Upload the current Subversion HEAD to fix autopkgtest failures.
8+
9+ [ Michael Schutte ]
10+ * Document in the patch header that #714313 is also taken care of by
11+ odt-writer-ascii-filenames.diff.
12+
13+ [ Dmitry Shachnev ]
14+ * Updated rst2odt_prepstyles-elementtree.diff to make it not cause
15+ SyntaxErrors with Python 3.
16+ * Fix autopkgtest failures:
17+ - Copy HISTORY.txt to the testing directory.
18+ - Disable test_html4css1_misc as it does not work with our location
19+ of html4css1.css.
20+
21+ -- Dmitry Shachnev <mitya57@ubuntu.com> Wed, 07 Aug 2013 19:44:34 +0400
22+
23 python-docutils (0.11-1) experimental; urgency=low
24
25 [ Jakub Wilk ]
26
27=== modified file 'debian/patches/odt-writer-ascii-filenames.diff'
28--- debian/patches/odt-writer-ascii-filenames.diff 2013-08-05 16:47:43 +0000
29+++ debian/patches/odt-writer-ascii-filenames.diff 2013-08-07 15:53:27 +0000
30@@ -5,9 +5,10 @@
31 ASCII (dropping non-representable characters) to be on the safe side.
32 This patch also removes an invalid assumption about the encoding
33 used internally by the interpreter, which has caused Debian bug
34- #714317.
35+ #714317, and fixes #714313.
36 Author: Michael Schutte <michi@debian.org>
37 Bug-Debian: http://bugs.debian.org/714317
38+Bug-Debian: http://bugs.debian.org/714313
39 Forwarded: https://sourceforge.net/p/docutils/patches/113/
40 Last-Update: 2013-08-05
41
42
43=== modified file 'debian/patches/rst2odt_prepstyles-elementtree.diff'
44--- debian/patches/rst2odt_prepstyles-elementtree.diff 2013-08-05 16:47:43 +0000
45+++ debian/patches/rst2odt_prepstyles-elementtree.diff 2013-08-07 15:53:27 +0000
46@@ -4,7 +4,7 @@
47 Bug-Debian: http://bugs.debian.org/714319
48 Author: Michael Schutte <michi@debian.org>
49 Forwarded: https://sourceforge.net/p/docutils/patches/114/
50-Last-Update: 2013-08-05
51+Last-Update: 2013-08-06
52
53 --- a/tools/rst2odt_prepstyles.py
54 +++ b/tools/rst2odt_prepstyles.py
55@@ -15,10 +15,10 @@
56 -from lxml import etree
57 +try:
58 + from xml.etree import ElementTree as etree
59-+except ImportError, e:
60++except ImportError:
61 + try:
62 + from elementtree import ElementTree as etree
63-+ except ImportError, e:
64++ except ImportError:
65 + raise ImportError('Missing an implementation of ElementTree. ' \
66 + 'Please install either Python >= 2.5 or ElementTree.')
67 +
68
69=== modified file 'debian/tests/python-docutils'
70--- debian/tests/python-docutils 2012-11-09 11:35:37 +0000
71+++ debian/tests/python-docutils 2013-08-07 15:53:27 +0000
72@@ -1,7 +1,8 @@
73 #!/bin/sh
74 set -e -u
75-cp -r docs/ test/ "$ADTTMP"
76+cp -r HISTORY.txt docs/ test/ "$ADTTMP"
77 cd "$ADTTMP/test/"
78+rm test_writers/test_html4css1_misc.py
79 pyversions -i \
80 | tr ' ' '\n' \
81 | xargs -I {} env PYTHONWARNINGS=d PYTHONHASHSEED=random {} \
82
83=== modified file 'debian/tests/python3-docutils'
84--- debian/tests/python3-docutils 2012-11-09 11:35:37 +0000
85+++ debian/tests/python3-docutils 2013-08-07 15:53:27 +0000
86@@ -1,7 +1,8 @@
87 #!/bin/sh
88 set -e -u
89-cp -r docs/ test/ "$ADTTMP"
90+cp -r HISTORY.txt docs/ test/ "$ADTTMP"
91 cd "$ADTTMP/test/"
92+rm test_writers/test_html4css1_misc.py
93 2to3-$(py3versions -vd) --no-diffs -j $(nproc) -w . 2>&1
94 py3versions -i \
95 | tr ' ' '\n' \

Subscribers

People subscribed via source and target branches