uv/crates/pypi-types/src
Charlie Marsh 32dc9bef59
Respect tool upgrades in `uv tool install` (#4736)
## Summary

For now the semantics are such that if the requested requirements from
the command line don't match the receipt (or if any `--reinstall` or
`--upgrade` is requested), we proceed with an install, passing the
`--reinstall` and `--upgrade` to the underlying Python environment.

This may lead to some unintuitive behaviors, but it's simplest for now.
For example:

- `uv tool install black<24` followed by `uv tool install black
--upgrade` will install the latest version of `black`, removing the
`<24` constraint.
- `uv tool install black --with black-plugin` followed by `uv tool
install black` will remove `black-plugin`.

Closes https://github.com/astral-sh/uv/issues/4659.
2024-07-02 16:46:31 -04:00
..
base_url.rs Remove some unused `pub` functions (#3872) 2024-05-28 15:58:13 +00:00
direct_url.rs Add basic `tool.uv.sources` support (#3263) 2024-05-03 21:10:50 +00:00
lenient_requirement.rs Use `VerbatimParsedUrl` in `pep508_rs` (#3758) 2024-05-23 19:52:47 +00:00
lib.rs Add support for `tool.uv` into distribution building (#3904) 2024-05-31 02:42:03 +00:00
metadata.rs Improve static metadata extraction for Poetry projects (#4182) 2024-06-10 10:26:38 -04:00
parsed_url.rs Use separate path types for directories and files (#4285) 2024-06-12 15:59:21 -04:00
requirement.rs Respect tool upgrades in `uv tool install` (#4736) 2024-07-02 16:46:31 -04:00
scheme.rs Query interpreter to determine correct `virtualenv` paths (#2188) 2024-03-05 16:13:24 -05:00
simple_json.rs Rename `DistInfoMetadata` to `CoreMetadata` (#3699) 2024-05-21 18:26:59 +00:00