Skip to content

Livebook reproducibility regarding installed packages not in a lockfile #1660

Answered by jonatanklosko
linusdm asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @linusdm!

The :lockfile and :config_path options are specifically to mirror a setup like iex -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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@linusdm
Comment options

@jonatanklosko
Comment options

Answer selected by linusdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants