Hi there.
I have developed a local ST plugin to (amongst other things), convert a long MD file into a series of HTML files, and download any remote images that are referenced.
All of a sudden, this plugin stopped working, with no changes to my codebase. It uses Python 3.8 and the ‘requests’ library imported in my plugin started to throw errors to the console, related to the following two libraries:
/Application Support/Sublime Text/Lib/python38/requests/init.py", line 43, in
import urllib3
/Application Support/Sublime Text/Lib/python38/requests/init.py", line 43, in
import idna
It could no longer satisfy it’s own dependencies. l was able to work around this by adding these libraries explicitly to my dendencies.json file (see last two items):
{ “": { "”: [ “bs4”,“pillow”,“soupsieve”,“requests”,“urllib3”,“idna”] } }
Just thought I’d let you know, incase your own plugins stop working