You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X ] I have searched the issue tracker and believe that this is not a duplicate.
So I'm preparing to upgrade our dev environment and I'm installing the release 1.12.6 and suddenly I see that PDM modifies my project's pyproject.toml which in turns prevent me from deploying because we enforce a policy to never deploy uncommitted code. I understand the point of doing this but not the means. Could we avoid in the future modifying source code without user intervention ? A prominent warning would be a good enough solution I think. I don't like my code being modified without my knowledge ;)
Make sure you run commands with -v flag before pasting the output.
Steps to reproduce
Run pdm on a project with version = {use_scm = true} under [project]
Actual behavior
PDM moves the version declaration to the new location under tool.
Expected behavior
PDM should warn about the bad location but it should not change source code unless askedfor.
The text was updated successfully, but these errors were encountered:
So I'm preparing to upgrade our dev environment and I'm installing the release 1.12.6 and suddenly I see that PDM modifies my project's pyproject.toml which in turns prevent me from deploying because we enforce a policy to never deploy uncommitted code. I understand the point of doing this but not the means. Could we avoid in the future modifying source code without user intervention ? A prominent warning would be a good enough solution I think. I don't like my code being modified without my knowledge ;)
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Run pdm on a project with
version = {use_scm = true}
under[project]
Actual behavior
PDM moves the version declaration to the new location under tool.
Expected behavior
PDM should warn about the bad location but it should not change source code unless askedfor.
The text was updated successfully, but these errors were encountered: