mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
6 Commits
3.6.12-898
...
3.10.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6b76b25b6 | ||
|
|
3a4a0fd269 | ||
|
|
c4836579b7 | ||
|
|
ed01c1359f | ||
|
|
650a155a9a | ||
|
|
28d23216d1 |
@@ -1,5 +1,5 @@
|
|||||||
import distutils.sysconfig
|
import distutils.sysconfig
|
||||||
from distutils.version import StrictVersion
|
from distutils.version import LooseVersion
|
||||||
import sysconfig
|
import sysconfig
|
||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
@@ -43,7 +43,7 @@ else:
|
|||||||
### Validate macOS
|
### Validate macOS
|
||||||
if os_type == 'Darwin':
|
if os_type == 'Darwin':
|
||||||
### Validate openssl links
|
### Validate openssl links
|
||||||
if StrictVersion(nativeVersion) < StrictVersion("3.7.0"):
|
if LooseVersion(nativeVersion) < LooseVersion("3.7.0"):
|
||||||
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
|
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
|
||||||
ldflags = sysconfig.get_config_var('LDFLAGS')
|
ldflags = sysconfig.get_config_var('LDFLAGS')
|
||||||
|
|
||||||
|
|||||||
@@ -256,9 +256,10 @@ if sys.version_info > (3, 7):
|
|||||||
if sys.version_info > (3, 8):
|
if sys.version_info > (3, 8):
|
||||||
standard_library.remove('dummy_threading')
|
standard_library.remove('dummy_threading')
|
||||||
|
|
||||||
# 'symbol' module has been removed from Python 3.10
|
# 'symbol' and 'formatter' modules have been removed from Python 3.10
|
||||||
if sys.version_info >= (3, 10):
|
if sys.version_info >= (3, 10):
|
||||||
standard_library.remove('symbol')
|
standard_library.remove('symbol')
|
||||||
|
standard_library.remove('formatter')
|
||||||
|
|
||||||
# Remove tkinter and Easter eggs
|
# Remove tkinter and Easter eggs
|
||||||
excluded_modules = [
|
excluded_modules = [
|
||||||
@@ -270,7 +271,6 @@ excluded_modules = [
|
|||||||
def check_missing_modules(expected_modules):
|
def check_missing_modules(expected_modules):
|
||||||
missing = []
|
missing = []
|
||||||
for module in expected_modules:
|
for module in expected_modules:
|
||||||
print('Try to import module ', module)
|
|
||||||
try:
|
try:
|
||||||
importlib.import_module(module)
|
importlib.import_module(module)
|
||||||
except:
|
except:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user