Skip to content

Comments

Add --reinstall flag to uv python upgrade#15194

Merged
zanieb merged 1 commit intomainfrom
jtfm/upgrade-reinstall
Aug 11, 2025
Merged

Add --reinstall flag to uv python upgrade#15194
zanieb merged 1 commit intomainfrom
jtfm/upgrade-reinstall

Conversation

@jtfmumm
Copy link
Contributor

@jtfmumm jtfmumm commented Aug 9, 2025

As described in #15179, there are cases where it can be useful to reinstall the latest patch on upgrade if it is already installed. Using this flag, you don't need to know ahead of time if you have the latest patch already.

Closes #15179.

@jtfmumm jtfmumm added the enhancement New feature or improvement to existing functionality label Aug 9, 2025
@jtfmumm jtfmumm temporarily deployed to uv-test-registries August 9, 2025 17:18 — with GitHub Actions Inactive
@zanieb zanieb merged commit 23245c6 into main Aug 11, 2025
95 checks passed
@zanieb zanieb deleted the jtfm/upgrade-reinstall branch August 11, 2025 20:20
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 12, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.8.8` -> `0.8.9` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>astral-sh/uv (astral-sh/uv)</summary>

### [`v0.8.9`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#089)

[Compare Source](astral-sh/uv@0.8.8...0.8.9)

##### Enhancements

- Add `--reinstall` flag to `uv python upgrade` ([#&#8203;15194](astral-sh/uv#15194))

##### Bug fixes

- Include build settings in cache key for registry source distribution lookups ([#&#8203;15225](astral-sh/uv#15225))
- Avoid creating bin links on `uv python upgrade` if they don't already exist ([#&#8203;15192](astral-sh/uv#15192))
- Respect system proxies on macOS and Windows ([#&#8203;15221](astral-sh/uv#15221))

##### Documentation

- Add the 3.14 classifier ([#&#8203;15187](astral-sh/uv#15187))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNjEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to upgrade or reinstall Python versions as needed

3 participants