#1011117 pysdl2: autopkgtest fails with libsdl2 from experimental

Package:
src:pysdl2
Source:
pysdl2
Submitter:
Simon McVittie
Date:
2022-05-26 11:39:03 UTC
Severity:
important
Tags:
#1011117#5
Date:
2022-05-17 08:19:49 UTC
From:
To:
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

#1011117#14
Date:
2022-05-26 11:34:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pysdl2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011117@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated pysdl2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 26 May 2022 11:08:53 +0100
Source: pysdl2
Architecture: source
Version: 0.9.9+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 1011117
Changes:
 pysdl2 (0.9.9+dfsg1-3) unstable; urgency=medium
 .
   * Team upload
   * d/p/Clean-up-organization-of-dll.py.patch,
     d/p/Fix-unit-tests-version-parsing-for-latest-SDL2-229.patch,
     d/p/Handle-SDL-2.23-new-versioning-scheme-230.patch:
     Backport patches from upstream to fix compatibility with newer
     SDL, SDL_image, SDL_mixer and SDL_ttf (Closes: #1011117)
   * d/p/Fix-some-rwops-bugs.patch:
     Add patch from upstream to fix failure to load SVG files with newer
     SDL_image
   * d/p/sdlttf_test-Accept-width-and-height-within-a-range.patch:
     Mark patch as applied upstream
   * Reorder patch series to put upstreamable patches first
Checksums-Sha1:
 e0ead4b1c3aabe712710aecaa811b5bbbc2a67ba 2454 pysdl2_0.9.9+dfsg1-3.dsc
 9274a1264dcf3d3aa0e217576caabd6992ed32a9 14112 pysdl2_0.9.9+dfsg1-3.debian.tar.xz
 e7ba1df9ea7737523a77e2c6e372455ac3d404b3 12191 pysdl2_0.9.9+dfsg1-3_source.buildinfo
Checksums-Sha256:
 a9c822d2d0a4e94bccb246cdcb66ee043e2917a01559fc150791db745a4f0fc3 2454 pysdl2_0.9.9+dfsg1-3.dsc
 03a740e019f9e108c8cc94d5e323d2dc4f99c9fef9ebbfb1346ad3b41739c619 14112 pysdl2_0.9.9+dfsg1-3.debian.tar.xz
 215d7a0b414c7ed5daceb1c1a0260dad98d0bd384a61a90dd1064eb64ebbf684 12191 pysdl2_0.9.9+dfsg1-3_source.buildinfo
Files:
 18440546b41bd93ed7a0e1776612be59 2454 python optional pysdl2_0.9.9+dfsg1-3.dsc
 a6c8e84e51ad00e67061d7e348f84ff0 14112 python optional pysdl2_0.9.9+dfsg1-3.debian.tar.xz
 b005b11bcfc390e268ae298e54d90d07 12191 python optional pysdl2_0.9.9+dfsg1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmKPZIYACgkQ4FrhR4+B
TE89DA//f7eic8gy8OHjE8Fy7SO9AJQII2xcJEhFvcfau8lr0JTHLNQDaWcOCQkT
StAJvw9Fhbu7rYjaT7mxMxOsUhjmW9BOXahqbJpf7G1/BlfhtLH/3opDmQ9nUIOy
2a59z1i5tcay1g4NovgE0Jlfx0wpD5XH8ZHA6826BAsjeP8fTa9F0ZdWtToud+dY
29Ukd6b0+xxX9NnFc9MbJcPtS0kaivshiIdaxkyrra2fvkmxQ9t7YUtkOUH0FfvD
rBxVFEvdUeLoEY5f49h6VXRLxcClZwGOsiWZRkv/ZkODcb36MWAnYuNrBq/Z3GN/
ETjdoNb6otaTVt2zvQm/WdNnnRBUG2bhdad0J88VzgwS0GvZvW81D5WxJUKnkEkK
XZpkGt+WnCH0NoSz+S0CvLYAnlmfGouksnHUh232yy5jKH8+b6684iCwYohKYg9f
UlIhYzj1Xqos9Ji5IyPJ7yIq4epRt02IiuUyZI6Crh+wCT0Rpph5zk5Yqts7z9wC
0hkZCKAw+qWv5wj19ehugH0kYUXyF8E7YrqfhCHCSSKv3NcrGQiqL8wmF2+u4Nay
9VSB6H3Y8n8HK9KJUQvMNQn61xFlMh8+36Fu+qQhOifuBbPIAUXnTQH+VcOK9ttd
AfpDQE1uu+9RJCPW25g8DpDSOub3vozYqpb3yWbGmSpoLG2XTGM=
=QFMu
-----END PGP SIGNATURE-----