mirror of
https://github.com/actions/python-versions.git
synced 2025-04-07 07:49:41 +00:00
Exclude tkinter and turtle for Python 3.11.0 alpha7 on Ubuntu 18.04
This commit is contained in:
@ -7,6 +7,7 @@ from __future__ import print_function
|
|||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
import sys
|
import sys
|
||||||
|
import platform
|
||||||
|
|
||||||
# The Python standard library as of Python 3.0
|
# The Python standard library as of Python 3.0
|
||||||
standard_library = [
|
standard_library = [
|
||||||
@ -265,6 +266,11 @@ if sys.version_info >= (3, 10):
|
|||||||
if sys.version_info >= (3, 11):
|
if sys.version_info >= (3, 11):
|
||||||
standard_library.remove('binhex')
|
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
|
# Remove tkinter and Easter eggs
|
||||||
excluded_modules = [
|
excluded_modules = [
|
||||||
'antigravity',
|
'antigravity',
|
||||||
|
Reference in New Issue
Block a user