-
Notifications
You must be signed in to change notification settings - Fork 299
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
Pin dependency versions in requirements.txt for Docker Image #135
Comments
When adding the following libraries to the
Build attempt taken ~20 minutes before crashing.
I'll investigate if these new libraries are making the conda solve more difficult or if it happens regardless. |
A few more tests: From the latest planetlabs/notebooks docker image, enter the container via
This verifies that we can conda install these. Next, I ran My resolution is that pinning the dependencies, including the newly added descartes and geoviews, is the way to go. |
@cameronbronstein so there was no issue with the build when you pinned the dependencies? My thought was that the build was being killed because conda solve timed out, so I'm surprised the build is successful even though conda solve takes just as long |
Looking more into the I increased memory allocation for docker on my laptop to 8 BG. Looking at my activity monitor, docker was using nearly 9 GB of ram trying to solve the conda build. After more than 30 min, I exited the build. This is further indication that pinning the dependencies improved conda solve times, however, pinning could cause issues in the future with new updates to notebooks and/or the dependencies themselves. |
The local docker build is a bit slow, as conda has to work through several build attempts. This could maybe be sped up if specific versions were pinned in the requirements.txt. It could also improve local re-builds when adding dependencies that support new notebooks.
The text was updated successfully, but these errors were encountered: