Merge pull request #2927 from lissyx/m_or_mu

Do not use m/mu ABI for Py3.8+
This commit is contained in:
lissyx 2020-04-20 17:12:34 +02:00 committed by GitHub
commit d4822a2f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,10 @@ def get_decoder_pkg_url(version, artifacts_root=None):
is_ucs2 = sys.maxunicode < 0x10ffff
m_or_mu = 'mu' if is_ucs2 else 'm'
# ABI does not contain m / mu anymore after Python 3.8
if sys.version_info.major == 3 and sys.version_info.minor >= 8:
m_or_mu = ''
pyver = ''.join(str(i) for i in sys.version_info[0:2])
if not artifacts_root: