Closed zachmullen closed 4 years ago
Looks like a test was depending on the wrong behavior. I will try to fix it up later I guess.
I'm not convinced we should start up if there's an exception during load. Would anyone actually defend that feature?
I think the intention was to allow multiple plugins to be installed and if one fails to not cripple the whole system. In reality though I think you're probably right, plugin failure should probably cause a full stop and loudly complain.
I've changed the scope of this, and it's ready for review. Namely, we now fail catastrophically if plugins fail to load, which is desirable behavior. Aside from that, I also removed the hacked-up extension registry capability. Now the entry point is the exclusive way to load plugins. This gave us the opportunity to remove a fair amount of code.
Oh, this represents a somewhat big change (failing loudly i mean) will you cut a new minor version once this is in?
Yes, I plan to cut a release as soon as these two PRs are merged. Thanks!
Fixes #360
@kotfic PTAL. I guess celery is doing some dark magic monkey patching of
print
and standard pipes...