Releases: pdm-project/pdm
Releases · pdm-project/pdm
v2.26.2
Features & Improvements
- Only parse TOML document with
tomlkitwhen writing is required. (#3672) - Add SHA256 checksums for binary releases during the release workflow and create an installer script that downloads binaries from GitHub releases with automatic platform detection and checksum verification. (#3679)
Bug Fixes
- Fix test_use_python_write_file_multiple_versions to match PDM's actual behavior. (#3660)
- Correctly calculate the venv path for
UV_PROJECT_ENVIRONMENTenv var when using uv mode. (#3675) - Ensure
implementation.gil_disabledis a boolean inget_current_env_spec. This fix an issue that free-threaded wheels get rejected incorrectly. (#3677) - Fix CLI help formatting on Python 3.14+. (#3683)
- Make
PdmBasicAuthacached_propertyto accelerate execution. (#3684)
Removals and Deprecations
- Add deprecation warning for
pdm searchcommand as PyPI no longer supports search API. (#3674)
Miscellany
- Add tests to utils.fs_supports_link_method and utils.convert_to_datetime. (#3541)
v2.26.1
v2.26.0
Features & Improvements
- Limit the log file size to 100MB and truncate the log output if exceeded. (#3633)
- Speed up dependency resolution in the bad path by skipping candidates of the same version when resolving. (#3647)
Bug Fixes
- Reload project files after running hook scripts. (#3615)
- Fix a bug when using UV as the resolver does not respect the venv.location configuration. (#3616)
- Fix
publish --skip-existingfor Nexus Repository OSS >= 3.70 (#3617) - Fix a resolution failure when both prerelease and non-prerelease requirements exist. (#3634)
- Ignore invalid
pythonrequirement during locking. (#3635) - Isolate PDM loggers with the root logger to avoid log leakage. (#3637)
- Fix a crash when resolving URL dependencies under
use_uv=true. (#3640)
v2.25.9
No significant changes.
v2.25.8
v2.25.7
Features & Improvements
- Show the path to site-packages in the output of
pdm info. (#3600)
Bug Fixes
- Fix
uv python dirpath resolution on Windows (#3603) - Strip local version in version specifiers when writing package locks. (#3605)
- Show an error message when 'default' is used in optional dependencies or dependency groups. (#3609)
- Prevent hash clearing when appending to lockfile with env_spec. (#3610)
v2.25.6
Features & Improvements
- The
pdm python install -vcommand now shows the download URL for the Python interpreter. (#3552)
Bug Fixes
- Ensure
make_arrayalways returns a tomlkit array type. (#3586) - Preserve multi-line help text in the CLI help output. (#3587)
- Re-caculate artifact files and hashes when the lock target changes. (#3595)
Dependencies
v2.25.5
Features & Improvements
- Tell the difference between free-threaded Python and normal ones. Users need to request for free-threaded versions explicitly by adding
tto the version string, otherwise the normal build will be preferred. (#3562)
Bug Fixes
- Fix a bug that editable local package URLs are empty when using
pylock.toml. (#3565) - Fix a bug where
pdm exportwith--lockfile pylock.tomlproduced empty requirements.txt files due to missing group information extraction from pylock format markers. (#3573) - Read metadata from installed distribution when using reuse-installed strategy. (#3579)
- Fix a lockfile writing error when locking git dependencies in the pylock.toml format. (#3582)
v2.25.4
Bug Fixes
- Add credentials when passing source urls to uv resolver. (#3553)
- Redact credentials in source urls in the log output, and inject credentials into the source url for uv sync command as well. (#3555)
- Fix a bug that extra dependencies of transitive dependencies are not properly installed when USE_UV=true (#3558)
- Improve the terminal output when setting up a script environment. (#3560)
- Skip non-existent library paths in post-install steps when trying to fix the pth files. (#3561)
Dependencies
- Update
resolvelibto 1.2.0. (#3557)