Skip to content

Commit 386b1f5

Browse files
authored
Disable OscryptoDownloader (#1677)
1 parent 8222603 commit 386b1f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

package_control/downloaders/__init__.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
'wget': WgetDownloader
1414
}
1515

16-
# oscrypto can fail badly on Linux in the Sublime Text 3 environment due to
17-
# trying to mix the statically-linked OpenSSL in plugin_host with the OpenSSL
18-
# loaded from the operating system. On Python 3.8 we dynamically link OpenSSL,
19-
# so it just needs to be configured properly, which is handled in
20-
# oscrypto_downloader.py.
21-
if sys.platform != 'linux' or sys.version_info[:2] != (3, 3) or sys.executable != 'python3':
16+
# oscrypto can fail badly
17+
# 1. on Linux in the Sublime Text 3 environment due to trying to mix the
18+
# statically-linked OpenSSL in plugin_host with the OpenSSL loaded from the
19+
# operating system. On Python 3.8 we dynamically link OpenSSL, so it just needs
20+
# to be configured properly, which is handled in oscrypto_downloader.py.
21+
# 2. on MacOS ARM plattform due to whatever reason. Due to maintanance state of
22+
# oscrypto, start fading it out by disabling it on python 3.8 (ST4)
23+
if sys.platform != 'linux' and sys.version_info[:2] == (3, 3):
2224
try:
2325
from .oscrypto_downloader import OscryptoDownloader
2426
DOWNLOADERS['oscrypto'] = OscryptoDownloader

0 commit comments

Comments
 (0)