Skip to content

Releases: pdm-project/pdm

v1.10.2

14 Nov 13:04
22bb6a9
Compare
Choose a tag to compare

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

Bug Fixes

  • Now NO_SITE_PACKAGES isn't set in pdm run if the executable is out of local packages. #733

v1.10.1

09 Nov 10:06
09b7b06
Compare
Choose a tag to compare

Features & Improvements

  • Isolate the project environment with system site packages in pdm run, but keep them seen when PEP 582 is enabled. #708

Bug Fixes

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

v1.10.0

25 Oct 10:34
5a55ae6
Compare
Choose a tag to compare

Features & Improvements

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

Improved Documentation

  • Update the contributing guide, remove the usage of setup_dev.py in favor of pip install. #676

v1.9.0

12 Oct 04:19
9e90e4d
Compare
Choose a tag to compare

Bug Fixes

  • Fix a bug that requires-python is not recognized in candidates evaluation. #657
  • Fix the path order when pdm run so that executables in local packages dir are found first. #678

Dependencies

  • Update installer to 0.3.0, fixing a bug that broke installation of some packages with unusual wheel files. #653
  • Change packaging and typing-extensions to direct dependencies. #674

Refactor

  • requires-python now participates in the resolution as a dummy requirement. #658

v1.8.5

16 Sep 01:05
fedfea8
Compare
Choose a tag to compare

Bug Fixes

  • Fix the error of regex to find the shebang line. #656

v1.8.4

15 Sep 03:22
08e0628
Compare
Choose a tag to compare

Features & Improvements

  • Support --no-isolation option for install, lock, update, remove, sync commands. #640
  • Make project_max_depth configurable and default to 5. #643

Bug Fixes

  • Don't try pdm-pep517 backend on Python 2.7 when installing self as editable. #640
  • Fix a bug that existing shebang can't be replaced correctly. #651
  • Fix the version range saving for prerelease versions. #654

v1.8.3

07 Sep 02:07
f12cffd
Compare
Choose a tag to compare

Features & Improvements

  • Allow to build in non-isolated environment, to enable optional speedups depending on the environment. #635

Bug Fixes

  • Don't copy *-nspkg.pth files in install_cache mode. It will still work without them. #623

v1.8.2

01 Sep 03:35
063cde3
Compare
Choose a tag to compare

Bug Fixes

  • Fix the removal issue of standalone pyc files #633

v1.8.1

26 Aug 01:55
bfcc569
Compare
Choose a tag to compare

Features & Improvements

  • Add -r/--reinstall option to sync command to force re-install the existing dependencies. #601
  • Show update hint after every pdm command. #603
  • pdm cache clear can clear cached installations if not needed any more. #604

Bug Fixes

  • Fix the editable install script so that setuptools won't see the dependencies under local packages. #601
  • Preserve the executable bit when installing wheels. #606
  • Write PEP 610 metadata direct_url.json when installing wheels. #607
  • Fix a bug that * fails to be converted as SpecifierSet. #609

Refactor

  • Build editable packages are into wheels via PEP 660 build backend. Now all installations are unified into wheels. #612

v1.8.0

16 Aug 05:59
5ac38f5
Compare
Choose a tag to compare

Features & Improvements

  • Added a new mode --json to the list command which outputs the dependency graph as a JSON document. #583
  • Add a new config feature.install_cache. When it is turned on, wheels will be installed into a centralized package repo and create .pth files under project packages directory to link to the cached package. #589

Bug Fixes

  • Fix env vars in source URLs not being expanded in all cases. #570
  • Fix the weird output of pdm show. #580
  • Prefer ~/.pyenv/shims/python3 as the pyenv interpreter. #590
  • Fix a bug that installing will download candidates that do not match the locked hashes. #596

Improved Documentation

  • Added instructions to the Contributing section for creating news fragments #573

Removals and Deprecations

  • Deprecate -s/--section option in favor of -G/--group. #591

Refactor

  • Switch to a self-implemented version of uninstaller. #586
  • pdm/installers/installers.py is renamed to pdm/installers/manager.py to be more accurate. The Installer class under that file is renamed to InstallerManager and is exposed in the pdm.core.Core object for overriding. The new pdm/installers/installers.py contains some installation implementations. #589
  • Switch from pkg_resources.Distribution to the implementation of importlib.metadata. #592