Summary: | dev-python/statsmodels-0.14.2 - statsmodels/.../_exponential_smoothers.c: error: implicit declaration of function PyDataType_ELSIZE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Bernd.Feige, mgorny, sci-mathematics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | fixed in 0.14.3 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
dev-python:statsmodels-0.14.2:20240417-135510.log.xz emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 890982 [details]
emerge-info.txt
Created attachment 890983 [details]
dev-python:statsmodels-0.14.2:20240417-135510.log.xz
Created attachment 890984 [details]
emerge-history.txt
Created attachment 890985 [details]
environment
Created attachment 890986 [details]
etc.clang.tar.xz
Created attachment 890987 [details]
etc.portage.tar.xz
Created attachment 890988 [details]
qlist-info.txt.xz
Created attachment 890989 [details]
temp.tar.xz
Thanks for the report! Experiencing this on dev-python/numpy-1.26.4 as multiple installed packages block the update to numpy-2 currently... Here is the background: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#migration-c-descr It appears that the migration advice given there was not heeded by statsmodels: You're supposed to do #if NPY_ABI_VERSION < 0x02000000 #define PyDataType_ELSIZE(descr) ((descr)->elsize) #endif This would have to be done for PyDataType_ALIGNMENT and others as well. The release 0.14.3 "compatibility with numpy-2" was done 3 days ago and there doesn't yet seem to be an issue for not compiling under numpy-1 any more... (In reply to Bernd Feige from comment #10) > Now filed as https://github.com/statsmodels/statsmodels/issues/9366 Was closed as "expected" by the maintainer: "Closing since this is as expected, and it appears to be a build configuration issue on Gentoo. We test against NumPy < 2, although building always requires NumPy 2.0.0+" So statsmodels-0.14.3.ebuild should require numpy-2. Thanks for investigating. That sucks a lot but whatever. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3076b344774c2944f0a4b7dd0d6fdaafabdab46 commit a3076b344774c2944f0a4b7dd0d6fdaafabdab46 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-09-18 11:22:39 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-09-18 14:03:20 +0000 dev-python/statsmodels: Require >=numpy-2.0.0 for building Closes: https://bugs.gentoo.org/930149 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/statsmodels/statsmodels-0.14.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) |