Your message dated Thu, 10 Jan 2019 20:44:57 +0000
with message-id <e1ghhcd-0005st...@fasolo.debian.org>
and subject line Bug#918090: fixed in theano 1.0.3+dfsg-1
has caused the Debian Bug report #918090,
regarding theano: C-optimized ops fail with "module 'numpy.core.multiarray' has 
no attribute '_get_ndarray_c_version'"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
918090: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918090
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: theano
Version: 1.0.2+dfsg-1
Severity: serious
Control: tags -1 patch

Many Theano operations include C code for speed; the compilation process uses an undocumented Numpy function to check ABI compatibility.

In Numpy 1.16 (recently added to sid), this function is moved, causing all compiles to fail: https://ci.debian.net/data/packages/unstable/amd64/t/theano/latest-autopkgtest/log.gz

Fix:

--- a/theano/theano/gof/cc.py
+++ b/theano/theano/gof/cc.py
@@ -1375,12 +1375,8 @@

         # We must always add the numpy ABI version here as
         # DynamicModule always add the include <numpy/arrayobject.h>
-        if np.lib.NumpyVersion(np.__version__)<'1.16.0a':
-            ndarray_c_version = np.core.multiarray._get_ndarray_c_version()
-        else:
- ndarray_c_version = np.core._multiarray_umath._get_ndarray_c_version()
         sig.append('NPY_ABI_VERSION=0x%X' %
-                   ndarray_c_version)
+                   np.core.multiarray._get_ndarray_c_version())
         if c_compiler:
             sig.append('c_compiler_str=' + c_compiler.version_str())

--- End Message ---
--- Begin Message ---
Source: theano
Source-Version: 1.0.3+dfsg-1

We believe that the bug you reported is fixed in the latest version of
theano, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 918...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <rebecca_pal...@zoho.com> (supplier of updated theano package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Jan 2019 19:12:25 +0000
Source: theano
Binary: python-theano python3-theano theano-doc
Architecture: source
Version: 1.0.3+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Rebecca N. Palmer <rebecca_pal...@zoho.com>
Description:
 python-theano - CPU/GPU math expression compiler for Python
 python3-theano - CPU/GPU math expression compiler for Python 3
 theano-doc - CPU/GPU math expression compiler for Python (docs)
Closes: 918090 918771
Changes:
 theano (1.0.3+dfsg-1) unstable; urgency=medium
 .
   * New upstream release.
   * Refresh patch.
   * Don't list the old upstream as contact.
   * Install release notes as NEWS.gz to comply with
     Standards-Version 4.3.0.
   * tests: Stop using deprecated needs-recommends.
   * Fix crash with numpy 1.16.  (Closes: #918090)
   * Check that d3viz profiling runs but, for reproducibility,
     don't regenerate the profiling output in the documentation.
   * Don't apply numpy_api_changes.diff when using Cython >= 0.29,
     as the code it patches no longer exists.  (Closes: #918771)
Checksums-Sha1:
 a52f6705f198e87d5c78545afbf8f35b8cd0cf10 3266 theano_1.0.3+dfsg-1.dsc
 148a18368a058ec3a7fb9a9b5f4f2313df5544b6 12850913 theano_1.0.3+dfsg.orig.tar.gz
 e70133435f565c149e7bf462a9f99cf1f09a0048 97200 
theano_1.0.3+dfsg-1.debian.tar.xz
 4e1a2c4285dfa4f65da253d1667356d6ff2e4377 6509 
theano_1.0.3+dfsg-1_source.buildinfo
Checksums-Sha256:
 0517add0c72502a8d15e1fc2fa9f9c195b2765244e10a26f778a1100b81f5deb 3266 
theano_1.0.3+dfsg-1.dsc
 0c1cc2cf2752a20e8f17095dcad3ac95f5e2c5511ab7d09e1a4e509bcfdff28d 12850913 
theano_1.0.3+dfsg.orig.tar.gz
 a157c068a7de44f8f67b2c439053ecd3845a601de0d4b3e38ce24a0c1a6dae7c 97200 
theano_1.0.3+dfsg-1.debian.tar.xz
 488be6b90619ea5ea716313036aa30314cd820da498a3b4854080de97916a729 6509 
theano_1.0.3+dfsg-1_source.buildinfo
Files:
 9b1bf72fcd03aa3c51f54bc678594af7 3266 science optional theano_1.0.3+dfsg-1.dsc
 dff0a59792d3624b1a12df8ae2584126 12850913 science optional 
theano_1.0.3+dfsg.orig.tar.gz
 a300fde817d25d705d0f5bb9aeefd138 97200 science optional 
theano_1.0.3+dfsg-1.debian.tar.xz
 1f4ba029cdcd3d6941636a145844b83a 6509 science optional 
theano_1.0.3+dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCAA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAlw3p8YYHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmE8QP/0TOTQ85KJEMs3Pa1y/ucTS/
Q0aRWcLwl7uHmu3krDWxVwdiawlan1zblug591Jl7BOMF8aVtb0JfcZL7PhFQLp/
IG7WaWYoHm/RvdzliNokeUBBjPeE03xkmRN+JbKeaCdqVQI4QyrhG9NwLvMtX3aO
2gktkME1tKyS5ZoH8xWAcM6+sV+VrxRlXJ9dltuG406hm98XXvuCnIK2Y2PoU7IH
mwIHH2cy+kZ7GQThSdltcZ3ESzvEzaeqRIZqTn/ixsRVq2Kjcg7RV4pnIQPj//R/
o2097ImC7PmshVKD/o5dDVkHFgRlknlKeTvNFEuGs0P1yzPAyST4OhcOOz3+CgTw
6k5zi/RGC/1FuJUos5/Yfek2glPfgaM3uhOJ0Cfg1lcnLHrv1D3D9BNRAvRsgqhW
LTZU8E8/igSopMgnvdYnjOGu2y6jplXnjs1IKc/ofiiqZ/8ttipyzeekvoo0NyvT
X7JFtnyDE1nZmmU1Fmyoe4GriOi9+4jJsVqKRV+oHUMmySRTyGS0l8E3PE8K/WRW
huXD80bEEPZdGA6/YBBrxO7et4sgGK8LWs26YQuTB7zlvFVFOtcPJ1B3aHELuX+2
rQh2tyyubPF1OaufHGQM7bTyU/qRk2g1wV8jt0zXSX+0BhX3Jx6ihi7bjTHqfaNy
pbJZUydg2Y0Zsn+TOEvb
=5ZCB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to