Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 898706

Summary: dev-python/pandas-1.5.3 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: timedeltas.pyx
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, mike, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/pandas-dev/pandas/pull/51640
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 897934    
Attachments: build.log
dev-python:pandas-1.5.2:20230829-183227.log

Description Agostino Sarubbo gentoo-dev 2023-03-02 08:26:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pandas-1.5.3 fails to compile (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:26:35 UTC
Created attachment 855556 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-02 08:26:36 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/timedeltas.pyx
Cython.Compiler.Errors.CompileError: pandas/_libs/window/aggregations.pyx
Comment 3 Maciej Barć gentoo-dev 2023-08-29 18:34:09 UTC
Can reproduce on a stable Gentoo system with PYTHON_TARGETS="python3_11".
Comment 4 Maciej Barć gentoo-dev 2023-08-29 18:35:42 UTC
Created attachment 868999 [details]
dev-python:pandas-1.5.2:20230829-183227.log

dev-python:pandas-1.5.2:20230829-183227.log
Comment 5 Larry the Git Cow gentoo-dev 2023-09-13 05:52:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44505e939b78cbaa20fe34198a1b7210b9b05c56

commit 44505e939b78cbaa20fe34198a1b7210b9b05c56
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-13 05:48:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-13 05:50:49 +0000

    dev-python/pandas: depend on <cython-3 for older versions
    
    Bug: https://bugs.gentoo.org/898706
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pandas/pandas-1.5.1.ebuild    | 2 ++
 dev-python/pandas/pandas-1.5.2.ebuild    | 2 ++
 dev-python/pandas/pandas-1.5.3.ebuild    | 1 +
 dev-python/pandas/pandas-2.0.0.ebuild    | 2 ++
 dev-python/pandas/pandas-2.0.1.ebuild    | 2 ++
 dev-python/pandas/pandas-2.0.2.ebuild    | 2 ++
 dev-python/pandas/pandas-2.0.3-r1.ebuild | 2 ++
 7 files changed, 13 insertions(+)