Fix for python 3.7.17 macOS (#236)

This commit is contained in:
Dmitry Shibanov
2023-06-23 14:39:13 +02:00
committed by GitHub
parent 5a451d6492
commit c1cf5de988
2 changed files with 14 additions and 6 deletions

View File

@ -248,11 +248,6 @@ if sys.version_info >= (3, 7):
'dataclasses',
])
if (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) == (3, 7, 17):
standard_library.remove('bz2')
standard_library.remove('curses')
standard_library.remove('readline')
# 'macpath' module has been removed from Python 3.8
if sys.version_info > (3, 7):
standard_library.remove('macpath')