-
Notifications
You must be signed in to change notification settings - Fork 158
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
Change download method for trajectory_clustering.ipynb's data for container testing #1539
Conversation
wget no longer exists in our container. As per our notebook guidelines, for testing, every possible notebook should be testable. As we dropped wget from our container, we need to install it here. This code addition intelligently installs wget if necessary.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
The print("Git not found, installing...")
should be print("wget not found, installing...")
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.
I would recommend one or more of the following alternatives, to avoid mucking up the notebook with apt
commands (which may not be portable if run on non-Debian-based systems):
- remove this line https://github.com/rapidsai/docker/blob/c0679e4792950f0066ce64c314f47f9c6538278d/Dockerfile#L49 and leave wget installed in our base Docker images
- or list
wget
from conda-forge as a cuspatial notebook dependency, by specifying it here (next tocurl
):Line 418 in 2e7f4fd
- curl - or just modify the notebook to use
curl
, which should already be installed
/merge |
wget no longer exists in our container. As per our notebook guidelines, for testing, every possible notebook should be testable. As we dropped wget from our container, we need to install it here. This code addition intelligently installs wget if necessary.