uv/crates/uv/tests
Charlie Marsh 7aed94bed2
Add `--package` support to `uv build` (#6990)
## Summary

This PR adds `--package` support to `uv build`, such that you can use
`--package` from anywhere in a workspace to build any member.

If a source directory is provided, we use that as the workspace root.

If a file is provided, we error.

For now, `uv build` only builds the current package, making it
semantically identical to `uv sync`.
2024-09-04 15:52:21 +00:00
..
common Implement `uv build` (#6895) 2024-09-04 11:23:46 -04:00
snapshots Prune unreachable wheels from lockfile (#6961) 2024-09-04 11:08:37 +02:00
branching_urls.rs uv/tests: another update to error messages 2024-09-03 18:41:15 -04:00
build.rs Add `--package` support to `uv build` (#6990) 2024-09-04 15:52:21 +00:00
cache_clean.rs Remove dangling archives in `uv cache clean ${package}` (#6915) 2024-09-01 13:27:13 -04:00
cache_prune.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
ecosystem.rs uv/tests: remove `deterministic` macro 2024-08-19 05:33:30 -07:00
edit.rs Fix handling of inline optional dependencies in `uv add` (#7023) 2024-09-04 10:41:59 -04:00
export.rs Prune unreachable wheels from lockfile (#6961) 2024-09-04 11:08:37 +02:00
help.rs Implement `uv build` (#6895) 2024-09-04 11:23:46 -04:00
init.rs Add warning when `VIRTUAL_ENV` is set but will not be respected in project commands (#6864) 2024-09-03 19:51:43 -04:00
lock.rs Redact packse version in all urls (#7026) 2024-09-04 14:59:07 +00:00
lock_scenarios.rs Respect the user's upper-bound in `requires-python` (#6824) 2024-08-29 18:37:05 +00:00
pip_check.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_compile.rs uv/tests: remove double-escaping 2024-09-03 18:41:15 -04:00
pip_compile_scenarios.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_freeze.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_install.rs Remove unused import. (#6996) 2024-09-04 09:40:58 -04:00
pip_install_scenarios.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_list.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_show.rs Remove `VIRTUAL_ENV` from project commmands by default (#6976) 2024-09-03 14:11:23 -05:00
pip_sync.rs Stream build backend output to `debug!` (#6903) 2024-09-02 19:46:09 +00:00
pip_tree.rs Normalize specifiers by sorting (#6333) 2024-08-29 21:06:19 +00:00
pip_uninstall.rs Use backticks in pep508-rs (#6415) 2024-08-22 08:31:04 +00:00
python_dir.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
python_find.rs Include virtual environment interpreters in `uv python find` (#6521) 2024-08-23 21:06:57 +00:00
python_pin.rs Add `--no-project` alias for `uv python pin --no-workspace` (#6514) 2024-08-23 16:08:27 +00:00
run.rs Reflect exit code in `uv tool run` and `uv run` (#6994) 2024-09-04 09:33:26 -04:00
self_update.rs Deduplicate test command creation (#4512) 2024-06-25 22:06:54 +00:00
show_settings.rs Accept either strings or structs for hosts (#6763) 2024-08-28 16:36:12 +00:00
sync.rs Use the root project name for the project virtual environment prompt (#7021) 2024-09-04 15:16:31 +00:00
tool_dir.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
tool_install.rs Allow `@` references in `uv tool install --from` (#6842) 2024-08-30 13:00:17 +00:00
tool_list.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
tool_run.rs Reflect exit code in `uv tool run` and `uv run` (#6994) 2024-09-04 09:33:26 -04:00
tool_uninstall.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
tool_upgrade.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
tree.rs Remove preview labeling for uv 0.3.0 (#6166) 2024-08-20 11:31:46 -05:00
venv.rs Improve project handling in `uv venv` (#6835) 2024-09-03 14:22:30 -05:00
workflow.rs Prune unreachable wheels from lockfile (#6961) 2024-09-04 11:08:37 +02:00
workspace.rs Add warning when `VIRTUAL_ENV` is set but will not be respected in project commands (#6864) 2024-09-03 19:51:43 -04:00