Commit 44bf74a
committed
Fix pipenv update --dev updating transitive deps independently
When running 'pipenv update --dev' or 'pipenv update --categories develop',
transitive dependencies in the develop section were being updated independently
from the default section. This could result in version bumps (including major
version changes) for shared packages between default and develop.
The fix adds the same 'overwrite_with_default()' logic from lock.py to update.py,
ensuring that any packages present in both default and develop sections use the
version from default.
Fixes #64201 parent 27821d4 commit 44bf74a
2 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
656 | 667 | | |
657 | 668 | | |
658 | 669 | | |
0 commit comments