Summary: | games-simulation/singularity-1.00-r2 fails tests: FAILED test_game_run.py::test_initial_game - AttributeError: np.cast was removed in the NumPy 2.0 release Use np.asarray(arr, dtype=dtype) instead | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mischief |
Priority: | Normal | Keywords: | PATCH, TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/singularity/singularity/issues/346 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 930951 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2024-07-23 07:14:52 UTC
Created attachment 898171 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E AttributeError: `np.cast` was removed in the NumPy 2.0 release. Use `np.asarray(arr, dtype=dtype)` instead. ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any FAILED tests/test_game_run.py::test_game_research_tech - AttributeError: `np.cast` was removed in the NumPy 2.0 release. Use `np.asarray(arr, dtype=dtype)` instead. FAILED tests/test_game_run.py::test_initial_game - AttributeError: `np.cast` was removed in the NumPy 2.0 release. Use `np.asarray(arr, dtype=dtype)` instead. tests/test_game_run.py::test_game_research_tech FAILED [ 2/31] tests/test_game_run.py::test_initial_game FAILED [ 1/31] i believe this is fixed by the upstream change https://github.com/singularity/singularity/commit/57013b621d641ae9b0b2554918807a88b7727b87 |