Pdm

Latest version: v2.20.1

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 36

2.15.2

Features & Improvements

- Use `get_runner()` method to build the task runner in `run` command. `runner_cls` attribute is deprecated. ([2872](https://github.com/pdm-project/pdm/issues/2872))

Bug Fixes

- Expand `${PROJECT_ROOT}` in source URLs. ([2846](https://github.com/pdm-project/pdm/issues/2846))
- Fix env and other options being inherited in nested composite scripts. ([2849](https://github.com/pdm-project/pdm/issues/2849))
- Keep the `${PROJECT_ROOT}` variable in dependencies after running `pdm lock --update-reuse`. ([2852](https://github.com/pdm-project/pdm/issues/2852))
- Make `direct_minimal_versions` work on newly added dependencies. ([2853](https://github.com/pdm-project/pdm/issues/2853))
- Fix a syntax error in the zsh completion script. ([2868](https://github.com/pdm-project/pdm/issues/2868))

2.15.1

Bug Fixes

- Disable check update in `zsh` completion script. ([2838](https://github.com/pdm-project/pdm/issues/2838))
- Fixes cached packages metadata files (`.referrers`) collisions on `sync` when using a `venv` with `symlink` cache method. ([2839](https://github.com/pdm-project/pdm/issues/2839))

Documentation

- Build docs with object inventory to support cross references from Sphinx documentation projects. ([2841](https://github.com/pdm-project/pdm/issues/2841))

2.15.0

Features & Improvements

- Packages format preferences can now be defined in the project `pyproject.toml`
using the `no-binary`, `only-binary` and `prefer-binary` keys of the `tool.pdm.resolution` section. ([2656](https://github.com/pdm-project/pdm/issues/2656))

Bug Fixes

- Don't create project and virtualenv when running `pdm python install`. ([2809](https://github.com/pdm-project/pdm/issues/2809))
- Clean up the python installation directory if a previous download was unsuccessful. ([2810](https://github.com/pdm-project/pdm/issues/2810))
- Don't cache editable installations. ([2816](https://github.com/pdm-project/pdm/issues/2816))
- Fix a bug that installing in-project plugins with editable local paths doesn't work. ([2820](https://github.com/pdm-project/pdm/issues/2820))
- Don't create log directory until it's needed, to fix a PermissionError in docker environment. ([2825](https://github.com/pdm-project/pdm/issues/2825))
- Fix recursive script detection on multiple invocations. ([2829](https://github.com/pdm-project/pdm/issues/2829))

2.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](https://github.com/pdm-project/pdm/issues/2803))

Bug Fixes

- Fix inconsistent logging when `pdm use` a different python interpreter ([2776](https://github.com/pdm-project/pdm/issues/2776))
- Fix PDM unable to find Python interpreters when `PDM_IGNORE_ACTIVE_VENV` is set ([2779](https://github.com/pdm-project/pdm/issues/2779))
- Check verify_ssl when trusting each source. ([2784](https://github.com/pdm-project/pdm/issues/2784))
- Fix name check for project itself in `pdm outdated` ([2785](https://github.com/pdm-project/pdm/issues/2785))
- Fix a regression that proxy env vars are not respected. ([2788](https://github.com/pdm-project/pdm/issues/2788))
- Fix an issue that venv provider can't be found when providers are explicitly configured. ([2792](https://github.com/pdm-project/pdm/issues/2792))
- Fix a bug that `[tool.pdm.options]` are ignored if `-c/--config CONFIG` is given. ([2793](https://github.com/pdm-project/pdm/issues/2793))
- Make `--without` respect groups in `dev-dependencies` ([2799](https://github.com/pdm-project/pdm/issues/2799))

2.13.3

Bug Fixes

- Per-source configuration for ca-certs and client-cert. [2754](https://github.com/pdm-project/pdm/issues/2754)
- Remove all caches by removing individual cache types one by one. [2757](https://github.com/pdm-project/pdm/issues/2757)
- Use the default HTTP client when downloading the pythons, to use the certificates settings. [2759](https://github.com/pdm-project/pdm/issues/2759)
- Fix a race condition where pth files take effect when multiple packages are installed in parallel. [2762](https://github.com/pdm-project/pdm/issues/2762)
- Refuse to run recursive composite scripts. [2766](https://github.com/pdm-project/pdm/issues/2766)

2.13.2

Bug Fixes

- Fix errors when parsing poetry format that contains special characters in author name.
Poetry-specific `parse_name_email` and `NAME_EMAIL_RE` moved from `pdm.formats.base` to `pdm.formats.poetry`. [2665](https://github.com/pdm-project/pdm/issues/2665)
- Fix a race condition in cached packages. When a cached package is being created it shouldn't be used for installation. [2739](https://github.com/pdm-project/pdm/issues/2739)
- Add back `PreparedCandidate.build()` for backward-compatibility. [2747](https://github.com/pdm-project/pdm/issues/2747)

Documentation

- Fixed a small non-code typo in docs and prodivded better wording. [2740](https://github.com/pdm-project/pdm/issues/2740)

Page 4 of 36

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.