Features & Improvements
- Export editable local dependencies with relative paths in requirements files. (#3294)
- Extend
pdm runwith--env,--env-fileand--working-diroptions to set or override the corresponding script options dynamically. (#3829)
Bug Fixes
- Restrict a locked package to the platform it was resolved for when it doesn't belong to every lock target, so
pdm lock --platform ... --appendno longer adds entries that get installed on the other targets. (#3261) - Keep Poetry
includeentries restricted to the sdist format when importing, writing them totool.pdm.build.source-includesinstead of dropping them. (#3854) - Accept
--no-verify-sslonpdm publish, which was misspelled as--no-very-ssl. The old spelling keeps working as an alias. (#3857) - Convert Poetry tilde constraints with fewer than three components to the bounds Poetry means:
~1.2becomes<1.3rather than<2.0, and~1no longer produces an invalid~=1specifier that aborts the import. (#3858) - Keep the separating comma out of the operator and accept a
vprefix when converting Poetry version constraints. (#3860) - Keep importing a Poetry project when an author or maintainer entry does not fit the
Name <email>pattern. (#3861) - Skip
requires-pythonwhen a Pipfile[requires]table has no python version, instead of writing>=None. (#3862) - Leave the version and description empty instead of aborting when a flit module cannot be parsed. (#3864)
- Respect dependency group selection options when exporting to
pylock.toml, producing a single-use lock file that contains only the selected packages. (#3866)