Developing extension always reports extension is outdated

I am developing a jupyter lab extension, here is the package.json

I install the extension for development using the following commands:

jlpm install
pip install -e . -v
jupyter labextension develop . --overwrite

Once that is finished I run jupyter labextension list and I get a message saying

The following extensions are outdated:
maap_algorithms_jupyter_extension

I saw this other discussion about How does jupyter labextension list determine if an extension is outdated? which suggests it may be a mismatch between my installed jupyterlab version and the version requested by the extension. However, conda list reports version 4.1.8 of jupyterlab is installed and that is the version that the extension requires.

Any thoughts why I might be getting this error?

1 Like

In JupyterLab 4.2 there is a --verbose flag for this command to help debugging, implemented in Print out incompatibility errors for "outdated" extensions on `--verbose` by krassowski · Pull Request #15905 · jupyterlab/jupyterlab · GitHub - see the PR for more details.

2 Likes

Thanks. I was able to update to 4.2.5 and used --verbose to find that my version of react was outdated.