Date_default deprecation warning

I’ve started getting the following deprecation warning. How can I clear this?

/Users/grs53/miniconda3/lib/python3.9/json/ UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.jsonutil.json_default.
  return _iterencode(o, 0)

This might be coming from jupyter-server package; it was fixed a month ago in Fix jupyter_client warning by martinRenou · Pull Request #581 · jupyter-server/jupyter_server · GitHub and released in 1.11.0 a week ago, so you should be able to update:

pip install -U "jupyter_server>=1.11.0"
# or if using conda/mamba:
# conda install "jupyter_server>=1.11.0" -c conda-forge