Currently python is referenced in many places in the project. E.g.:
- devconatiner.json
- pyproject.toml
- Dockerfile.api
- within the github workflows
When we use renovate to update dependencies, it's hard to keep them all in sync. So define one central file .python-version that is updated by renovate and use that wherever we reference python. (Note: .python-version may not be the only solution, there might be others. Actually I've thought that setting requires-python in the pyproject.toml woud fulfill the same task -- but currently this is not the case).
Currently python is referenced in many places in the project. E.g.:
When we use renovate to update dependencies, it's hard to keep them all in sync. So define one central file
.python-versionthat is updated by renovate and use that wherever we reference python. (Note:.python-versionmay not be the only solution, there might be others. Actually I've thought that settingrequires-pythonin thepyproject.tomlwoud fulfill the same task -- but currently this is not the case).