-
-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure dev-dependencies are added to the correct group (#3393)
* fix: ensure dev-dependencies are added to the correct group Before this change, the `group` variable containing the group the user requested was being overridden with the last group processed from the `tool.pdm.dev-dependencies` table, making PDM add dev-dependencies to the wrong group. * fix: use deepcopy for `dependency-groups` to prevent mutating the original table This change prevents groups defined in `tool.pdm.dev-dependencies` from being copied to the `dependency-groups` table. * test: add test for adding dev dependency with existing editables group This test should prevent #3392 from happening again. * doc: added news fragment for #3392
- Loading branch information
1 parent
c582a94
commit 000ef5f
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ensure dev-dependencies are added to the correct group when the `tool.pdm.dev-dependencies` table has groups. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters