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
Make sure you run commands with -v flag before pasting the output.
-v
pyproject.toml
[project] name = "pdm_test" version = "0.1.0" description = "test" authors = [ {name = "mon", email = "fake@email.com"}, ] dependencies = [ "numpy>=2.0.0" ] requires-python = "==3.10.*" readme = "README.md" license = {text = "MIT"} [tool.pdm] distribution = false
pdm config strategy.inherit_metadata false
pdm config strategy.inherit_metadata
pdm lock -L pdm.test.lock
pdm.test.lock's strategy would be strategy = ["inherit_metadata"]
pdm.test.lock
strategy = ["inherit_metadata"]
pdm.test.lock's strategy should be strategy = []
strategy = []
pdm 2.19.3
I found that in this line, it actually would not be run if we set -L pdm.test.lock, so maybe it should be run regardless of if self._lockfile is None?
-L pdm.test.lock
if self._lockfile is None
The text was updated successfully, but these errors were encountered:
fix: inherit_metadata would be written in lock file if the file is no…
4937eaf
…t pdm.lock even strategy config is true Fixes #3232 Signed-off-by: Frost Ming <me@frostming.com>
d954e79
frostming
Successfully merging a pull request may close this issue.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pyproject.toml
pdm config strategy.inherit_metadata false
, and ensure withpdm config strategy.inherit_metadata
pdm lock -L pdm.test.lock
Actual behavior
pdm.test.lock
's strategy would bestrategy = ["inherit_metadata"]
Expected behavior
pdm.test.lock
's strategy should bestrategy = []
Environment Information
pdm 2.19.3
I found that in this line, it actually would not be run if we set
-L pdm.test.lock
, so maybe it should be run regardless ofif self._lockfile is None
?The text was updated successfully, but these errors were encountered: