Your message dated Wed, 02 Jan 2019 16:19:42 +0000
with message-id <e1gejf8-000faw...@fasolo.debian.org>
and subject line Bug#916355: fixed in cython 0.29.2-1
has caused the Debian Bug report #916355,
regarding cython: References to non-existent members of PyThreadState in Python 
3.7
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.)


-- 
916355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916355
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cython
Version: 0.28.4-1
Severity: grave
Tags: upstream patch
Justification: renders package unusable

Dear Maintainer,

While building and testing an update to lasagne, I got the following
error, which I have tracked down to cython.

```
E Exception: ('The following error happened while compiling the node',
forall_inplace,cpu,scan_fn}(Elemwise{sub,no_inplace}.0,
Subtensor{int64:int64:int64}.0, IncSubtensor{InplaceSet;:int64:}.0,
Join.0), '\n', 'Compilation failed (return status=1):
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:
In function ‘void __Pyx__ExceptionSave(PyThreadState*, PyObject**,
PyObject**,
PyObject**)’:. 
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12749:21:
error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named
‘exc_type’; did you mean ‘curexc_type’?.  *type = tstate->exc_type;.
^~~~~~~~.
curexc_type. 
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12750:22:
error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named
‘exc_value’; did you mean ‘curexc_value’?.  *value =
tstate->exc_value;.  ^~~~~~~~~.
curexc_value. 
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12751:19:
error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named
‘exc_traceback’; did you mean ‘curexc_traceback’?.  *tb =
tstate->exc_traceback;.  ^~~~~~~~~~~~~.
curexc_traceback. 
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:
In function ‘void __Pyx__ExceptionReset(PyThreadState*, PyObject*,
PyObject*,
PyObject*)’:. 
/<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12758:24:
error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named
‘exc_type’; did you mean ‘curexc_type’?.  tmp_type =
tstate->exc_type;.  ^~~~~~~~.
```

Lasagne uses theano, which run-time compiles Python extensions using
cython.  When used with python 3.7, cython generates code containing
references to members of PyThreadState that do not exist.  This seems
to be related to an upstream bug which has been fixed:

https://github.com/cython/cython/issues/1955

Therefore, I recommend upgrading the cython package to the latest
release which is only a couple of weeks old.  I have provided a merge
request for this update here:

https://salsa.debian.org/python-team/applications/cython/merge_requests/2


regards,
Steve


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-42-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages cython depends on:
ii  libc6   2.28-2
ii  python  2.7.15-3

Versions of packages cython recommends:
ii  gcc         4:8.2.0-2
ii  python-dev  2.7.15-3

Versions of packages cython suggests:
pn  cython-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cython
Source-Version: 0.29.2-1

We believe that the bug you reported is fixed in the latest version of
cython, 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 916...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Hansen <than...@debian.org> (supplier of updated cython 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: Wed, 02 Jan 2019 16:56:36 +0100
Source: cython
Binary: cython cython-dbg cython3 cython3-dbg cython-doc
Architecture: source
Version: 0.29.2-1
Distribution: experimental
Urgency: medium
Maintainer: Python Applications Packaging Team 
<python-apps-t...@lists.alioth.debian.org>
Changed-By: Tobias Hansen <than...@debian.org>
Description:
 cython     - C-Extensions for Python
 cython-dbg - C-Extensions for Python - debug build
 cython-doc - C-Extensions for Python - documentation
 cython3    - C-Extensions for Python 3
 cython3-dbg - C-Extensions for Python 3 - debug build
Closes: 916355
Changes:
 cython (0.29.2-1) experimental; urgency=medium
 .
   * Team upload to experimental.
   * New upstream release. (Closes: #916355)
   * Remove patches (applied upstream):
     - fix-fused-test.patch
     - drop-test.patch
Checksums-Sha1:
 360af5d759c12420065225cb8b710302042f3f87 2517 cython_0.29.2-1.dsc
 10b8bcd60e1142f21b06d1a4d5e55a830b0e1e8a 2041500 cython_0.29.2.orig.tar.gz
 ec10ef1c0416f3ee5faa8c4bc449c8988566ed70 25448 cython_0.29.2-1.debian.tar.xz
 517d0e33de885c043b0288a344c6b71e5bf4193a 7777 cython_0.29.2-1_source.buildinfo
Checksums-Sha256:
 bcce07a55b7fc39a6b5b99342c8ddb624009f3837ee9c9eccf71218234852ab2 2517 
cython_0.29.2-1.dsc
 2ac187ff998a95abb7fae452b5178f91e1a713698c9ced89836c94e6b1d3f41e 2041500 
cython_0.29.2.orig.tar.gz
 5355876124a9992d0d2ac23b97a6d0932b91c5dbfe7883b0cb447a83cbc78b83 25448 
cython_0.29.2-1.debian.tar.xz
 aab046a52c2b622cb559519ed28449225e1de4d2e336426f6acd70e7388fc148 7777 
cython_0.29.2-1_source.buildinfo
Files:
 373c54be721bac21727a68607b9262fc 2517 python optional cython_0.29.2-1.dsc
 175af2d64f9ae09d25f5cf8181388559 2041500 python optional 
cython_0.29.2.orig.tar.gz
 994762455625e49bdeee6d8d8e682fa2 25448 python optional 
cython_0.29.2-1.debian.tar.xz
 5e99a8a82ddef56f27ce1dd40014078b 7777 python optional 
cython_0.29.2-1_source.buildinfo

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

iQIzBAEBCAAdFiEEoH46ol3M2u2mYo0kjIIWnY7OzSoFAlws38UACgkQjIIWnY7O
zSrssQ//cComSrHcu3UauzPevc6xEDvD3sUx3KP9KdalbQsWkP3bDO05KmjNrWT2
p3xYnKzvyMlgM9+fiC216eFkT9vwVsob9fAfi/W/W/SdM2I4eyEbvOSuye4pKpmt
IJkpgH9M5hJLyd9vJb8PrMewOiQXHlGnSS4xhhIFjOPQ5DP04LduDuA1iiBnnKW+
NnmHfY924Anjik9Geh2sMuV5dVhFIBLr342R1aVHqNQjbQ9T1K+TrLXJNzX/sCEW
SdkYiDQx4gys0viS3qdfvdldbw3bNd9jUchUHe0AQisIgjNHpv4Y1PV4IQHPDIN3
pr+mvMvMZ+yah4HiLnV55SkbRuWnviObS7KUb/6ldgSixk33G7bmAzFY44XneXDe
tPBXbXw5uRegHp3ZU3GLdDaKvuY/JTHrfz0idp08ENw0E+PH7Gr1cv8buJja8sBi
6gRvhBGab8S/WR34STEHWpSLVC0kIr8aS34HM62gVKEtL7Y0b2x1DGClYqa1+Lng
BOJgx0T1hg3RwF1FUidL4euf4sAhBLb9mFVmATp/BTPiyJDVeXkDE1/NtEMsDsbv
dktgeIe0Dy1kf3y1qDZWBUXjiHqYzFFTaTfoIHGUojA7UDiSIRJBt4yEuvw60PVZ
JuoshWAmWGMoLxOfGtdHWwaURm7ALGbFCM7V1AUJ96Id9TQoq/I=
=3jfV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to