Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936525 - 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
Summary: games-simulation/singularity-1.00-r2 fails tests: FAILED test_game_run.py::te...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-07-23 07:14 UTC by Agostino Sarubbo
Modified: 2024-07-23 11:37 UTC (History)
0 users

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


Attachments
build.log (build.log,237.20 KB, text/plain)
2024-07-23 07:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-07-23 07:14:52 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-23 07:14:54 UTC
Created attachment 898171 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-23 07:14:54 UTC
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]