https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-simulation/singularity-1.00-r2 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
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
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e876fd7430f29c34a98ccb61d5ad8b6543121c commit e1e876fd7430f29c34a98ccb61d5ad8b6543121c Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-04-16 08:11:55 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-04-16 10:56:40 +0000 games-simulation/singularity: backport numpy2 fix Closes: https://bugs.gentoo.org/936525 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../singularity/files/singularity-1.00-numpy2.patch | 10 ++++++++++ .../{singularity-1.00-r2.ebuild => singularity-1.00-r3.ebuild} | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-)