We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d892c1 commit 9971576Copy full SHA for 9971576
src_py/__init__.py
@@ -401,11 +401,10 @@ def __color_reduce(c):
401
if "PYGAME_HIDE_SUPPORT_PROMPT" not in os.environ:
402
python_implementation = sys.version
403
python_version = platform.python_version()
404
- from packaging import version
405
406
if (
407
sys.platform not in ("wasi", "wasm")
408
- and (version.parse(python_version) >= version.parse("3.13.0"))
+ and (sys.version_info >= (3, 13, 0))
409
and "free-threading" in python_implementation
410
):
411
python_version += f"t, {'' if sys._is_gil_enabled() else 'No '}GIL"
0 commit comments