Using uv? The #Python version is stored in .python-version.
> cat .python-version
3.14
Change it with
> uv python pin 3.15 # not out yet!
But:
> uv python pin 3.13
uv gives an error: 3.13 is incompatible with requires-python in pyproject.toml of '>=3.14.'