Pdm

Latest version: v2.15.2

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

Scan your dependencies

Page 16 of 33

1.13.0

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

Features & Improvements

- Support `pre_*` and `post_*` scripts for task composition. Pre- and Post- scripts for `init`, `build`, `install` and `lock` will be run if present. [789](https://github.com/pdm-project/pdm/issues/789)
- Support `--config/-c` option to specify another global configuration file. [883](https://github.com/pdm-project/pdm/issues/883)
- Packages with extras require no longer inherit the dependencies from the same package without extras. It is because the package without extras are returned as one of the dependencies. This change won't break the existing lock files nor dependency cache. [892](https://github.com/pdm-project/pdm/issues/892)
- Support version ranges in `[tool.pdm.overrides]` table. [909](https://github.com/pdm-project/pdm/issues/909)
- Rename config `use_venv` to `python.use_venv`;
rename config `feature.install_cache` to `install.cache`;
rename config `feature.install_cache_method` to `install.cache_method`;
rename config `parallel_install` to `install.parallel`. [914](https://github.com/pdm-project/pdm/issues/914)

Bug Fixes

- Fix a bug that file URLs or VCS URLs don't work in `[tool.pdm.overrides]` table. [861](https://github.com/pdm-project/pdm/issues/861)
- Fix a bug of identifier mismatch for URL requirements without an explicit name. [901](https://github.com/pdm-project/pdm/issues/901)
- No `requires-python` should be produced if ANY(`*`) is given. [917](https://github.com/pdm-project/pdm/issues/917)
- Fix a bug that `pdm.lock` gets created when `--dry-run` is passed to `pdm add`. [918](https://github.com/pdm-project/pdm/issues/918)

Improved Documentation

- The default editable backend becomes `path`. [904](https://github.com/pdm-project/pdm/issues/904)

Removals and Deprecations

- Stop auto-migrating projects from PDM 0.x format. [912](https://github.com/pdm-project/pdm/issues/912)

Refactor

- Rename `ExtrasError` to `ExtrasWarning` for better understanding. Improve the warning message. [892](https://github.com/pdm-project/pdm/issues/892)
- Extract the environment related code from `Candidate` into a new class `PreparedCandidate`.
`Candidate` no longer holds an `Environment` instance. [920](https://github.com/pdm-project/pdm/issues/920)

1.12.8

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

Features & Improvements

- Print the error and continue if a plugin fails to load. [878](https://github.com/pdm-project/pdm/issues/878)

Bug Fixes

- PDM now ignores configuration of uninstalled plugins. [872](https://github.com/pdm-project/pdm/issues/872)
- Fix the compatibility issue with `pip>=22.0`. [875](https://github.com/pdm-project/pdm/issues/875)

1.12.7

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

Features & Improvements

- If no command is given to `pdm run`, it will run the Python REPL. [856](https://github.com/pdm-project/pdm/issues/856)

Bug Fixes

- Fix the hash calculation when generating `direct_url.json` for a local pre-built wheel. [861](https://github.com/pdm-project/pdm/issues/861)
- PDM no longer migrates project meta silently. [867](https://github.com/pdm-project/pdm/issues/867)

Dependencies

- Pin `pip<22.0`. [874](https://github.com/pdm-project/pdm/issues/874)

Miscellany

- Reduce the number of tests that require network, and mark the rest with `network` marker. [858](https://github.com/pdm-project/pdm/issues/858)

1.12.6

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

Bug Fixes

- Fix a bug that cache dir isn't created. [843](https://github.com/pdm-project/pdm/issues/843)

1.12.5

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

Bug Fixes

- Fix a resolution error that dots in the package name are normalized to `-` unexpectedly. [853](https://github.com/pdm-project/pdm/issues/853)

1.12.4

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

Features & Improvements

- Remember the last selection in `use` command to save the human effort.
And introduce an `-i` option to ignored that remembered value. [846](https://github.com/pdm-project/pdm/issues/846)

Bug Fixes

- Fix a bug of uninstall crash when the package has directories in `RECORD`. [847](https://github.com/pdm-project/pdm/issues/847)
- Fix the `ModuleNotFoundError` during uninstall when the modules required are removed. [850](https://github.com/pdm-project/pdm/issues/850)

Page 16 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.