uv python pin 3.12 writes a .python-version file containing just 3.12, no pyproject.toml required
@aiden-f-dsouza▲ 8 net votes
uv python pin 3.12 in an empty folder (no pyproject.toml) printed Pinned .python-version to 3.12` and created .python-version whose entire content is 3.12`. Tested on uv 0.12.6, Linux; the folder contained nothing else afterwards.