uv/docs/reference
Charlie Marsh 40844048af
Remove --upgrade, --no-upgrade, and --upgrade-package from uv tool upgrade (#9318)
## Summary

`--upgrade` isn't useful, since it's the default. So it's now hidden,
but continues to warn if you enable it.

`--no-upgrade` isn't useful, since it panics. So it's now removed
entirely. This isn't breaking, since it already didn't work.

`--upgrade-package` actually _is_ useful, because it turns out it allows
things like: `uv tool upgrade babel --upgrade-package "babel<0.2.14"` to
constrain the upgrade.

I left this in place but hid it... I think we should provide a better
workflow for this, like `uv tool upgrade "babel<0.2.14"`? It's strange
to specify the package twice, and that `uv tool upgrade` has an
`--upgrade-package` flag.

Closes https://github.com/astral-sh/uv/issues/9317.
2024-11-21 09:35:57 -05:00
..
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
build_failures.md Add help page for build failures (#8286) 2024-10-22 13:35:54 +02:00
cli.md Remove --upgrade, --no-upgrade, and --upgrade-package from uv tool upgrade (#9318) 2024-11-21 09:35:57 -05:00
index.md Disable collapsible navigation in the documentation (#5674) 2024-08-16 18:09:21 -05:00
platforms.md Add 3.13 support to the platform reference (#7971) 2024-10-07 12:06:43 -05:00
resolver-internals.md Typo fixes (#9057) 2024-11-12 13:45:22 +00:00
settings.md Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
versioning.md Enforce lockfile schema versions (#8509) 2024-10-24 12:23:56 -04:00