Source: pysdl2
Version: 0.9.7+dfsg1-1
Severity: important
Tags: upstream
Forwarded: https://github.com/py-sdl/py-sdl2/issues/228
Control: affects -1 + src:libsdl2 src:libsdl2-image src:libsdl2-mixer 
src:libsdl2-ttf

The stable version after SDL 2.0.22 is going to be 2.24.0, with the git
snapshot currently in experimental identifying itself as 2.23.0, and
prereleases of 2.24.0 expected to be labelled 2.23.1, 2.23.2 and so on.

However, pysdl2's unit tests assert that all SDL2 versions will be
labelled 2.0.x, so they fail when run against the libsdl2 from
experimental:
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pysdl2/21699054/log.gz
https://ci.debian.net/packages/p/pysdl2/unstable/amd64/

There are similar problems with libsdl2-image, libsdl2-mixer and
libsdl2-ttf from experimental, for example
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pysdl2/21637808/log.gz
for libsdl2-image.

Please relax these assertions, perhaps to something like this:

        assert v.major == 2
        assert v.minor >= 0
        assert (v.major, v.minor, v.patch) >= (2, 0, 5)

Thanks,
    smcv

Reply via email to