Package: python-csb / 1.2.5+dfsg-5


Package Version Patches format
python-csb 1.2.5+dfsg-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
exclude_online_tests.patch | (download)

csb/test/cases/bio/io/wwpdb/ | 37 0 + 37 - 0 !
1 file changed, 37 deletions(-)

 exclude tests requiring online access

reproducible.patch | (download)

csb/apps/ | 9 6 + 3 - 0 !
csb/bio/sequence/ | 4 2 + 2 - 0 !
2 files changed, 8 insertions(+), 5 deletions(-)

 make documentation build reproducible
 Some parts of the source involve some nondeterminism or build-time
 variation when converted to the documentation via epydoc, making
 the build unreproducible.
 The first issue is the fact that sets of classes (types) cannot be sorted
 deterministically when converted to lists -- Python 2 uses addresses
 as keys, in Python 3 types are unorderable. This patch uses a list instead
 of a set, which is OK here as the original set contents are expliitly defined,
 constant and small. This is not a bug to be fixed in epydoc as IMHO it's
 already handled as well as possible in epydoc itself, so I had to work
 around the issue here in python-csb; if it can't be sorted that's it. 
 Secondly, function default parameters are included in the documentation,
 which in the case of runmany() contains the number of CPUs in the build host.
 This patch moves this default assignment out of the function header into the
 body, from where it's not included in the documentation.
fix_setup.patch | (download) | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix reading utf-8 encoded files