uv/crates/uv-scripts
Charlie Marsh 0397595e53
Treat --upgrade-package on the command-line as overriding upgrade = false in configuration (#15395)
## Summary

Right now, if you put `upgrade = false` in a `uv.toml`, then pass
`--upgrade-package numpy` on the CLI, we won't upgrade NumPy. This PR
fixes that interaction by ensuring that when we "combine", we look at
those arguments holistically (i.e., we bundle `upgrade` and
`upgrade-package` into a single struct, which then goes through the
`.combine` logic), rather than combining `upgrade` and `upgrade-package`
independently.

If approved, I then need to add the same thing for `no-build-isolation`,
`reinstall`, `no-build`, and `no-binary`.
2025-08-21 16:20:55 +01:00
..
src Treat --upgrade-package on the command-line as overriding upgrade = false in configuration (#15395) 2025-08-21 16:20:55 +01:00
Cargo.toml Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00