Releases: pdm-project/pdm
Releases · pdm-project/pdm
v2.24.2
Bug Fixes
- Reinstalling local wheel if its checksum changes. (#3503)
- Ignore HTTP cache entries if deserialization fails. (#3515)
- Fetch missing URLs when
static_urls
is not enabled when runningpdm export -f pylock
. (#3517) - Missing self package when
--self
or--editable-self
is passed topdm export -f pylock
. (#3518)
Miscellany
- Add Python 3.14 to the test matrix. (#3506)
v2.24.1
v2.24.0
Features & Improvements
- New command
pdm new
that behaves likepdm init
but creates a new project. (#3462) - Support use
--name
as project name for commandpdm new
e.g.pdm new hello --name world
(#3476) - Support exporting to pylock.toml format as described by PEP 751. (#3480)
Bug Fixes
- Pass the
--quiet
option topdm sync
command. (#3401) - If a
.python-version
file is found and it contains multiple lines, the file will be ignored. The usage of the.python-version
file can be disabled, if configuration valuepython.use_python_version
(or environment variablePDM_USE_PYTHON_VERSION
) isFalse
. (#3417) - fix
pdm config -e
command to open read-only file under linux (#3423) - Replace project names and import names in both
README.md
andpyproject.toml
when runningpdm init <template>
. (#3460) - Fix a bug that URL dependency hashes are not updated if running
pdm lock --update-reuse
. (#3461)
v2.23.1
Features & Improvements
- Use
pyapp
to wrappdm
as a Python application that bootstrap itself at runtime. (#3429) - Support all providers
id
is supporting currently for OIDC trusted publishing (#3441)
Bug Fixes
- Installation error for local plugins specified with file URL without a name. (#3407)
- Eliminate the warning about inherit_metadata when using uv mode. (#3434)
- Fix an installation failure when installing editable local dependencies on Windows and Python 3.13. (#3444)
- Fix a bug that overriden requirements in lock file get rewritten when adding a new requirement. (#3446)
- Cyclic group inclusion is detected incorrectly. Also show the cyclic group names in the error message. (#3447)
- Fix a bug that
pdm remove
doesn't handle dependency groups include correctly. (#3452) - Update
unearth
to address an issue downloading git repos with short commit hash. (#3455)
v2.23.0
v2.22.4
v2.22.3
v2.22.2
Features & Improvements
- Write installer metadata like
INSTALLER
andREQUESTED
to dist-info directory when installing packages. (#3359) - Respect
.python-version
file in the project root directory when selecting the Python interpreter. By default, it will be written when runningpdm use
command. (#3367)
Bug Fixes
- Fix a problem of missing dependencies when adding to dev dependencies if both editable and non-editable dependencies exist. (#3361)
- Use stdlib for URL <-> Path conversions. (#3362)
shellingham.detect_shell()
returns('tcsh', '/bin/tcsh')
for tcsh on FreeBSD, so the current code tries to use the Bash venv activation script and fails due to syntax error. This change fixes the issue. (#3366)- Fix a performance issue because pypi source credentials were being queried many times from keyring. (#3368)
v2.22.1
v2.22.0
Features & Improvements
- Use minimal template if the project is an application. (#3295)
- Add one
safe_compatible
version specifiers saving strategy. (#3301) - Allow customizing scripts display with
scripts.show_header
settings. (#3313) - Speed up the resolution by only resolving wheel candidates if possible. (#3319)
- Drop version from the search result, following the change of warehouse. (#3328)
- Support
overrides
settings under[tool.pdm.resolution]
with use_uv (#3330)
Bug Fixes
- No longer requires
wheel
to build a setuptools-backed package. (#3320) - Fix an inconsistent behavior when running
pdm remove <package>
with uv enabled. (#3323) - Fix: uninstallation error when pdm is not installed before. (#3325)
- Fix a bug in uv mode that direct URL dependencies can't be installed. (#3332)
- Fix a crash issue when rewriting dependency groups with
include-group
items. (#3333) - Also read username from keyring if missing in source/repository config. (#3334)
- Allow configuring repositories in project. (#3335)
Miscellany
- Mark tests that require uv and skip them if uv is not found. (#3324)