Skip to content

Reconfigure CFFI porting scripts for SDL3, add _libtcod.pyi #1043

Reconfigure CFFI porting scripts for SDL3, add _libtcod.pyi

Reconfigure CFFI porting scripts for SDL3, add _libtcod.pyi #1043

Triggered via push May 31, 2025 21:25
Status Failure
Total duration 13m 32s
Artifacts 1
Matrix: tox
Matrix: build-macos
Matrix: build
Matrix: linux-wheels
test-docs
0s
test-docs
Matrix: parse_sdl
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
mypy: tcod/sdl/video.py#L367
Too many arguments for "SDL_CreateWindow" of "_lib"
mypy: tcod/sdl/video.py#L285
"_lib" has no attribute "SDL_SetWindowGrab"; maybe "SDL_SetWindowModal", "SDL_SetWindowShape", or "SDL_SetWindowIcon"?
mypy: tcod/sdl/video.py#L281
"_lib" has no attribute "SDL_GetWindowGrab"; maybe "SDL_GetWindowFlags" or "SDL_GetWindowSize"?
mypy: tcod/sdl/video.py#L267
Too many arguments for "SDL_GetWindowOpacity" of "_lib"
mypy: tcod/sdl/video.py#L235
Argument 2 to "SDL_SetWindowFullscreen" of "_lib" has incompatible type "int"; expected "bool"
mypy: tcod/sdl/video.py#L231
"type[WindowFlags]" has no attribute "FULLSCREEN_DESKTOP"
mypy: tcod/sdl/video.py#L231
Returning Any from function declared to return "int"
mypy: tcod/sdl/video.py#L113
"_lib" has no attribute "SDL_FreeSurface"; maybe "SDL_FlipSurface", "SDL_ClearSurface", or "SDL_ScaleSurface"?
mypy: tcod/sdl/video.py#L102
"_lib" has no attribute "SDL_CreateRGBSurfaceFrom"
mypy: tcod/sdl/_internal.py#L100
Too many arguments for "SDL_GetVersion" of "_lib"
tox (windows-latest)
Process completed with exit code 2.
tox (ubuntu-latest)
The operation was canceled.
tox (ubuntu-latest)
The strategy configuration was canceled because "tox.windows-latest" failed
sdist
Failed to save: reserveCache failed: connect ETIMEDOUT 52.152.245.137:443
sdist
Failed to restore: getCacheEntry failed: connect ETIMEDOUT 52.152.245.137:443

Artifacts

Produced during runtime
Name Size Digest
sdist Expired
813 KB
sha256:857f78e04676e4143050579833b368b8bf4ad7cdecbeecd05ccf03b403625aeb