Closed consideRatio closed 1 year ago
In https://github.com/jupyterhub/the-littlest-jupyterhub/pull/842#issuecomment-1495797010 @manics wrote:
The installer should install the last tagged version.... if you want to be absolutely sure then do an install and check the version is
0.2.0
and not: https://github.com/jupyterhub/the-littlest-jupyterhub/blob/adbd41dcb023aff944a6b66c4b912b1ed382c2f9/setup.py#L5Is the plan to add up upgrade test in a future PR before tagging 1.0.0?
I've checked,
curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin admin
installs 0.2.0,curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin admin --version main
installs the main branch
Based on that, I think I was incorrect in the comment above about what upgrade test we currently do.
I think it should be quite easy to add an upgrade test from the latest release, since we already have an upgrade test from the default branch on github.
https://github.com/jupyterhub/the-littlest-jupyterhub/blob/adbd41dcb023aff944a6b66c4b912b1ed382c2f9/.github/integration-test.py#L147-L153
z2jh has three upgrade tests:
I figure it would make sense to have the same for tljh, where we currently have test 1 but is missing 2 and 3. (EDIT: see comment below, I think I'm incorrect - maybe we are testing 2 and not 1 currently?)