Your message dated Thu, 14 Dec 2023 13:40:54 -0100
with message-id 
<cam8zjqujmc530wnvhist0hoyacchitt-5sk_+bprbavxett...@mail.gmail.com>
and subject line python-thinc ftbfs with Python 3.12 (and cython 3.0.5)
has caused the Debian Bug report #1056038,
regarding python-thinc ftbfs with Python 3.12 (and cython 3.0.5)
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.)


-- 
1056038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056038
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-thinc
Version: 8.1.7-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

python-thinc ftbfs with Python 3.12 (and cython 3.0.5):

[...]
Error compiling Cython file:
------------------------------------------------------------
...
        dims = table.shape[1]

        cdef np.ndarray output
        if reals2d_ft is float2d_t:
            output = self.xp.zeros((rows, dims), dtype="float32")
cpu_gather_add(saxpy(cblas), <float *>output.data, &table[0, 0], &indices[0, 0],
                                ^
------------------------------------------------------------

thinc/backends/numpy_ops.pyx:448:32: Cannot assign type 'saxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, float, const float *, int, float *, int) except * nogil'.

Error compiling Cython file:
------------------------------------------------------------
...
        dims = table.shape[1]

        cdef np.ndarray output
        if reals2d_ft is float2d_t:
            output = self.xp.zeros((rows, dims), dtype="float32")
cpu_gather_add(saxpy(cblas), <float *>output.data, &table[0, 0], &indices[0, 0],
                                ^
------------------------------------------------------------

thinc/backends/numpy_ops.pyx:448:32: Cannot assign type 'saxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, float, const float *, int, float *, int) except * nogil'.

Error compiling Cython file:
------------------------------------------------------------
...
            output = self.xp.zeros((rows, dims), dtype="float32")
cpu_gather_add(saxpy(cblas), <float *>output.data, &table[0, 0], &indices[0, 0],
                        table.shape[0], dims, rows, indices.shape[1])
        else:
            output = self.xp.zeros((rows, dims), dtype="float64")
cpu_gather_add(daxpy(cblas), <double *>output.data, &table[0, 0], &indices[0, 0],
                                ^
------------------------------------------------------------

thinc/backends/numpy_ops.pyx:452:32: Cannot assign type 'daxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, double, const double *, int, double *, int) except * nogil'.

Error compiling Cython file:
------------------------------------------------------------
...
            output = self.xp.zeros((rows, dims), dtype="float32")
cpu_gather_add(saxpy(cblas), <float *>output.data, &table[0, 0], &indices[0, 0],
                        table.shape[0], dims, rows, indices.shape[1])
        else:
            output = self.xp.zeros((rows, dims), dtype="float64")
cpu_gather_add(daxpy(cblas), <double *>output.data, &table[0, 0], &indices[0, 0],
                                ^
------------------------------------------------------------

thinc/backends/numpy_ops.pyx:452:32: Cannot assign type 'daxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, double, const double *, int, double *, int) except * nogil'.



complete build log at
https://launchpadlibrarian.net/697893737/buildlog_ubuntu-noble-amd64.python-thinc_8.1.7-1build1_BUILDING.txt.gz

--- End Message ---
--- Begin Message ---
python-thinc 8.1.7-1+b1 built successfully with cython3 0.29.36-3.1.
The failure with cython 3.0.x is #1056875.

--- End Message ---

Reply via email to