FS#79973 - [python-pandas] FTBFS (cython 3 incompatibility)

Attached to Project: Arch Linux
Opened by Levi Zim (kxxt) - Sunday, 15 October 2023, 13:00 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Error compiling Cython file:
------------------------------------------------------------
...
if weighted == weighted:

if is_observation or not ignore_na:
if normalize:
if use_deltas:
old_wt *= old_wt_factor ** sub_deltas[i - 1]
^
------------------------------------------------------------

pandas/_libs/window/aggregations.pyx:1795:32: Cannot assign type 'npy_float64 complex' to 'float64_t'
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
return cythonize_one(*m)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pandas/_libs/window/aggregations.pyx

Changing cython to cython0 solves it.

Additional info:
* package version(s) untagged git HEAD (716528105f118fdd0d5094b275901ab31992b634)
* Upstream issue: https://github.com/pandas-dev/pandas/issues/34213
* patch attached
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:20 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-pandas/issues/2

Loading...