Update html-plain writer.
[docutils.git] / sandbox / infrastructure / releasing-log.txt
bloba1401997298509385fa6f837057c6143670060d2
1 Releasing
2 =========
4 :Contact: grubert@users.sourceforge.net, docutils-develop@users.sourceforge.net
5 :Revision: $Revision: 7396 $
6 :Date: $Date: 2012-04-29 11:18:23 +0200 (So, 29 Apr 2012) $
7 :Copyright: This document has been placed in the public domain.
9 Notes on what happend while releasing.
11 Release 0.12
12 ============
14 svn revision: 7749
16 Tests
17 -----
19 Tests are run from svn checkout, only few from install.
21 Python3 tests are run ::
23   rm -rf build test3
24   python3 setup.py build
25   PYTHONPATH=build/lib python3 test3/alltests.py
27 * ubuntu 8.04: python 2.4.5, 2.5.2, 2.6.7, 2.7.2 OK
29   python 2.6.4rc1 6 failure due to change in error message: no such file ...  
31   python 3.2.3 OK
33 * macosx 10.6.8: python 2.5.4, 2.7.3
35   python 2.6.1 6 failure due to change in error message: no such file ...  
37   python 3.2, 3.4.1 OK
39 * ubuntu 14.04: pyton 2.7.6,  python 3.4.0 OK
41 * windows7: python 2.7.5 
43   Error (filed #256): test_writers/test_html4css1_template.py::
45       stylesheet = """\
46     - <link rel="stylesheet" href="/test.css" type="text/css" />"""
47     + <link rel="stylesheet" href="C:/test.css" type="text/css" />"""
48     ?                              ++
50   python 3.4.1
52   * test.css path error (filed #256) 
53   * test_parsers\test_rst\test_directives\test_include.py::
55       b'Encoding:\n\n.. include:: test_parsers/test_rst/test_directives/utf-16.csv\n   :encoding: utf-16\n'
56         File "test3\alltests.py", line 40, in write
57           string = string.encode('raw_unicode_escape').decode('ascii')
58       UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 994: ordinal not in range(128)
60    fiddling with alltests.py (uncommitted) ::
62       <system_message level="4" line="1" source="test data" type="SEVERE">
63         <paragraph>
64             Problem with "raw" directive:
65             UnicodeDecodeError: \'utf-16-be\' codec can\'t decode bytes in position 90-91: illegal encoding
66         <literal_block xml:space="preserve">
67             .. raw:: html
68                :file: test_parsers/test_rst/test_directives/utf-16.csv
69                :encoding: utf-16''' != '''\
73 Release 0.11
74 ============
76 Summary
77 -------
79 ``sandbox/infrastructure/release.sh`` tries running ``test/alltests.py`` after 
80 installing the new release, this fails because
82 * tests depends on e.g. ``../docs/user/rst/images/title.png`` or ``../HISTORY.txt``, 
83   but thess are neither in the test directory tree nor in the installed software. 
85 * there is a lot of code trying to handle varying installation targets ``/usr/lib``
86   ``/usr/local/lib` and not yet ``/usr/lib/pymodules``.
88 Change testing to:
90 1. build and install
91 2. extract docutils-<release>.tar.gz into tmp
92 3. remove docutils/docutils directory, just to make shure it is not used.
93 4. run test/alltest.py in this directory, so all files are where they are
94    while development.
96 Following failure becuase docutils-library directory was removed, therefore 
97 docutils/writers/html4css1/html4css1.css is not found::
99   ======================================================================
100   FAIL: test_custom_stylesheet_dir (test_writers.test_html4css1_misc.SettingsTestCase)
101   ----------------------------------------------------------------------
102   Traceback (most recent call last):
103     File "/... 0.11/test/test_writers/test_html4css1_misc.py", line 81, in test_custom_stylesheet_dir
104       self.assertIn('docutils/writers/html4css1/html4css1.css', styles)
105     File "/... 0.11/test/DocutilsTestSupport.py", line 138, in assertIn
106       msg or '%s not in %s' % _format_str(a, b))
107   AssertionError: 'docutils/writers/html4css1/html4css1.css' not in u'''\
108   <link rel="stylesheet" href="html4css1.css" type="text/css" />
109   <link rel="stylesheet" href="data/ham.css" type="text/css" />
110   '''
113 Tests
114 -----
116 * ubuntu 8.04 2.4.5, 2.5.2, 2.6.7, 2.7.2 OK
118   python 2.6.4rc1 6 failure due to change in error message: no such file ...  
120   Python 3.2.3 : OK (roman.py left over from last release)
122 * macosx 10.6.8: python 2.5.4, 2.7.3
124   python 2.6.1 6 failure due to change in error message: no such file ...  
126   python 3.2: roman.py for py3 required.
128 Release.sh
129 ----------
131 release.sh does not work on MacOSX.
133 installation on ubuntu 10.04 breaks test script::
135   Working directory: /usr/local/lib/python2.6/site-packages/docutils-test
136   Docutils package: /usr/local/lib/python2.6/dist-packages/docutils
138   ======================================================================
139   FAIL: test_find_file_in_dirs (test_utils.HelperFunctionsTests)
140   ----------------------------------------------------------------------
141   Traceback (most recent call last):
142     File "/usr/local/lib/python2.6/site-packages/docutils-test/test_utils.py", line 295, in test_find_file_in_dirs
143       '../HISTORY.txt')
144   AssertionError: 'HISTORY.txt' != '../HISTORY.txt'
146 Stopping for now.
150 Release 0.10
151 ============
153 * same failures for some python2.6 versions ::
155               Problems with "raw" directive path:
156        -      InputError: [Errno 2] No such file or directory: 'non-existent.file'.
157        +      InputError: (2, 'No such file or directory').
159 * testing release tarball ::
161     ======================================================================
162     FAIL: test_dependencies (__main__.RecordDependenciesTests)
163     ----------------------------------------------------------------------
164     Traceback (most recent call last):
165       File "docutils-test/test_dependencies.py", line 61, in test_dependencies
166         self.assertEqual(record, expected)
167     AssertionError: [u'data/include.txt', u'data/raw.txt'] != [u'../docs/user/rst/images/title.png',
168     u'data/include.txt', u'data/raw.txt']
169     
170     ...
172   because ../docs is not there if run from /usr/../pythonx.x/site-packages/docutils-test.
174 Release 0.9.1
175 =============
177 same failures as for 0.9 plus
179 * python 2.3: twice, ignored ::
181   -             [Errno 2] No such file or directory: 'bogus.csv'.
182   +             [Errno 2] No such file or directory: u'bogus.csv'.
184   python 2.3 ::
186     ======================================================================
187     ERROR: test_unicode (test_error_reporting.ErrorStringTests)
188     ----------------------------------------------------------------------
189     Traceback (most recent call last):
190       File "/usr/local/lib/python2.3/site-packages/docutils-test/test_error_reporting.py", line 153, in test_unicode
191         self.assertEqual(u'ImportError: %s' % SafeString(self.bs),
192     UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 0: ordinal not in range(128)
194 Note: sf takes some considerable time till the downlods are visible for normal users.
195   More than 1 hour , the folder files/docutils/0.9.1 exists and the webinterface
196   correctly summarizes "Totals: 2 Items         1.6 MB" but nothing is shown.
198 Release 0.9
199 ===========
201 * python 2.3 unittest.TestCase has no assertTrue
202 * python 2.3 keyword dictionaries update method does not support kwargs
204 Ignored test errors
206 * python 2.3: unicode problems. 2.3 support is likely to be ended soon.
207   Systems with only 2.3 might not even know of unicode.
209 * PIL ``AttributeError: 'module' object has no attribute 'Image'``
211   A problem in PIL ? 
212   Tested and failiing on
214   - ubuntu8.04, python 2.4, 2.5  
215   - ubuntu10.04, python 2.6  
216   - ubuntu11.10, python 2.7  
218 * python 2.6.4rc1 has a different error message format::
220               Problems with "raw" directive path:
221        -      InputError: [Errno 2] No such file or directory: 'non-existent.file'.
222        +      InputError: (2, 'No such file or directory').
224   but not in python 2.6.7