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 toTrue
. When set toFalse
disables messageProject is not found, fallback to the global project
#1188 - Add
--only-keep
option topdm 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
to0.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 frompdm sync
command. #1191