[devel] [#332788] TESTED (try 4) srpm=python3-module-Cython-3.0.6-alt1.src.rpm

Andrey Limachko liannnix ÎÁ altlinux.org
óÒ äÅË 13 17:06:58 MSK 2023


ðÏÐÒÏÂÏ×ÁÌ ÓÏÂÒÁÔØ python3-module-Enable Ó Cython 3. ðÏÓÙÐÁÌÉÓØ ÏÛÉÂËÉ.
ðÏÄÓËÁÖÉÔÅ, ÞÔÏ Ó ÎÉÍÉ ÍÏÖÎÏ ÓÄÅÌÁÔØ?
÷ upstream ÎÅ ÐÏÆÉËÓÉÌÉ, ÐÒÏÓÔÏ Ñ×ÎÏ ÕËÁÚÁÌÉ × ÓÂÏÒÏÞÎÙÈ ÚÁ×ÉÓÉÍÏÓÔÑÈ 
cython<3.

Error compiling Cython file:
------------------------------------------------------------
...
# Thanks for using Enthought open source!
import cython
import numpy as np
from numpy cimport uint8_t

cimport _marker_renderer
 ššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:14:8: '_marker_renderer.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...
import numpy as np
from numpy cimport uint8_t

cimport _marker_renderer

ctypedef _marker_renderer.marker_renderer_base renderer_base_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:16:9: 'marker_renderer_base' is not a type 
identifier

Error compiling Cython file:
------------------------------------------------------------
...

 ššššššš self._this.transform(_sx, _sy, _shx, _shy, _tx, _ty)


# Template specializations
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:91:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš self._this.transform(_sx, _sy, _shx, _shy, _tx, _ty)


# Template specializations
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_argb32] 
renderer_argb32_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:92:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...


# Template specializations
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_argb32] 
renderer_argb32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgra32] 
renderer_bgra32_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:93:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...

# Template specializations
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_argb32] 
renderer_argb32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgra32] 
renderer_bgra32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_rgba32] 
renderer_rgba32_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:94:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
# Template specializations
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_argb32] 
renderer_argb32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgra32] 
renderer_bgra32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_rgba32] 
renderer_rgba32_t
ctypedef _marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgr24] 
renderer_bgr24_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:95:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_abgr32] 
renderer_abgr32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_argb32] 
renderer_argb32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgra32] 
renderer_bgra32_t
ctypedef 
_marker_renderer.marker_renderer[_marker_renderer.pixfmt_rgba32] 
renderer_rgba32_t
ctypedef _marker_renderer.marker_renderer[_marker_renderer.pixfmt_bgr24] 
renderer_bgr24_t
ctypedef _marker_renderer.marker_renderer[_marker_renderer.pixfmt_rgb24] 
renderer_rgb24_t
 šššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:96:9: 'marker_renderer' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš cdef:
 ššššššššššš double[:,::1] _points = np.asarray(points, 
dtype=np.float64, order='c')
 ššššššššššš double[::1] _fill = np.asarray(fill, dtype=np.float64, 
order='c')
 ššššššššššš double[::1] _stroke = np.asarray(stroke, dtype=np.float64, 
order='c')
 ššššššššššš unsigned _size = <unsigned>size
 ššššššššššš _marker_renderer.marker_type _marker = 
<_marker_renderer.marker_type>marker
 ššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:51:12: 'marker_type' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
cdef class MarkerRendererBase:
 ššš cdef renderer_base_t* _this
 ššš cdef object py_array

 ššš def __dealloc__(self):
 ššššššš del self._this
 ššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:24:16: Deletion of non-Python, non-C++ object

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš cdef:
 ššššššššššš double[:,::1] _points = np.asarray(points, 
dtype=np.float64, order='c')
 ššššššššššš double[::1] _fill = np.asarray(fill, dtype=np.float64, 
order='c')
 ššššššššššš double[::1] _stroke = np.asarray(stroke, dtype=np.float64, 
order='c')
 ššššššššššš unsigned _size = <unsigned>size
 ššššššššššš _marker_renderer.marker_type _marker = 
