jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.03k stars 339 forks source link

Run plugins before Setting up JupyterHub... #795

Open raybellwaves opened 2 years ago

raybellwaves commented 2 years ago

I would like to pass a package to tljh_custom_jupyterhub_config however this command is called before the plugins are run.

i.e. in the logs I see

2022-01-25 01:59:28,680 Setting up user environment... 2022-01-25 01:59:28,685 Downloading & setting up user environment... 2022-01-25 02:00:40,793 Setting up JupyterHub... 2022-01-25 02:01:00,315 Waiting for JupyterHub to come up (1/20 tries) 2022-01-25 02:01:00,322 Installing 2 apt packages collected from plugins: vim nano 2022-01-25 02:01:06,466 Installing 1 hub pip packages collected from plugins: cdsdashboards

It would be good to move the hub pip packages... before Setting up JupyterHub