Order of import changed for plugins?

Hello, since 3.2, I have noticed that some plugins of mine crash because of missing imports. For instance, in one plugin, I have an from drawBot import *. Upon starting Glyphs, this results in a crash from the plugin. The drawBot module is installed, importing via the macro panel works fine. What do I need to change in my code in order for this to work again? I am constantly switching between 3.1 and 3.2 in order to use my plugins for certain tasks :wink:

I have a look what has changed. Can you point me to on of your plugins that shows the issue?

For starters, there’s github.com/eweracs/export-plugin (you have access). I temporarily fixed the crash by just not enabling the part that depends on drawbot, but I’d like to get it to work nonetheless.
Another plugin that doesn’t work is GitHub - eweracs/ShowHTLetterspacerAreas: Draws the polygons calculated by HT Letterspacer in the edit view., it attempts to import HTLSLibrary (from my HTLSManager plugin).