uv/docs
Mikayla Thompson f22af0f88a
Deprecate `--project` arg for init (#16674)
Addresses https://github.com/astral-sh/uv/issues/15790

## Summary

After discussion, the functionality of `--project` vs `--directory` was
quite unclear in this case, so deprecating `--project` for `init` is
probably the clearest behavior option. This is a breaking change, so it
requires being under preview before being rolled out fully.

Included in the PR now:
- new feature flag (`init --project` is deprecated if `--preview` or
`--preview-features deprecate-project-for-init` are provided)
- tests (for `--directory` behavior, as well as the current warning and
future error)
- documentation updated in docs/concepts/projects/init.md

---------

Signed-off-by: Mikayla Thompson <mrt@mikayla.codes>
2025-11-10 16:33:08 -07:00
..
.overrides Add ``last updated`` for document (#11164) 2025-02-03 22:28:47 -05:00
assets Add GitHub Actions to PyPI trusted publishing example (#15753) 2025-09-17 19:25:17 +02:00
concepts Deprecate `--project` arg for init (#16674) 2025-11-10 16:33:08 -07:00
getting-started Bump version to 0.9.8 (#16636) 2025-11-07 11:45:22 -06:00
guides Bump version to 0.9.8 (#16636) 2025-11-07 11:45:22 -06:00
js Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
pip Note `uv pip list` name normalization in docs (#13210) 2025-11-02 20:39:30 +00:00
reference feat(cli): expose `UV_NO_DEFAULT_GROUPS` environment variable (#16645) 2025-11-10 14:43:48 -06:00
stylesheets document uv version for environment variables (#15196) 2025-10-08 12:31:12 -05:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Fix PowerShell code blocks (#13511) 2025-05-17 21:06:48 -05:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.in Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.txt Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00