Releases: pdm-project/pdm
Releases · pdm-project/pdm
v2.8.1
Features & Improvements
- Add
keyring
,copier
,cookiecutter
,template
,truststore
dependency groups. #2109 - Ignore wheels for python versions not in range. #2113
- Read default value from env var
PDM_PROJECT
for-p/--project
option. #2126
Bug Fixes
- Fix the comparison of the candidate keys in the lockfile. #2120
- Don't update
pyproject.toml
if both--unconstrained
and--dry-run
are passed topdm update
. #2125 - Overwrite the
build-system
table when importing from other package manager. #2126 - Skip sources with empty URL when merging sources. #2130
- Fix the invalid requirement converted from poetry metadata. #2133
Dependencies
- Update
unearth
to 0.10.0 #2113
v2.8.0
Features & Improvements
- Support target python with other architectures. #2078
- Display the help information when running pdm directly. #2081
- Allow to change the python providers from the config. Support finding pythons from Rye installation location with the new findpython. #2099
- Option to save static URLs in the lockfile. By default only filenames are saved. #2101
Bug Fixes
- Fix a bug that egg-info directories are not removed completely, leading to incomplete distribution. #2027
- Skip distributions with wrong package meta information and duplicate path. #2075
- Avoid mistakenly passing command-line arguments while testing. #2083
- Fix a bug that lockfile groups are overwritten when running locking in a preceding step of
pdm install
. #2086 - Tolerate and actually ignore the local versions in version specifiers. #2102
- Fix a bug that shared cache cannot support overlapping namespace packages. #2105
Documentation
- Add notes about using custom venv path. #2096
v2.8.0a2
Bug Fixes
- Fix a bug that dependencies can't be updated when the table is separated by another table. #2056
- Fix a bug that
*_lock
hooks are always emitted with dry_run=True inpdm update
. #2060 - Fix a bug that
pdm install --plugins
can't install self. #2062 - Fix a cache collision between named requirements and url requirements. #2064
v2.8.0a1
v2.8.0a0
Get the latest version
pipx upgrade --pip-args=--pre pdm
Or
pdm self update --pre
Features & Improvements
pdm init
now accepts a template argument to initialize project from a built-in or Git template. #2053- Replace the
DeprecationWarning
withFutureWarning
for better exposure. #2012 - Serve
install-pdm.py
and its checksum file on the docs site. #2026 - Add new option
--edit/-e
topdm config
to edit the config file in default editor. #2028 - Add
--project
option topdm venv
to support another path as the project root. #2042 - Add support for using
truststore
as the SSL backend. This only works on Python 3.10 or newer. #2049
Bug Fixes
- Fix the breaking change by adding the functions back to the old location with deprecation warnings. #2013
- Fix the duplicate entries in the output of
pdm self list
. #2018 - Disable hashes caching for local files. #2019
- Populate the
url
field when converting requirements from a Pipfile-style file requirement. #2032 - Fix a bug that empty source tables in configuration files causes errors when running pdm commands. #2034
- Fix a resolution conflict caused by requested yanked version also in other transitive dependencies. #2038
- Fix a bug that binary executables are corrupted when replacing shebangs. #2045
- Do not normalize the package name when uploading to PyPI. #2057
v2.7.4
v2.7.2
Features & Improvements
- Add option to expand environment variables when exporting requirements. #1997
Bug Fixes
- Case-insensitive sorting in
pdm list
. #1973 - Make a compatible cache reader to read the old cache files. #1981
- Fix a bug that
pdm init -n
doesn't respect the--python
option. #1984 - Do not use the deprecated nested argument groups. #1988
- Fix an error parsing
setup.py
if it prints something to stdout. #1995 - Exclude yanked versions when running
install-pdm.py
. #1996
v2.7.1
Features & Improvements
- Switch HTTP data cache to use a split body setup, where the actual body contents are not written to disk unless changed. Previously, any changed headers would write the whole body to disk again. #1971
- Show the specific install commands for different installations when checking update. This was removed before. #1972
Bug Fixes
v2.7.0
Features & Improvements
- When keyring is available, either by importing or by CLI, the credentials of repositories and PyPI indexes will be saved into it. #1908
- Add support for reading metadata from simple index directly. #1919
- Add a configuration to specify constant command arguments for every pdm invocation. #1923
- Add ability to skip SSL verification for publish repositories via
repository.custom.verify_ssl
config option as well as new command line argument ofpublish
command. #1928 - Use lazy import to reduce the startup time of the CLI. #1929
- Add the local plugin scripts to
PATH
env var. #1944
Bug Fixes
- Don't use install cache when installing build requirements to avoid race condition. #1869
- Fix a number of
ResourceWarning
s when running the test suite with warnings enabled. #1915 - Fix a bug that dev-dependencies group gets updated with the optional dependencies, causing the hash mismatch. #1916
- Fix format conversion error from Poetry when
tool.poetry.build
doesn't exist. #1935 - Add timeout when fetching .gitignore from GitHub. #1937
- Keep the variables in the URL credentials when exporting. #1939
- Convert to boolean when setting verify_ssl for custom indexes. #1945
pdm import
clobbersbuild-system.requires
value inpyproject.toml
. #1948