We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pyproject.toml
Make sure you run commands with -v flag before pasting the output.
-v
Create a project using for example setuptools-scm, which requires you to add the following empty section
setuptools-scm
[tool.setuptools_scm]
but also works with other empty sections like [project.optional-dependencies].
[project.optional-dependencies]
Then run any pdm command that writes to pyproject.toml (pdm add xx, pdm remove xx).
pdm add xx
pdm remove xx
The empty section key will be removed.
pdm should not remove keys that don't concern the command
pdm
latest pdm 2.12.4
The text was updated successfully, but these errors were encountered:
1bf5eb1
Thanks for the quick fix!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Create a project using for example
setuptools-scm
, which requires you to add the following empty section[tool.setuptools_scm]
but also works with other empty sections like
[project.optional-dependencies]
.Then run any pdm command that writes to
pyproject.toml
(pdm add xx
,pdm remove xx
).Actual behavior
The empty section key will be removed.
Expected behavior
pdm
should not remove keys that don't concern the commandEnvironment Information
latest pdm 2.12.4
The text was updated successfully, but these errors were encountered: