FTBFS (cython 3 incompatibility)
Task Info (Flyspray) | |
---|---|
Opened By | Levi Zim (kxxt) |
Task ID | 79973 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-10-15 13:00:38 UTC |
Status | Assigned |
Assignee | Bruno Pagani (ArchangeGabriel) |
Assignee | Morten Linderud (Foxboron) |
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 (71652810)
- Upstream issue: https://github.com/pandas-dev/pandas/issues/34213
- patch attached