-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock conda dependency versions #19
Conversation
Created using `mamba list --explicit > environment-linux-64.lock`.
Create lockfile using `conda-lock -f environment.yml -p linux-64`
platforms: | ||
- linux-64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debating on whether to have a Linux only lockfile, or do macOS and Windows as well 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I think linux only is fine since that's what we used to deploy the book.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, let's just lock it. It adds like 9000+ lines to the conda-lock.yml
file but at least macOS and Windows users can reproduce the environment fully too.
Ensure reproducibility of the software environment. Created using
mamba list --explicit > environment-linux-64.lock
.We actually have a pip-only dependency
lazrs
, so I might try usingconda-lock
's new toml lockfile format to get it 100% reproducible.Note: Might need to uninstall
lazrs
and clear poetry's cache according to python-poetry/poetry#4679 in order to preventRuntimeError: Unable to find installation candidates for lazrs (0.4.0)
. Specifically, do:Edit: Still not working becauseEdit2: lazrs==0.4.3 now has an sdist so conda-lock works, ref: laz-rs/laz-rs-python#13lazrs
doesn't have an sdist 😅, Ref: python-poetry/poetry#5574