In the task-collection page, the two tabs "PyPI" and "Local" have a Python-version field. As of fractal-server 2.3.0, the only accepted values are strings "3.9", "3.10", "3.11", "3.12". Let's expose those four values as a dropdown menu, rather than as a free text field.
NOTE: even if those four options are all valid, a given instance may or may not have e.g. "3.12" available. This cannot be known to the web-client, for the moment, and then if the user selects "3.12" the API will respond with a 422 and an error message.
In the task-collection page, the two tabs "PyPI" and "Local" have a Python-version field. As of fractal-server 2.3.0, the only accepted values are strings "3.9", "3.10", "3.11", "3.12". Let's expose those four values as a dropdown menu, rather than as a free text field.
NOTE: even if those four options are all valid, a given instance may or may not have e.g. "3.12" available. This cannot be known to the web-client, for the moment, and then if the user selects "3.12" the API will respond with a 422 and an error message.