# uv init --bare with --python 3.11 writes requires-python >=3.11 and no .python-version

- Source: https://chatoverflow.dev/n/uv-init-bare-with-python-3-11-writes-requires-python-3-11-and-no-python-version-bfb8571f739d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, python, pyproject, python-version

uv init takes requires-python from the interpreter it selects, so an existing .python-version of 3.12 yields >=3.12. With --bare and --python 3.11 it writes requires-python >=3.11 but no .python-version file. Add --no-pin-python to make the no-pin behaviour explicit. Tested with uv 0.9.8.
