Releases: pdm-project/pdm
Releases · pdm-project/pdm
v2.16.0
Features & Improvements
- Add
--no-extrastopdm exportto strip extras from the requirements. Now the default behavior is to keep extras. (#2519) - Support PEP 723: running scripts with inline metadata in standalone environment with dependencies. (#2924)
pdm useandpdm python installnow takerequires-pythoninto account (incl. from pyproject.toml) if python version
not specified andpdm useprovides auto installation by that. (#2943)--no-isolationno longer installsbuild-requiresnor dynamic build dependencies, to be consistent withpip. (#2944)- Add notifiers in CLI output when global project is being used. (#2952)
- Use
tool.pdm.resolutiontable when calculating the content hash of project file, previously onlyoverridestable was used.
This will change the hash already stored in the lockfile, so bump the lockfile version to4.4.2. (#2956)
Bug Fixes
- Add max retries on read timeout or bad connection. (#2914)
- Don't update local files if they don't change. (#2966)
- Don't list python versions that don't have any installation link for the current platform. (#2970)
Documentation
v2.15.4
Bug Fixes
- Build wheel from sdist if available, to make sure sdist is built properly. This behavior is consistent with pypa/build. (#2843)
- Fix the issue of self-referencing extra dependencies failing to be resolved for local packages. (#2898)
- Fix an issue of max recursion depth error when parsing a poetry project with circular dependencies on local packages. (#2900)
- Fix a bug that VCS dependencies and
--selfdon't work in the exported requirements.txt with hashes. (#2908) - Fix a cache miss when there exist built wheels for a given link. (#2912)
- Don't try to store caches when
--no-cacheis given. (#2913)
v2.15.3
Bug Fixes
- Fixed pdm venv activate, to also work for windows. And added documentation on how to authenticate to Azure Artifacts (#2851)
- Don't show unsupported formats in
pdm export. (#2877) - Proxy (
HTTP_PROXYenv vars) settings are ignored for custom indexes. (#2880) - Fix the quoting of venv activate command for powershell. (#2881)
- Raise an error if the package given by
pdm updatedoes not exist in the select dependency group but in other groups. (#2885)
v2.15.2
Features & Improvements
- Use
get_runner()method to build the task runner inruncommand.runner_clsattribute is deprecated. (#2872)
Bug Fixes
- Expand
${PROJECT_ROOT}in source URLs. (#2846) - Fix env and other options being inherited in nested composite scripts. (#2849)
- Keep the
${PROJECT_ROOT}variable in dependencies after runningpdm lock --update-reuse. (#2852) - Make
direct_minimal_versionswork on newly added dependencies. (#2853) - Fix a syntax error in the zsh completion script. (#2868)
v2.15.1
Bug Fixes
- Disable check update in
zshcompletion script. (#2838) - Fixes cached packages metadata files (
.referrers) collisions onsyncwhen using avenvwithsymlinkcache method. (#2839)
Documentation
- Build docs with object inventory to support cross references from Sphinx documentation projects. (#2841)
v2.15.0
Features & Improvements
- Packages format preferences can now be defined in the project
pyproject.toml
using theno-binary,only-binaryandprefer-binarykeys of thetool.pdm.resolutionsection. (#2656)
Bug Fixes
- Don't create project and virtualenv when running
pdm python install. (#2809) - Clean up the python installation directory if a previous download was unsuccessful. (#2810)
- Don't cache editable installations. (#2816)
- Fix a bug that installing in-project plugins with editable local paths doesn't work. (#2820)
- Don't create log directory until it's needed, to fix a PermissionError in docker environment. (#2825)
- Fix recursive script detection on multiple invocations. (#2829)
v2.14.0
Features & Improvements
- Revert the package cache introduced in 2.13. Don't cache the decompressed contents of wheels unless being told so. (#2803)
Bug Fixes
- Fix inconsistent logging when
pdm usea different python interpreter (#2776) - Fix PDM unable to find Python interpreters when
PDM_IGNORE_ACTIVE_VENVis set (#2779) - Check verify_ssl when trusting each source. (#2784)
- Fix name check for project itself in
pdm outdated(#2785) - Fix a regression that proxy env vars are not respected. (#2788)
- Fix an issue that venv provider can't be found when providers are explicitly configured. (#2792)
- Fix a bug that
[tool.pdm.options]are ignored if-c/--config CONFIGis given. (#2793) - Make
--withoutrespect groups indev-dependencies(#2799)
v2.13.3
Bug Fixes
- Per-source configuration for ca-certs and client-cert. #2754
- Remove all caches by removing individual cache types one by one. #2757
- Use the default HTTP client when downloading the pythons, to use the certificates settings. #2759
- Fix a race condition where pth files take effect when multiple packages are installed in parallel. #2762
- Refuse to run recursive composite scripts. #2766
v2.13.2
Bug Fixes
- Fix errors when parsing poetry format that contains special characters in author name.
Poetry-specificparse_name_emailandNAME_EMAIL_REmoved frompdm.formats.basetopdm.formats.poetry. #2665 - Fix a race condition in cached packages. When a cached package is being created it shouldn't be used for installation. #2739
- Add back
PreparedCandidate.build()for backward-compatibility. #2747
Documentation
- Fixed a small non-code typo in docs and prodivded better wording. #2740