Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898706 - dev-python/pandas-1.5.3 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: timedeltas.pyx
Summary: dev-python/pandas-1.5.3 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Er...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Blocks: cython3-tracker
  Show dependency tree
Reported: 2023-03-02 08:26 UTC by Agostino Sarubbo
Modified: 2024-02-28 12:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,56.73 KB, text/plain)
2023-03-02 08:26 UTC, Agostino Sarubbo
dev-python:pandas-1.5.2:20230829-183227.log (dev-python:pandas-1.5.2:20230829-183227.log,21.27 KB, text/plain)
2023-08-29 18:35 UTC, Maciej Barć

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 08:26:33 UTC

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

(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 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]

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):

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

    dev-python/pandas: depend on <cython-3 for older versions
    Signed-off-by: Sam James <>

 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(+)