ALT Linux Bugzilla
– Attachment 16374 Details for
Bug 50836
При запуске теста surfarray_test.py проблемы NumPy с преобразованием целых чисел, выходящих за пределы диапазона
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
error.log
error.log (text/x-log), 3.21 KB, created by
Tatyana Gagina
on 2024-07-05 10:23:03 MSK
(
hide
)
Description:
error.log
Filename:
MIME Type:
Creator:
Tatyana Gagina
Created:
2024-07-05 10:23:03 MSK
Size:
3.21 KB
patch
obsolete
>pygame 2.5.2 (SDL 2.30.4, Python 3.12.2) >Hello from the pygame community. https://www.pygame.org/contribute.html >ALSA lib confmisc.c:855:(parse_card) cannot find card '0' >ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory >ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings >ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory >ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name >ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory >ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory >ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM default >../usr/lib64/python3.12/unittest/case.py:589: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. > if method() is not None: >....../usr/lib64/python3/site-packages/pygame/surfarray.py:425: DeprecationWarning: only numpy arrays are now supported, this function will be removed in a future version of the module > warnings.warn( >./usr/lib64/python3/site-packages/pygame/surfarray.py:440: DeprecationWarning: only numpy arrays are now supported, this function will be removed in a future version of the module > warnings.warn( >.../usr/lib64/python3/site-packages/pygame/tests/./surfarray_test.py:116: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -16114116 to uint32 will fail in the future. >For the old behavior, usually: > np.array(value).astype(dtype) >will give the desired result (the cast overflows). > arr[:5, :6] = surf.map_rgb(palette[1]) >/usr/lib64/python3/site-packages/pygame/tests/./surfarray_test.py:117: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -15119516 to uint32 will fail in the future. >For the old behavior, usually: > np.array(value).astype(dtype) >will give the desired result (the cast overflows). > arr[5:, :6] = surf.map_rgb(palette[2]) >/usr/lib64/python3/site-packages/pygame/tests/./surfarray_test.py:118: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -10185016 to uint32 will fail in the future. >For the old behavior, usually: > np.array(value).astype(dtype) >will give the desired result (the cast overflows). > arr[:5, 6:] = surf.map_rgb(palette[3]) >/usr/lib64/python3/site-packages/pygame/tests/./surfarray_test.py:119: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -16751416 to uint32 will fail in the future. >For the old behavior, usually: > np.array(value).astype(dtype) >will give the desired result (the cast overflows). > arr[5:, 6:] = surf.map_rgb(palette[4]) >....../usr/lib64/python3/site-packages/pygame/surfarray.py:408: DeprecationWarning: only numpy arrays are now supported, this function will be removed in a future version of the module > warnings.warn( >.. >---------------------------------------------------------------------- >Ran 20 tests in 0.281s > >OK
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50836
: 16374