ripple / dactyl

Tools to make enterprise documentation from Markdown sources.
MIT License
69 stars 34 forks source link

Handle Python version limitations more gracefully #24

Closed mDuo13 closed 6 years ago

mDuo13 commented 6 years ago

Trying to import custom filters on Python 3.4.x and earlier fails in the wrong place because the import logic (see also: #23) tries to use importlib.util.module_from_spec which doesn't exist in versions before 3.5.

Dactyl should (at least) print a proper error/warning if you try to do this and maybe should allow you to skip over the custom filters or implement a v3.4-compatible import for them

mDuo13 commented 6 years ago

v0.7.0 implements a 3.4-compatible import for filters, fixing this issue.