As you allude to there are tools in python to help (I tried pex briefly once, for example). It hasn’t really been a pain point for me but I can see why people would spend time on it. I imagine this strategy has its share of tradeoffs and gremlins.
I haven’t actually used pex but it doesn’t look like it solves this - it’s more of a way of distributing full programs. The .pex files aren’t editable, which is something you need for this use case.
I imagine this strategy has its share of tradeoffs and gremlins.
As far as I know there are no downsides. It’s basically win-win.
Oh I see what you mean. Interesting.
As you allude to there are tools in python to help (I tried pex briefly once, for example). It hasn’t really been a pain point for me but I can see why people would spend time on it. I imagine this strategy has its share of tradeoffs and gremlins.
I haven’t actually used pex but it doesn’t look like it solves this - it’s more of a way of distributing full programs. The
.pex
files aren’t editable, which is something you need for this use case.As far as I know there are no downsides. It’s basically win-win.
I found it in the docs https://docs.deno.com/runtime/manual/basics/modules/#importing-by-url
Not sure if that generates like a lockfile or how it handles peer deps. Intersting nonetheless.
It can optionally use a lock file. Not sure about peer dependencies tbh.