Package: python3-theano Version: 1.0.4+dfsg-1 Severity: normal
Hi. First of all, thanks for packaging Theano. It is really appreciated. Now, to the bug report. I was just installing python3-theano now and it showed some warnings: ,---- | Setting up python3-parameterized (0.7.0-2) ... | Setting up python3-theano (1.0.4+dfsg-1) ... | /usr/lib/python3/dist-packages/theano/compile/mode.py:264: SyntaxWarning: "is" with a literal. Did you mean "=="? | if optimizer is 'default': | /usr/lib/python3/dist-packages/theano/gof/op.py:1543: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? | define_macros.append("#define INPUT_%d %s" (i, inp)) | /usr/lib/python3/dist-packages/theano/gof/op.py:1547: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? | define_macros.append("#define OUTPUT_%d %s" (i, inp)) | /usr/lib/python3/dist-packages/theano/gof/opt.py:1287: SyntaxWarning: "is" with a literal. Did you mean "=="? | if len(tracks) is 0: | /usr/lib/python3/dist-packages/theano/gof/tests/test_link.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="? | assert 1.0 is fn(1.0) | /usr/lib/python3/dist-packages/theano/tensor/nnet/bn.py:645: SyntaxWarning: "is" with a literal. Did you mean "=="? | return [theano.gradient.DisconnectedType()() if r is 0 else r | /usr/lib/python3/dist-packages/theano/tensor/nnet/tests/test_conv.py:98: SyntaxWarning: "is not" with a literal. Did you mean "!="? | if border_mode is not 'full': | /usr/lib/python3/dist-packages/theano/tests/test_determinism.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="? | if var.name is not None and var.name is not 'b': `---- All of these warnings are easy to solve and show some questionable code, like: ,---- | define_macros.append("#define OUTPUT_%d %s" (i, inp)) `---- It would be great if we could have a new upload with these bugs fixed. Thanks, Rogério Brito. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (150, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8), LANGUAGE=en_US.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-theano depends on: ii libatlas-base-dev [libblas.so] 3.10.3-9 ii libopenblas-pthread-dev [libblas.so] 0.3.7+ds-7 ii python3 3.7.5-3 ii python3-dev 3.7.5-3 ii python3-numpy 1:1.17.4-5 ii python3-scipy 1.3.3-3 ii python3-six 1.14.0-2 Versions of packages python3-theano recommends: ii cython3 0.29.14-0.1+b1 ii g++ 4:9.2.1-3.1 ii graphviz 2.42.2-3 ii libgpuarray-dev 0.7.6-5 ii python3-nose 1.3.7-4 ii python3-parameterized 0.7.0-2 ii python3-pkg-resources 44.0.0-1 ii python3-pydot 1.4.1-3 ii python3-pygpu 0.7.6-5 Versions of packages python3-theano suggests: pn nvidia-cuda-toolkit <none> pn python3-pycuda <none> pn theano-doc <none> -- no debconf information -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br