Features & Improvements
- Added a new mode
--json
to the list command which outputs the dependency graph as a JSON document. #583 - Add a new config
feature.install_cache
. When it is turned on, wheels will be installed into a centralized package repo and create.pth
files under project packages directory to link to the cached package. #589
Bug Fixes
- Fix env vars in source URLs not being expanded in all cases. #570
- Fix the weird output of
pdm show
. #580 - Prefer
~/.pyenv/shims/python3
as the pyenv interpreter. #590 - Fix a bug that installing will download candidates that do not match the locked hashes. #596
Improved Documentation
- Added instructions to the Contributing section for creating news fragments #573
Removals and Deprecations
- Deprecate
-s/--section
option in favor of-G/--group
. #591
Refactor
- Switch to a self-implemented version of uninstaller. #586
pdm/installers/installers.py
is renamed topdm/installers/manager.py
to be more accurate. TheInstaller
class under that file is renamed toInstallerManager
and is exposed in thepdm.core.Core
object for overriding. The newpdm/installers/installers.py
contains some installation implementations. #589- Switch from
pkg_resources.Distribution
to the implementation ofimportlib.metadata
. #592