mirror of
https://github.com/actions/python-versions.git
synced 2025-12-14 06:26:45 +00:00
Update python-modules.py
This commit is contained in:
@@ -310,13 +310,6 @@ def check_missing_modules(expected_modules):
|
|||||||
except:
|
except:
|
||||||
missing.append(module)
|
missing.append(module)
|
||||||
return missing
|
return missing
|
||||||
|
|
||||||
import platform
|
|
||||||
|
|
||||||
# Exclude tkinter, curses, and curses_panel for Python 3.8 and above on macOS 13
|
|
||||||
if sys.version_info >= (3, 8) and platform.system() == 'Darwin' and platform.release() == '13.6.7':
|
|
||||||
excluded_modules.extend(['_tkinter', '_curses', '_curses_panel'])
|
|
||||||
|
|
||||||
if missing_modules:
|
if missing_modules:
|
||||||
print('The following modules are missing:')
|
print('The following modules are missing:')
|
||||||
for module in missing_modules:
|
for module in missing_modules:
|
||||||
|
|||||||
Reference in New Issue
Block a user