Features & Improvements
- Defer command action and Python installer imports until their corresponding runtime paths execute. (#3673)
- Add
{run_cwd}placeholder for scripts to reference the original working directory. (#3734) - Add opt-in canonical lock input freshness via
tool.pdm.resolution.lock_inputswhile retaining sticky lockfile behavior and legacy hash fallback for existing lock files. (#3821) - Integrate
argcompletefor simplified command-line completion scripts. (#3823)
Bug Fixes
- Keep workspace members in their explicitly declared dependency groups instead of adding them to
defaultin the lockfile. (#3816) - Keep the cached parsed version intact when stripping the local segment in
comparable_version(). (#3817) - Make
use_uvsupport adding local files. (#3822) - Add a Poetry optional dependency to every extra that lists it when importing, instead of only the first one. (#3831)
- Do not write null values into the generated
pyproject.tomlwhen importing a flit project that omitsauthor-email/maintainer-emailor sets only one ofincludeandexcludein[tool.flit.sdist]. (#3832)
Miscellany
- Add Python 3.15 preview version to the CI matrix. (#3827)