Package: theano / 1.0.5+dfsg-1

Metadata

Package Version Patches format
theano 1.0.5+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
disable overly environment dependent test.patch | (download)

theano/sparse/tests/test_basic.py | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

 disable overly environment-dependent tests
 Testing speed by wall-clock time is inherently unreliable on a
 shared machine such as Debian's buildds: don't let it fail the whole build.
strip docs.patch | (download)

doc/conf.py | 2 1 + 1 - 0 !
doc/index.txt | 15 0 + 15 - 0 !
2 files changed, 1 insertion(+), 16 deletions(-)

 strip privacy-breach-generic stuff from docs
 and disable html_last_updated_fmt for reproducible builds
linkcode.patch | (download)

doc/conf.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 don't try to link to the git commit number

It will be either nonexistent (crashing the build), or an Alioth/etc
commit that isn't in upstream's repository (making broken links)

Also don't try to link above the root
(theano.gof.graph.nodes_constructed() is decorated, which makes it find
the decorator from libpython), as this won't work and is unreproducible

docgen homedir.patch | (download)

doc/scripts/docgen.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't ignore theano_flags when building documentation

This is needed to allow debian/rules to change base_compiledir,
as pbuilder does not allow writing to the build user's home directory 

doc use local links.patch | (download)

README.rst | 2 2 + 0 - 0 !
doc/index.txt | 4 2 + 2 - 0 !
doc/introduction.txt | 2 1 + 1 - 0 !
doc/library/d3viz/index.ipynb | 8 4 + 4 - 0 !
doc/library/d3viz/index.txt | 8 4 + 4 - 0 !
doc/library/sparse/index.txt | 2 1 + 1 - 0 !
doc/tutorial/shape_info.txt | 2 1 + 1 - 0 !
7 files changed, 15 insertions(+), 13 deletions(-)

 make within-documentation links local

Links were found by
find doc -iname "*.ipynb" -print0 | xargs -0 sed -i -E -e "s=https?://deeplearning.net/software/theano/==g" 
find doc -iname "*.txt" -print0 | xargs -0 sed -i -E -e "s=<https?://deeplearning.net/software/theano/=<=g"
but manual editing is then required to add the right number of ../s.

improve cache permission errors.patch | (download)

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

 state how to change the cache location in error messages

This mostly affects build-time testing of reverse dependencies,
as Debian buildds have no home directory for the build user.

show test output.patch | (download)

theano/tests/run_tests_in_batch.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 show test names when run, not when ids collected

opencl warn.patch | (download)

theano/gpuarray/__init__.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 warn that not everything works in opencl

There are definitely test failures, but I have not checked whether
any of them are "wrong answer without warning"

python3 shebangs.patch | (download)

bin/theano-cache | 2 1 + 1 - 0 !
bin/theano-nose | 2 1 + 1 - 0 !
bin/theano_cache.py | 2 1 + 1 - 0 !
bin/theano_nose.py | 2 1 + 1 - 0 !
setup.py | 2 1 + 1 - 0 !
theano/tests/run_tests_in_batch.py | 2 1 + 1 - 0 !
6 files changed, 6 insertions(+), 6 deletions(-)

 use python 3 in script shebangs

Intended to cover the ones we use and/or ship as executable; doing
them all would be untested (e.g. check_dnn_conv.py is Nvidia-only)

fail on test fail.patch | (download)

theano/tests/run_tests_in_batch.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fail the build on test failures

bin in theano.patch | (download)

bin/theano-cache | 2 1 + 1 - 0 !
bin/theano-nose | 2 1 + 1 - 0 !
setup.py | 4 2 + 2 - 0 !
theano/tests/run_tests_in_batch.py | 2 1 + 1 - 0 !
4 files changed, 5 insertions(+), 5 deletions(-)

 don't use a generic bin directory