Source: pygame-sdl2 Followup-For: Bug #1030177 Dear Maintainer,
There's an upstream 'setuptools' issue[1] tracking these InvalidVersion exceptions: basically, version parsing is checking for PEP440[2] adherence. Updating the egg_info tag[2] for pygame-sdl2 to match the spec should resolve the problem. (in this case, one way to fix the bug could be: s/-for-renpy/+for-renpy/ ) Thanks, James [1] - https://github.com/pypa/setuptools/issues/3772 [2] - https://peps.python.org/pep-0440/ [3] - https://salsa.debian.org/games-team/pygame-sdl2/-/blob/b1c1d5df2d0095cbed3ade64367b460fa684788a/setup.cfg#L2