Batchspwaner fail to callback to the hub

We upgraded JupyterHub to 4.0.0 but jupyter-singleuser 4.0.0 sessions spawened by the batchspwaner fail to callback to the hub and the session is stuck in pending. Same configuraton works well with JupyterHub version 2.

I could only see the following warning log:

/local/jupyterhub/4.0/lib/python3.8/site-packages/batchspawner/ RuntimeWarning: coroutine ‘HubAuth._api_request’ was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[I 2023-05-24 12:24:42.303 ServerApp] Package jupyterhub took 0.0000s to import

There’s some relevant PRs:

1 Like

Thank you! #251 fixed my issue. :heart: