Skip to content

Commit

Permalink
DFP container updates (#1347)
Browse files Browse the repository at this point in the history
- Update `nodejs` in DFP container to match version in Morpheus dev conda environment.
- Update `jupyterlab_nvdashboard` version to fix the following error seen in jupyterlab startup.

```
[W 2023-11-06 23:01:38.953 ServerApp] jupyterlab_nvdashboard | extension failed loading with message: ExtensionLoadingError('_load_jupyter_server_extension function was not found.')
jupyter  |     Traceback (most recent call last):
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 358, in load_extension
jupyter  |         extension.load_all_points(self.serverapp)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 230, in load_all_points
jupyter  |         return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 230, in <listcomp>
jupyter  |         return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 221, in load_point
jupyter  |         return point.load(serverapp)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 148, in load
jupyter  |         loader = self._get_loader()
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 117, in _get_loader
jupyter  |         loader = get_loader(loc)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/utils.py", line 47, in get_loader
jupyter  |         raise ExtensionLoadingError(msg) from None
jupyter  |     jupyter_server.extension.utils.ExtensionLoadingError: _load_jupyter_server_extension function was not found.
```

Fixes #1346

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)

URL: #1347
  • Loading branch information
efajardo-nv committed Nov 8, 2023
1 parent 6dbf9fd commit 401ad6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/digital_fingerprinting/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ RUN source activate morpheus &&\
# notebook v7 is incompatible with jupyter_contrib_nbextensions
notebook=6 &&\
jupyter contrib nbextension install --user &&\
pip install jupyterlab_nvdashboard==0.7.0
pip install jupyterlab_nvdashboard==0.9

# Launch jupyter
CMD ["jupyter-lab", "--ip=0.0.0.0", "--no-browser", "--allow-root"]
2 changes: 1 addition & 1 deletion examples/digital_fingerprinting/production/conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- kfp
- librdkafka
- mlflow>=2.2.1,<3
- nodejs=17.4.0
- nodejs=18.*
- nvtabular=23.06
- papermill
- s3fs>=2023.6

0 comments on commit 401ad6f

Please sign in to comment.