Repository navigation
Commit 1a486d1
Add coverage for Python build upgrades (#21320)
Adds regression coverage for same-version managed Python build upgrades
through both `uv python install --upgrade` and `uv python upgrade`. The
tests capture the current behavior: the command reports a replacement,
but invoking the interpreter still observes contents from the previous
build.
```console
$ uv python upgrade 3.12
Installed Python 3.12.<latest>
~ cpython-3.12.<latest>-<platform>
$ python3.12 -c 'import sys; print(sys.version.split()[0])'
3.12.0
```
Co-authored-by: Zanie Blue <[email protected]>1 parent 17b195b commit 1a486d1
2 files changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3951 | 3951 | | |
3952 | 3952 | | |
3953 | 3953 | | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
3954 | 3969 | | |
3955 | 3970 | | |
3956 | 3971 | | |
| |||
3960 | 3975 | | |
3961 | 3976 | | |
3962 | 3977 | | |
| 3978 | + | |
| 3979 | + | |
| 3980 | + | |
| 3981 | + | |
| 3982 | + | |
| 3983 | + | |
| 3984 | + | |
3963 | 3985 | | |
3964 | 3986 | | |
3965 | 3987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
647 | 662 | | |
648 | 663 | | |
649 | 664 | | |
| |||
653 | 668 | | |
654 | 669 | | |
655 | 670 | | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
656 | 678 | | |
657 | 679 | | |
658 | 680 | | |
| |||
0 commit comments