Features & Improvements
- Install project-level plugins from project config, with
tool.pdm.plugins
setting. #1461 - Added a
--json
flag to bothrun
andinfo
command allowing to dump scripts and infos as JSON. #1854 - Consider tasks with a name starting by an underscore (
_
) as internal tasks and hide them from the listing. #1855 - When running
pdm init -n
(non-interactive mode), a venv will be created by default. Previously, the selected Python will be used under PEP 582 mode. #1862 - Support Trusted Publisher. #1868
- Add an ephemeral wheel cache in process for wheels built from non-static revision sources. #1885
- Allow self-referencing groups in dev-dependencies. #1890
- Add an option
--no-cross-platform
topdm lock
to create a non-cross-platform lockfile. #1898
Bug Fixes
- Fix brackets in
--venv
option descriptions in zsh completion script. #1847 - The resolver doesn't take into account of the requirements for both bare
package
andpackage[extra]
. #1851 - Default pypi source does not use configured pypi.password, but "" instead. #1856
- Detect Python interpreters under the root of virtual environments. #1866
- Fix a race condition when the builder is creating a new build directory. #1869
- Raise
FileNotFoundError
if the requirement path is not found. #1875 - Fix a bug that the self package isn't uninstallable. #1901