From a1129e9e45ede1613e1f4d3e7de6cbf091664640 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Mon, 11 Apr 2022 09:04:36 +0200 Subject: [PATCH] Exclude tkinter and turtle for Python 3.11.0 alpha7 on Ubuntu 18.04 --- 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 e2d094c..3df2538 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -7,6 +7,7 @@ from __future__ import print_function import importlib import sys +import platform # The Python standard library as of Python 3.0 standard_library = [ @@ -265,6 +266,11 @@ if sys.version_info >= (3, 10): if sys.version_info >= (3, 11): standard_library.remove('binhex') +# Exclude tkinter and turtle for Python 3.11 alpha temporarily +if sys.version_info >= (3, 11) and platform.system() == 'Linux' and '18.04' in platform.version(): + standard_library.remove('tkinter') + standard_library.remove('turtle') + # Remove tkinter and Easter eggs excluded_modules = [ 'antigravity',