Pdm

Latest version: v2.15.2

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

Scan your dependencies

Page 18 of 33

1.11.1

Not secure
----------------------------

Features & Improvements

- Support `--pre/--prelease` option for `pdm add` and `pdm update`. It will allow prereleases to be pinned. [774](https://github.com/pdm-project/pdm/issues/774)
- Improve the error message when python is found but not meeting the python requirement. [777](https://github.com/pdm-project/pdm/issues/777)

Bug Fixes

- Fix a bug that `git+https` candidates cannot be resolved. [771](https://github.com/pdm-project/pdm/issues/771)
- Fix an infinite resolution loop by resolving the top-level packages first. Also deduplicate the lines from the same requirement in the error output. [776](https://github.com/pdm-project/pdm/issues/776)

Miscellany

- Fix the install script to use a zipapp of virtualenv when it isn't installed. [780](https://github.com/pdm-project/pdm/issues/780)

1.11.0

Not secure
----------------------------

Features & Improvements

- Move `version` from `[project]` table to `[tool.pdm]` table, delete `classifiers` from `dynamic`, and warn usage about the deprecated usages. [748](https://github.com/pdm-project/pdm/issues/748)
- Add support for Conda environments in addition to Python virtual environments. [749](https://github.com/pdm-project/pdm/issues/749)
- Add support for saving only the lower bound `x >= VERSION` when adding dependencies. [752](https://github.com/pdm-project/pdm/issues/752)
- Improve the error message when resolution fails. [754](https://github.com/pdm-project/pdm/issues/754)

Bug Fixes

- Switch to self-implemented `pdm list --freeze` to fix a bug due to Pip's API change. [533](https://github.com/pdm-project/pdm/issues/533)
- Fix an infinite loop issue when resolving candidates with incompatible `requires-python`. [744](https://github.com/pdm-project/pdm/issues/744)
- Fix the python finder to support pyenv-win. [745](https://github.com/pdm-project/pdm/issues/745)
- Fix the ANSI color output for Windows cmd and Powershell terminals. [753](https://github.com/pdm-project/pdm/issues/753)

Removals and Deprecations

- Remove `-s/--section` option from all previously supported commands. Use `-G/--group` instead. [756](https://github.com/pdm-project/pdm/issues/756)

1.10.3

Not secure
----------------------------

Bug Fixes

- Use `importlib` to replace `imp` in the `sitecustomize` module for Python 3. [574](https://github.com/pdm-project/pdm/issues/574)
- Fix the lib paths under non-isolated build. [740](https://github.com/pdm-project/pdm/issues/740)
- Exclude the dependencies with extras in the result of `pdm export`. [741](https://github.com/pdm-project/pdm/issues/741)

1.10.2

Not secure
----------------------------

Features & Improvements

- Add a new option `-s/--site-packages` to `pdm run` as well as a script config item. When it is set to `True`, site-packages from the selected interpreter will be loaded into the running environment. [733](https://github.com/pdm-project/pdm/issues/733)

Bug Fixes

- Now `NO_SITE_PACKAGES` isn't set in `pdm run` if the executable is out of local packages. [733](https://github.com/pdm-project/pdm/issues/733)

1.10.1

Not secure
----------------------------

Features & Improvements

- Isolate the project environment with system site packages in `pdm run`, but keep them seen when PEP 582 is enabled. [708](https://github.com/pdm-project/pdm/issues/708)

Bug Fixes

- Run `pip` with `--isolated` when building wheels. In this way some env vars like `PIP_REQUIRE_VIRTUALENV` can be ignored. [669](https://github.com/pdm-project/pdm/issues/669)
- Fix the install script to ensure `pip` is not DEBUNDLED. [685](https://github.com/pdm-project/pdm/issues/685)
- Fix a bug that when `summary` is `None`, the lockfile can't be generated. [719](https://github.com/pdm-project/pdm/issues/719)
- `${PROJECT_ROOT}` should be written in the URL when relative path is given. [721](https://github.com/pdm-project/pdm/issues/721)
- Fix a bug that when project table already exists, `pdm import` can't merge the settings correctly. [723](https://github.com/pdm-project/pdm/issues/723)

1.10.0

Not secure
----------------------------

Features & Improvements

- Add `--no-sync` option to `update` command. [684](https://github.com/pdm-project/pdm/issues/684)
- Support `find_links` source type. It can be specified via `type` key of `[[tool.pdm.source]]` table. [694](https://github.com/pdm-project/pdm/issues/694)
- Add `--dry-run` option to `add`, `install` and `remove` commands. [698](https://github.com/pdm-project/pdm/issues/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](https://github.com/pdm-project/pdm/issues/680)
- Include files should be installed under venv's base path. [682](https://github.com/pdm-project/pdm/issues/682)
- Ensure the value of `check_update` is boolean. [689](https://github.com/pdm-project/pdm/issues/689)

Improved Documentation

- Update the contributing guide, remove the usage of `setup_dev.py` in favor of `pip install`. [676](https://github.com/pdm-project/pdm/issues/676)

Page 18 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.