Livebook reproducibility regarding installed packages not in a lockfile #1660
-
How does Livebook ensure reproducibility regarding package management? Since Elixir Just curious and trying to understand, no real problem right now. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @linusdm! The We indeed don't use lockfiles for reproducability and rely on the version requirements in the dependency list. So technically when open a notebook from somewhere you may get a slightly different versions than originally, but we expect packages to follow semver, so this should be fine. You can mitigate some of it by specifying exact versions for each package, though there are still sub-dependencies that may be resolved to newer versions. |
Beta Was this translation helpful? Give feedback.
Hey @linusdm!
The
:lockfile
and:config_path
options are specifically to mirror a setup likeiex -S mix
in Livebook (while also allowing notebook-specific deps).We indeed don't use lockfiles for reproducability and rely on the version requirements in the dependency list. So technically when open a notebook from somewhere you may get a slightly different versions than originally, but we expect packages to follow semver, so this should be fine. You can mitigate some of it by specifying exact versions for each package, though there are still sub-dependencies that may be resolved to newer versions.