uv/docs/concepts/projects
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
..
build.md Explain build frontend vs. build backend (#11094) 2025-01-30 19:48:47 +00:00
config.md Tweak some documentation headings (#15556) 2025-08-27 18:16:52 +00:00
dependencies.md add docs for dependency group `requires-python` (#14282) 2025-09-12 13:15:27 +00:00
index.md Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
init.md Deprecate `--project` arg for init (#16674) 2025-11-10 16:33:08 -07:00
layout.md Update `uv pip compile` args in layout.md (#16155) 2025-10-07 12:32:02 -05:00
run.md Update docs to reflect new signal forwarding semantics (#16430) 2025-10-24 14:52:08 -05:00
sync.md Tweak some documentation headings (#15556) 2025-08-27 18:16:52 +00:00
workspaces.md Bump version to 0.9.8 (#16636) 2025-11-07 11:45:22 -06:00