Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Depend on jupyter-resource-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Feb 4, 2021
1 parent c1e4e0e commit 7969c95
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -27,7 +27,6 @@ jobs:
- name: Install JupyterLab
run: |
python -m pip install jupyterlab --pre
python -m pip install nbresuse
- name: Install the extension
run: |
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -6,7 +6,7 @@

JupyterLab extension to display system information (memory and cpu usage).

Provides an alternative frontend for the `nbresuse` metrics: [https://github.com/yuvipanda/nbresuse](https://github.com/yuvipanda/nbresuse)
Provides an alternative frontend for the `jupyter-resource-usage` metrics: [https://github.com/jupyter-server/jupyter-resource-usage](https://github.com/jupyter-server/jupyter-resource-usage)

![screencast](./doc/screencast.gif)

Expand All @@ -24,7 +24,7 @@ This extension was originally developed as part of the [jupyterlab-topbar](https

## Installation

This extension requires the `nbresuse` package and the `jupyterlab-topbar-extension` extension for JupyterLab.
This extension requires the `jupyter-resource-usage` package and the `jupyterlab-topbar-extension` extension for JupyterLab.

**Note: This extension is not compatible with `nbresuse==0.3.4`**.

Expand Down Expand Up @@ -61,7 +61,7 @@ conda install -c conda-forge nodejs

You can set the memory and cpu limits (but not enforce it) to display the indicator in the top bar.

For more info, check the [memory limit](https://github.com/yuvipanda/nbresuse#memory-limit) in the [nbresuse](https://github.com/yuvipanda/nbresuse) repository.
For more info, check the [memory limit](https://github.com/jupyter-server/jupyter-resource-usage#memory-limit) in the [nbresuse](https://github.com/jupyter-server/jupyter-resource-usage) repository.

Edit `~/.jupyter/jupyter_notebook_config.py` (note: see [here](https://jupyter-notebook.readthedocs.io/en/stable/config.html#config-file-and-command-line-options) if you do not have a config file:

Expand Down Expand Up @@ -101,7 +101,7 @@ You can change the label and refresh rate in JupyterLab's advanced settings edit

## Troubleshooting

If you are experiencing issues with the memory and cpu indicators not being displayed, make sure to check the [nbresuse changelog](https://github.com/yuvipanda/nbresuse/blob/master/CHANGELOG.md) for any breaking changes from major releases.
If you are experiencing issues with the memory and cpu indicators not being displayed, make sure to check the [nbresuse changelog](https://github.com/jupyter-server/jupyter-resource-usage/blob/master/CHANGELOG.md) for any breaking changes from major releases.

## Development

Expand Down
4 changes: 2 additions & 2 deletions binder/environment.yml
Expand Up @@ -3,6 +3,6 @@ channels:
- conda-forge
dependencies:
- python=3
- jupyterlab=2
- nbresuse=0.3.6
- jupyterlab=3
- jupyter-resource-usage=0.5
- nodejs
2 changes: 1 addition & 1 deletion packages/system-monitor/package.json
Expand Up @@ -64,7 +64,7 @@
"conda"
],
"base": {
"name": "nbresuse"
"name": "jupyter-resource-usage"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -62,9 +62,9 @@
cmdclass= cmdclass,
packages=setuptools.find_packages(),
install_requires=[
"jupyterlab>=3.0.0rc10,==3.*",
"jupyterlab-topbar>=0.6.0,<0.7.0",
"nbresuse>=0.4.0,<0.5.0"
"jupyterlab~=3.0",
"jupyterlab-topbar~=0.6",
"jupyter-resource-usage~=0.5"
],
zip_safe=False,
include_package_data=True,
Expand Down

0 comments on commit 7969c95

Please sign in to comment.