pdm lock --check
on a lockfile generated with older PDM version has a 0 exit code when there's a change in pyproject.toml
#3199
Labels
🐛 bug
Something isn't working
Steps to reproduce
4.4.1
got generated with PDM version2.12.3
)pyproject.toml
Actual behavior
2.12.3
to generate a lock file versioned at4.4.1
2.16.1
generate a lock file versioned at4.4.2
pdm lock --check
after makingpyproject.toml
changes, it only throws the below warning but the exit code is 0WARNING: Lockfile is generated on an older version of PDM
Expected behavior
2.16.1
for a lock_version of4.4.2
and then we update thepyproject.toml
- the exit code is 1 for the above snippetEnvironment Information
NOTE: More context can be obtained from this Github action run
The text was updated successfully, but these errors were encountered: