mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 07:19:41 +00:00
Merge pull request #197 from e-korolevskii/fix-tests-for-python-3.12
Fix tests for python 3.12
This commit is contained in:
@ -78,6 +78,7 @@ if os_type == 'Darwin':
|
|||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
### Validate libreadline
|
### Validate libreadline
|
||||||
if not have_libreadline:
|
if sys.version_info < (3, 12):
|
||||||
print('Missing libreadline')
|
if not have_libreadline:
|
||||||
exit(1)
|
print('Missing libreadline')
|
||||||
|
exit(1)
|
@ -271,6 +271,10 @@ if sys.version_info >= (3, 11) and platform.system() == 'Linux' and '18.04' in p
|
|||||||
standard_library.remove('tkinter')
|
standard_library.remove('tkinter')
|
||||||
standard_library.remove('turtle')
|
standard_library.remove('turtle')
|
||||||
|
|
||||||
|
# 'smtpd' module has been removed from Python 3.12
|
||||||
|
if sys.version_info >= (3, 12):
|
||||||
|
standard_library.remove('smtpd')
|
||||||
|
|
||||||
# Remove tkinter and Easter eggs
|
# Remove tkinter and Easter eggs
|
||||||
excluded_modules = [
|
excluded_modules = [
|
||||||
'antigravity',
|
'antigravity',
|
||||||
|
Reference in New Issue
Block a user