PDM v1.8.0 Release Notes
Release Date: 2021-08-16 // over 2 years ago-
๐ 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
- โ Added a new mode