Summary: | dev-python/pygame_sdl2: needs upgrade to Python 3.10 (PythonCompatUpdate) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Andrew Savchenko <bircoph> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 823185 | ||
Attachments: | example.py |
Description
Sam James
2022-05-18 18:54:10 UTC
It works in python3_10, at least for my very simple programs. Created attachment 790853 [details]
example.py
example program
(In reply to MW from comment #2) > Created attachment 790853 [details] > example.py > Sample code from [1], with the line "import pygame" replaced by the lines "import pygame_sdl2 as pygame" and "pygame.import_as_pygame()". This runs with python3_10. What is holding this up? [1] https://pythonprogramming.net/opengl-rotating-cube-example-pyopengl-tutorial/ The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de76f27e696dc897659a3f1efe30c864d8f46b4 commit 5de76f27e696dc897659a3f1efe30c864d8f46b4 Author: Andrew Savchenko <bircoph@gentoo.org> AuthorDate: 2022-07-26 16:54:26 +0000 Commit: Andrew Savchenko <bircoph@gentoo.org> CommitDate: 2022-07-26 17:03:08 +0000 dev-python/pygame_sdl2: support newer python versions - Support python 3.10 and 3.11 (tested). - Update EAPI 7 -> 8. - Update jpeg dependency. Closes: https://bugs.gentoo.org/845801 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) |