Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: from [tool.pdm.dev-dependencies] to [dependency-groups] #815

Closed
wants to merge 1 commit into from

Conversation

you-n-g
Copy link
Contributor

@you-n-g you-n-g commented Nov 29, 2024

I'm not sure this change is reasonable.

But I found [tool.pdm.dev-dependencies] does not work well with a command like pdm add -d ipdb (pdm does not install pip by default, so I chose this way to install ipdb).

pdm add -d ipdb will create a new section [dependency-groups], which is a combination of [tool.pdm.dev-dependencies] +
dev = ["ipdb>=0.13.13"] within it.

Extra Info

PDM, version 2.21.0

Thanks.

@huxuan
Copy link
Member

huxuan commented Nov 29, 2024

Yep, it is a feature introduced by the newer version [1] of pdm, I am glad if someone can handle it properly. :-)

[1] https://pdm-project.org/en/latest/dev/changelog/#release-v2200-2024-10-31

@huxuan
Copy link
Member

huxuan commented Jan 30, 2025

Closed as #884 merged. Thanks for the reporting!

@huxuan huxuan closed this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants