With this release, partitions information (`gpu`, `max_ngpus`, `max_nprocs`, `max_runtime`) is retrieved from SLURM along with available resources. It is no longer required to provide those in the `partitions` configuration.
:warning: **Breaking change**: The behaviour of the `gpu` field in the `partitions` configuration has changed: to disable GPUs, use `''` instead of `None` (which now means retrieve from SLURM).
What's Changed
* Updated execution of `sinfo` with `batchspawner.run_command` by lexming in https://github.com/silx-kit/jupyterhub_moss/pull/64
* Added option to define custom parser for `sinfo` command by lexming in https://github.com/silx-kit/jupyterhub_moss/pull/66
* Added retrieval of time limit from SLURM by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/69
* Added per-environment `prologue` by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/74
* Allow to extend `option_form` template by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/77
* Updated way to custom displayed SLURM resources by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/79
* Moved checks back to `options_from_form` by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/83
* Added display of idle nodes in the resource table by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/84
* Updated demo config and readme by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/87
* Updated `sbatch` script to be as close as possible to the default one by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/86
* Removed `which` command from `sbatch` script by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/92
* Updated to use `pydantic` and improved typing by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/90
* Reverted part of 90: "Use model to exclude prologue" by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/93
* Updated handling of `default_url` in option form by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/94
Fixes:
* Fixed inconsistency of `partitions` info and remove `options_from_form` side-effects by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/71
* Fixed stored value for `default_url` by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/95
Tests:
* Added use of `check-manifest` and fixed `MANIFEST.in` by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/82
* Added first tests and set-up `pytest` by t20100 in https://github.com/silx-kit/jupyterhub_moss/pull/85
New Contributors
* lexming made their first contribution in https://github.com/silx-kit/jupyterhub_moss/pull/64
**Full Changelog**: https://github.com/silx-kit/jupyterhub_moss/compare/v5.0.0...v6.0.0