Skip to content

Releases: pdm-project/pdm

v1.12.4

11 Jan 00:29
34ba2ea
Compare
Choose a tag to compare

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

Bug Fixes

  • Fix a bug of uninstall crash when the package has directories in RECORD. #847
  • Fix the ModuleNotFoundError during uninstall when the modules required are removed. #850

v1.12.3

07 Jan 04:24
3b50fef
Compare
Choose a tag to compare

Features & Improvements

  • Support setting Python path in global configuration. #842

Bug Fixes

  • Lowercase the package names in the lock file make it more stable. #836
  • Show the packages to be updated in dry run mode of pdm update even if --no-sync is passed. #837
  • Improve the robustness of update check code. #841
  • Fix a bug that export result has environment markers that don't apply for all requirements. #843

v1.12.2

30 Dec 06:29
5a63723
Compare
Choose a tag to compare

Features & Improvements

  • Allow changing the installation linking method by feature.install_cache_method config. #822

Bug Fixes

  • Fix a bug that namespace packages can't be symlinked to the cache due to existing links. #820
  • Make PDM generated pth files processed as early as possible. #821
  • Fix a UnicodeDecodeError for subprocess logger under Windows/GBK. #823

v1.12.1

24 Dec 01:03
90e4a2b
Compare
Choose a tag to compare

Bug Fixes

  • Don't symlink pycaches to the target place. #817

v1.12.0

22 Dec 10:19
7e80638
Compare
Choose a tag to compare

Features & Improvements

  • Add lock --refresh to update the hash stored with the lock file without updating the pinned versions. #642
  • Support resolution overriding in the [tool.pdm.overrides] table. #790
  • Add support for signals for basic operations, now including post_init, pre_lock, post_lock, pre_install and post_install. #798
  • Add install --check to check if the lock file is up to date. #810
  • Use symlinks to cache installed packages when it is supported by the file system. #814

Bug Fixes

  • Fix a bug that candidates from urls are rejected by the allow_prereleases setting.
    Now non-named requirements are resolved earlier than pinned requirements. #799

Improved Documentation

  • Add a new doc page: API reference. #802

Dependencies

  • Switch back from atoml to tomlkit as the style-preserving TOML parser. The latter has supported TOML v1.0.0. #809

Miscellany

  • Cache the latest version of PDM for one week to reduce the request frequency. #800

v1.11.3

15 Dec 07:58
a84e8bc
Compare
Choose a tag to compare

Features & Improvements

  • Change the default version save strategy to minimum, without upper bounds. #787

Bug Fixes

  • Fix the patching of sysconfig in PEP 582 initialization script. #796

Miscellany

  • Fix an installation failure of the bootstrap script on MacOS Catalina. #793
  • Add a basic benchmarking script. #794

v1.11.2

10 Dec 09:27
6e960f3
Compare
Choose a tag to compare

Bug Fixes

  • Fix the resolution order to reduce the loop number to find a conflict. #781
  • Patch the functions in sysconfig to return the PEP 582 scheme in pdm run. #784
  • Fix a bug that causes editables not found error

Dependencies

  • Remove the upper bound of version constraints for most dependencies, except for some zero-versioned ones. #787

v1.11.1

08 Dec 07:30
c142459
Compare
Choose a tag to compare

Features & Improvements

  • Support --pre/--prelease option for pdm add and pdm update. It will allow prereleases to be pinned. #774
  • Improve the error message when python is found but not meeting the python requirement. #777

Bug Fixes

  • Fix a bug that git+https candidates cannot be resolved. #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

Miscellany

  • Fix the install script to use a zipapp of virtualenv when it isn't installed. #780

v1.11.0

30 Nov 02:12
53647b9
Compare
Choose a tag to compare

Features & Improvements

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

Bug Fixes

  • Switch to self-implemented pdm list --freeze to fix a bug due to Pip's API change. #533
  • Fix an infinite loop issue when resolving candidates with incompatible requires-python. #744
  • Fix the python finder to support pyenv-win. #745
  • Fix the ANSI color output for Windows cmd and Powershell terminals. #753

Removals and Deprecations

  • Remove -s/--section option from all previously supported commands. Use -G/--group instead. #756

v1.10.3

18 Nov 14:12
ceff9a7
Compare
Choose a tag to compare

Bug Fixes

  • Use importlib to replace imp in the sitecustomize module for Python 3. #574
  • Fix the lib paths under non-isolated build. #740
  • Exclude the dependencies with extras in the result of pdm export. #741