Bug Fixes
- Keep environment inspection working for Python 3.9 targets when PDM uses dep-logic 0.7 or newer. (#3838)
- Cache the update check timestamp even when the version lookup fails, so that pdm no longer appears to hang on every command when PyPI is unreachable. (#3840)
- Don't crash with an
IndexErrorwhen listing scripts and one of them is blank. A blank script is now listed as<BLANK_SCRIPT>. (#3842) - Keep the whole template URL when
pdm newis given anssh://or credentialed Git URL, instead of truncating it at the userinfo@. (#3843) - Strip comments preceded by any whitespace, not only a plain space, when importing a
requirements.txtfile. (#3844) - Match
--trusted-hoston host and port when importing arequirements.txtfile, and keep the port when exporting one. (#3845) - Expand a
~prefix in thevenv.locationconfig sopdm venv list/remove/activate/purgefind virtualenvs created under it. (#3847) - Convert a Poetry caret constraint on a
0.xversion to the upper bound Poetry documents, so^0.2.3becomes<0.3.0and^0.0.3becomes<0.0.4instead of<1.0.0. (#3848) - Fill in a placeholder
project.nameandproject.versionfor thepyproject.tomlgenerated foruv, sopdm lock/pdm installwork withuse_uvon a project that declares neither. (#3849) - Resolve nested requirement paths relative to remote requirements file URLs. (#3850)