github pdm-project/pdm 2.0.0b1
v2.0.0b1

latest releases: 2.16.1, 2.16.0, 2.15.4...
pre-release2 years ago

Install and test

pipx:

pipx install --pip-args=--pre pdm

install script:

curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - --prerelease
# Or Windows powershell:
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py -UseBasicParsing).Content | python - --prerelease

setup-pdm action:

- uses: pdm-project/setup-pdm@main
  with:
    prerelease: true

What's Changed

Features & Improvements

  • Integrate pdm venv commands into the main program. Make PEP 582 an opt-in feature. #1162
  • Add config global_project.fallback_verbose defaulting to True. When set to False disables message Project is not found, fallback to the global project #1188
  • Add --only-keep option to pdm sync to keep only selected packages. Originally requested at #398. #1191

Bug Fixes

  • Fix a bug that requirement extras and underlying are resolved to the different version #1173
  • Update unearth to 0.4.1 to skip the wheels with invalid version parts. #1178
  • Fix reading PDM_RESOLVE_MAX_ROUNDS environment variable (was spelled …ROUDNS before). #1180
  • Deduplicate the list of found Python versions. #1182
  • Use the normal stream handler for logging, to fix some display issues under non-tty environments. #1184

Removals and Deprecations

  • Remove the useless --no-clean option from pdm sync command. #1191

Don't miss a new pdm release

NewReleases is sending notifications on new releases.