Package: python-csb / 1.2.5+dfsg-10

Metadata

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

Patch series

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

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

 exclude tests requiring online access


reproducible.patch | (download)

csb/apps/hhsearch.py | 9 6 + 3 - 0 !
csb/bio/sequence/__init__.py | 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)

setup.py | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix reading utf-8 encoded files


avoid multiple namespace.patch | (download)

csb/test/__init__.py | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 do not multiple-inherit nameerror and importerror, rather simply raise nameerror when import is not found
python3 syntax.patch | (download)

csb/build.py | 6 3 + 3 - 0 !
csb/test/cases/core/__init__.py | 2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fix python3 syntax
Bug-Debian: https://bugs.debian.org/1040283
python 3.12.patch | (download)

csb/build.py | 4 2 + 2 - 0 !
csb/test/__init__.py | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 replace imp usage with importlib since the former is removed with py3.12