Unsatisfied version errors in browser logs

I see quite a few error like the following in the browser console

Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/rendermime (required ^4.1.0)

Unsatisfied version 1.9.2 from @jupyterlab/application-top of shared singleton module @lumino/algorithm (required ^2.0.0)

Unsatisfied version 6.0.7 from @jupyter-widgets/jupyterlab-manager of shared singleton module @jupyter-widgets/base (required ^1.1.10 || ^2 || ^3 || ^4.0.0)

How do I go after resolving those?
all those packages are not installed explicitly by me but via dependencies I assume.

I use Jupyterhub, building a custom image with a few packages pinned in the requirements.txt file used for pip.

like this for instance

jupyterlab~=3.6
nbclassic

# pinning to avoid jupyterlab 4.x dependency for now
pyviz_comms<3.*
jupyterlab_pygments<0.3.*

As you can see I am trying to avoid upgrading anything that requires jupyterlab 4 because some extensions we used are not available yet, and we also need more testing with 4.

Thanks for any help.

Is this message for instance hinting at something expecting jupyterlab 4.1?

Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/mainmenu (required ^4.1.0)