From bd180061048b5eb0800708ad3ec03da2091a4c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 15 Oct 2025 00:17:08 -0600 Subject: [PATCH] Update modules removed in Python 3.15 --- tests/sources/python-modules.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/sources/python-modules.py b/tests/sources/python-modules.py index 1c31adfd2..17871be6b 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -241,6 +241,12 @@ 'annotationlib', ]) +# https://docs.python.org/3.15/whatsnew/3.15.html +if sys.version_info >= (3, 15): + standard_library.remove('sre_compile') + standard_library.remove('sre_constants') + standard_library.remove('sre_parse') + # Remove tkinter and Easter eggs excluded_modules = [ 'antigravity',