2.29.6
v2.29.6
Changed 1
- Publish releases with pypa/gh-action-pypi-publish to attach PEP 740 provenance attestations on PyPI
Fixed 11
- Fix the uv mode failing when pyproject.toml or uv.lock cannot be renamed, such as bind mounts in a container, by falling back to restoring their content in place
- Percent-encode the source username and password in the index URLs passed to uv, so use_uv works with credentials containing characters like #, / or %
- Honor local wheel and sdist paths in pylock.toml, preferring them over URLs while preserving explicit artifact filenames
- Fix the Python range derived from a python_version marker that compares against a three-part version, such as python_version >= "3.8.1"
- Save prompted credentials only after a successful package upload response
- Keep the version from pyproject.toml or setup.cfg when a later setup.cfg or setup.py sets none, instead of resetting it to 0.0.0 while parsing project files
- Allow pdm config to set an explicitly provided empty string value instead of treating it as a read operation
- Fix PEP 582 setup for Bash-compatible shells when the installation path contains an apostrophe
- Remove the downloaded archive after pdm python install installs an interpreter, instead of leaving it in the temporary directory
- Quote Poetry platform constraints verbatim instead of using repr() when converting them to environment markers, so they stay valid under stricter marker string parsing
- Fix two dead links in the project and template usage docs
From PDM
Bug Fixes
- Fix the uv mode failing when
pyproject.tomloruv.lockcannot be renamed, as happens when they are bind mounts in a container, by falling back to restoring their content in place. (#3292) - Percent-encode the source username and password in the index URLs passed to uv, so
use_uvworks with credentials that contain characters like#,/or%. (#3974) - Honor local wheel and sdist paths in pylock.toml, preferring them over URLs while preserving explicit artifact filenames. (#3975)
- Fix the Python range pdm derives from a
python_versionmarker that compares against a three-part version, such aspython_version >= "3.8.1". (#3978) - Save prompted credentials only after a successful package upload response. (#3982)
- Keep the version from
pyproject.tomlorsetup.cfgwhen a latersetup.cfgorsetup.pysets none, instead of resetting it to0.0.0while parsing project files. (#3983) - Allow
pdm configto set an explicitly provided empty string value instead of treating it as a read operation. (#3984) - Fix PEP 582 setup for Bash-compatible shells when the installation path contains an apostrophe. (#3986)
- Remove the downloaded archive after
pdm python installinstalls an interpreter, instead of leaving it in the temporary directory. (#3988) - Quote Poetry platform constraints verbatim instead of using
repr()when converting them to environment markers, so they stay valid under stricter marker string parsing. (#3993)
Documentation
- Fix two dead links in the project and template usage docs. (#3976)
Miscellany
- Publish releases with
pypa/gh-action-pypi-publishto attach PEP 740 provenance attestations on PyPI. (#3979)