Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922447 - dev-python/statsmodels-0.14.1 fails tests on arm: TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
Summary: dev-python/statsmodels-0.14.1 fails tests on arm: TypeError: Cannot cast arra...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921062
  Show dependency tree
 
Reported: 2024-01-18 22:35 UTC by matoro
Modified: 2024-02-28 19:15 UTC (History)
3 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,307.91 KB, application/gzip)
2024-01-18 22:37 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-18 22:35:17 UTC
All the same issue.

FAILED statsmodels/distributions/tests/test_discrete.py::TestDiscretizedGamma::test_basic - TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
FAILED statsmodels/distributions/tests/test_discrete.py::TestDiscretizedExponential::test_basic - TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
FAILED statsmodels/distributions/tests/test_discrete.py::TestDiscretizedLomax::test_basic - TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
FAILED statsmodels/distributions/tests/test_discrete.py::TestDiscretizedBurr12::test_basic - TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
============================= 4 failed, 17535 passed, 308 skipped, 139 xfailed, 264 warnings in 480.91s (0:08:00) =============================

Reproducible: Always
Comment 1 matoro archtester 2024-01-18 22:37:31 UTC
Created attachment 882578 [details]
build.log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 13:04:20 UTC
Is this a regression from 0.14.0?

FWICS we have no stable arm revdeps for this, so we may as well dekeyword.
Comment 3 matoro archtester 2024-02-28 16:22:01 UTC
(In reply to Michał Górny from comment #2)
> Is this a regression from 0.14.0?
> 
> FWICS we have no stable arm revdeps for this, so we may as well dekeyword.

I don't think it's possible to merge 0.14.0, because it needs <dev-python/cython-3, but also indirectly dev-python/numpy, and all versions in tree require >=dev-python/cython-3.0.0.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 16:24:41 UTC
Cython is a built-time dep.  Install numpy first, then build statsmodels.
Comment 5 matoro archtester 2024-02-28 18:28:25 UTC
No, not a regression from 0.14.0
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 19:15:18 UTC
I think this applies to all 32-bit architectures, and I don't think there's really a point in keeping these keywords.