Releases: pdm-project/pdm
Releases · pdm-project/pdm
v1.10.2
Features & Improvements
- Add a new option
-s/--site-packages
topdm run
as well as a script config item. When it is set toTrue
, site-packages from the selected interpreter will be loaded into the running environment. #733
Bug Fixes
- Now
NO_SITE_PACKAGES
isn't set inpdm run
if the executable is out of local packages. #733
v1.10.1
Features & Improvements
- Isolate the project environment with system site packages in
pdm run
, but keep them seen when PEP 582 is enabled. #708
Bug Fixes
- Run
pip
with--isolated
when building wheels. In this way some env vars likePIP_REQUIRE_VIRTUALENV
can be ignored. #669 - Fix the install script to ensure
pip
is not DEBUNDLED. #685 - Fix a bug that when
summary
isNone
, the lockfile can't be generated. #719 ${PROJECT_ROOT}
should be written in the URL when relative path is given. #721- Fix a bug that when project table already exists,
pdm import
can't merge the settings correctly. #723
v1.10.0
Features & Improvements
- Add
--no-sync
option toupdate
command. #684 - Support
find_links
source type. It can be specified viatype
key of[[tool.pdm.source]]
table. #694 - Add
--dry-run
option toadd
,install
andremove
commands. #698
Bug Fixes
- Remove trailing whitespace with terminal output of tables (via
project.core.ui.display_columns
), fixing unnecessary wrapping due to / with empty lines full of spaces in case of long URLs in the last column. #680 - Include files should be installed under venv's base path. #682
- Ensure the value of
check_update
is boolean. #689
Improved Documentation
- Update the contributing guide, remove the usage of
setup_dev.py
in favor ofpip install
. #676
v1.9.0
Bug Fixes
- Fix a bug that
requires-python
is not recognized in candidates evaluation. #657 - Fix the path order when pdm run so that executables in local packages dir are found first. #678
Dependencies
- Update
installer
to0.3.0
, fixing a bug that broke installation of some packages with unusual wheel files. #653 - Change
packaging
andtyping-extensions
to direct dependencies. #674
Refactor
requires-python
now participates in the resolution as a dummy requirement. #658
v1.8.5
v1.8.4
v1.8.3
v1.8.2
v1.8.1
Features & Improvements
- Add
-r/--reinstall
option tosync
command to force re-install the existing dependencies. #601 - Show update hint after every pdm command. #603
pdm cache clear
can clear cached installations if not needed any more. #604
Bug Fixes
- Fix the editable install script so that
setuptools
won't see the dependencies under local packages. #601 - Preserve the executable bit when installing wheels. #606
- Write PEP 610 metadata
direct_url.json
when installing wheels. #607 - Fix a bug that
*
fails to be converted asSpecifierSet
. #609
Refactor
- Build editable packages are into wheels via PEP 660 build backend. Now all installations are unified into wheels. #612
v1.8.0
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