certain forms of "require" like dependency not detected by Clerk
In using require-python from libpython-clj teh dependency detection is not working:
(require-python '[os :as os])
(os/getcwd)
fails with "os not found"
Same for "import":
(import java.awt.image.BufferedImage
java.awt.Color
sun.java2d.SunGraphics2D)
There are some more cases. Each time a clojure var is defined "dynamically" (and not via def(n), Clerk fails to detect it.
This is probably just a consequence of the static dependency parsing and cannot be solved completely. It should maybe documented n some form of list of "Clojure features not supported by Clerk evaluation"
Yep, the require-python uses intern eventually which makes it hard to detect via static analysis. Thinking we could do something based on with-redefs however or at least detect that something depends on intern and warn.
The import issue is different and should be easily solvable. Feel free to move that to a separate issue.