<_marker_renderer.marker_type>marker
 ššššššššššššššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:51:52: 'marker_type' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššššššš raise ValueError(msg)
 ššššššš if _fill.shape[0] != 4:
 ššššššššššš msg = "fill argument must be an iterable of 4 numbers."
 ššššššššššš raise ValueError(msg)

 ššššššš return self._this.draw_markers(
 šššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:63:19: Cannot convert 'renderer_base_t *' to 
Python object

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš if _fill.shape[0] != 4:
 ššššššššššš msg = "fill argument must be an iterable of 4 numbers."
 ššššššššššš raise ValueError(msg)

 ššššššš return self._this.draw_markers(
 ššššššššššš &_points[0][0], _points.shape[0], _size, _marker,
 ššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:64:12: Cannot convert 'double *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššššššš msg = "fill argument must be an iterable of 4 numbers."
 ššššššššššš raise ValueError(msg)

 ššššššš return self._this.draw_markers(
 ššššššššššš &_points[0][0], _points.shape[0], _size, _marker,
 ššššššššššš &_fill[0], &_stroke[0]
 ššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:65:12: Cannot convert 'double *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššššššš msg = "fill argument must be an iterable of 4 numbers."
 ššššššššššš raise ValueError(msg)

 ššššššš return self._this.draw_markers(
 ššššššššššš &_points[0][0], _points.shape[0], _size, _marker,
 ššššššššššš &_fill[0], &_stroke[0]
 šššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:65:23: Cannot convert 'double *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššššššš double _shx = <double>shx
 ššššššššššš double _shy = <double>shy
 ššššššššššš double _tx = <double>tx
 ššššššššššš double _ty = <double>ty

 ššššššš self._this.transform(_sx, _sy, _shx, _shy, _tx, _ty)
 ššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:87:12: Cannot convert 'renderer_base_t *' to 
Python object

Error compiling Cython file:
------------------------------------------------------------
...
ctypedef _marker_renderer.marker_renderer[_marker_renderer.pixfmt_rgb24] 
renderer_rgb24_t

cdef class MarkerRendererABGR32(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_abgr32_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:101:40: new operator can only be applied to a 
C++ class

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš )

cdef class MarkerRendererARGB32(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_argb32_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:108:40: new operator can only be applied to a 
C++ class

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš )

cdef class MarkerRendererBGRA32(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_bgra32_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:115:40: new operator can only be applied to a 
C++ class

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš )

cdef class MarkerRendererRGBA32(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_rgba32_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:122:40: new operator can only be applied to a 
C++ class

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš )

cdef class MarkerRendererBGR24(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_bgr24_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:129:40: new operator can only be applied to a 
C++ class

Error compiling Cython file:
------------------------------------------------------------
...
 ššššššš )

cdef class MarkerRendererRGB24(MarkerRendererBase):
 ššš def __cinit__(self, uint8_t[:,:,::1] image, bottom_up=True):
 ššššššš self.base_init(image)
 ššššššš self._this = <renderer_base_t*> new renderer_rgb24_t(
 ššššššššššššššššššššššššššššššššššššššš ^
------------------------------------------------------------

kiva/_marker_renderer.pyx:136:40: new operator can only be applied to a 
C++ class


12.12.2023 08:49, grenka ÎÁ altlinux.org ÐÉÛÅÔ:
> 11.12.2023 16:02, Andrey Limachko ÐÉÛÅÔ:
>> çÏÔÏ× ÐÏÍÏÞØ É ÐÏÐÒÁ×ÉÔØ ËÏÎËÒÅÔÎÙÅ ÐÁËÅÔÙ ÉÌÉ ÐÒÏÓÔÏ ÐÒÏÊÔÉÓØ ÐÏ 
>> ÓÐÉÓËÕ É ÐÏÆÉËÓÉÔØ ÔÅ, ËÏÔÏÒÙÍÉ ÎÉËÔÏ ÐÏËÁ ÎÅ ÚÁÎÉÍÁÅÔÓÑ.
> üÔÏ ÂÙÌÏ ÂÙ ÚÁÍÅÞÁÔÅÌØÎÏ! óÐÁÓÉÂÏ!
>>
>>
>> 04.12.2023 13:52, grenka ÎÁ altlinux.org ÐÉÛÅÔ:
>>> 04.12.2023 12:45, grenka ÎÁ altlinux.org ÐÉÛÅÔ:
>>>> 26.11.2023 22:00, Girar awaiter (aris) ÐÉÛÅÔ:
>>>>> https://git.altlinux.org/tasks/332788/logs/events.4.1.log
>>>>
>>>> ôÏ×ÁÒÉÝÉ! Cython3.0.* is coming.
>>>>
>>>> ôÅÓÔÏ×ÁÑ ÐÅÒÅÓÂÏÒËÁ [#335051] icarus DONE (try 2) 
>>>> srpm=python3-module-Cython-3.0.5-alt1.src.rpm
>>>>
>>>> ÐÏËÁÚÁÌÁ, ÞÔÏ ÜÔÏ ÏÂÎÏ×ÌÅÎÉÅ ÌÏÍÁÅÔ ÎÅÓËÏÌØËÏ ÄÅÓÑÔËÏ× ÐÁËÅÔÏ×: 
>>>> Mayavi šrider @everybody
>>>> arrowšš šshaba @everybody
>>>> blink-qtšš šcas @everybody
>>>> cephšš šshaba @qa
>>>> gawkšš š@core
>>>> h5pyšš š@python @everybody @qa
>>>> jack_mixeršš šboyarsh @everybody
>>>> libgupnp-igdšš šaris
>>>> prometheus-simpleclient-javašš šviy @everybody
>>>> pyliblošš šarseny @everybody
>>>> pytablesšš š@python @everybody @qa
>>>> python3-module-Enablešš šgrenka @everybody
>>>> python3-module-asyncpgšš šancieg @everybody
>>>> python3-module-cypari2šš šcas @everybody
>>>> python3-module-cysignalsšš šcas @everybody
>>>> python3-module-cython-hidapišš šlav @everybody
>>>> python3-module-eflšš šaris @everybody
>>>> python3-module-ffpyplayeršš šlav @everybody
>>>> python3-module-grpciošš šrider @everybody
>>>> python3-module-kivyšš šlav @everybody
>>>> python3-module-kmodšš šgrenka @python @everybody
>>>> python3-module-krb5šš šliannnix @everybody
>>>> python3-module-lupašš šslev @everybody
>>>> python3-module-lxmlšš šgrenka lav @python @qa @everybody
>>>> python3-module-mpi4pyšš šgrenka @everybody
>>>> python3-module-orderedsetšš šaris
>>>> python3-module-pandasšš šrider @everybody
>>>> python3-module-pulsectl-asynciošš šegori @everybody
>>>> python3-module-pyclipperšš š@python @everybody
>>>> python3-module-pyjniusšš šlav @everybody
>>>> python3-module-pylbfgsšš šgrenka @python
>>>> python3-module-pysndfilešš š@python @everybody
>>>> python3-module-scikits.sparsešš š@python @everybody
>>>> python3-module-scipyšš šrider @everybody
>>>> python3-module-sipsimplešš šcas @everybody
>>>> python3-module-statsmodelsšš šslev @everybody
>>>> python3-module-uharfbuzzšš šgrenka @everybody
>>>> python3-module-uvloopšš šancieg @everybody
>>>> python3-module-yamlšš šgrenka @everybody
>>>> setoolsšš šrider darktemplar sem led @qa
>>>> ðÒÏÛÕ ÐÏ ×ÏÚÍÏÖÎÏÓÔÉ ÐÏÓÍÏÔÒÅÔØ É ÁÄÁÐÔÉÒÏ×ÁÔØ ÓÂÏÒËÕ Ó×ÏÉÈ ÐÁËÅÔÏ× 
>>>> ÄÌÑ ÎÏ×ÏÇÏ Cython. ëÁË ÐÒÁ×ÉÌÏ ÞÉÎÉÔÓÑ ÜÔÏ ËÁË-ÔÏ ÔÁË: 
>>>> https://github.com/scoder/lupa/commit/fc0a1af99b7439c63951e4766ab64e37a63b3bcd 
>>>> https://github.com/lxml/lxml/commit/0e7d7e54cc66609ca5af0d04095a89ec350a06f6 
>>>> https://github.com/harfbuzz/uharfbuzz/commit/9a26b993ba70793f345b8822ba47377e2db4f206 
>>>> óÐÁÓÉÂÏ ÚÁ ×ÎÉÍÁÎÉÅ!
>>>
>>> åÓÌÉ ÏÐÑÔØ ÓßÅÄÅÔ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÅ, ÔÏ ÞÉÔÁÅÍÙÊ ÓÐÉÓÏË ÐÁËÅÔÏ× ÔÕÔ:
>>>
>>> https://git.altlinux.org/people/grenka/public/cython_ftbfs.git
>>> _______________________________________________
>>> Devel mailing list
>>> Devel ÎÁ lists.altlinux.org
>>> https://lists.altlinux.org/mailman/listinfo/devel
>>
> _______________________________________________
> Devel mailing list
> Devel ÎÁ lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

-- 
Andrey Limachko (liannnix)
Email: liannnix ÎÁ altlinux.org
Telegram: @liannnix
Mobile: +7 937 240-47-35



ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Devel