All Versions
133
Latest Version
Avg Release Cycle
10 days
Latest Release
335 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v2.0.1 Changes
July 17, 2022 -
v2.0.0 Changes
July 15, 2022π Bug Fixes
- π Fix a bug that the running env overrides the PEP 582
PYTHONPATH
. #1211 - β Add
pwsh
as an alias ofpowershell
for shell completion. #1216 - π Fixed a bug with
zsh
completion regarding--pep582
flag. #1218 - π Fix a bug of requirement checking under non-isolated mode. #1219
- π Fix a bug when removing packages, TOML document might become invalid. #1221
- π Fix a bug that the running env overrides the PEP 582
-
v2.0.0.b2 Changes
July 08, 2022π₯ Breaking Changes
- π Store file URLs instead of filenames in the lock file, bump lock version to
4.0
. #1203
π Features & Improvements
- π§ Read site-wide configuration, which serves as the lowest-priority layer. This layer will be read-only in the CLI. #1200
- π Get package links from the urls stored in the lock file. #1204
π Bug Fixes
- π Store file URLs instead of filenames in the lock file, bump lock version to
-
v2.0.0.b1 Changes
July 02, 2022π Features & Improvements
- β Integrate
pdm venv
commands into the main program. Make PEP 582 an opt-in feature. #1162 - Add config
global_project.fallback_verbose
defaulting toTrue
. When set toFalse
disables messageProject is not found, fallback to the global project
#1188 - β Add
--only-keep
option topdm sync
to keep only selected packages. Originally requested at #398. #1191
π Bug Fixes
- π Fix a bug that requirement extras and underlying are resolved to the different version #1173
- β‘οΈ Update
unearth
to0.4.1
to skip the wheels with invalid version parts. #1178 - Fix reading
PDM_RESOLVE_MAX_ROUNDS
environment variable (was spelledβ¦ROUDNS
before). #1180 - Deduplicate the list of found Python versions. #1182
- π² Use the normal stream handler for logging, to fix some display issues under non-tty environments. #1184
π Removals and Deprecations
- β Remove the useless
--no-clean
option frompdm sync
command. #1191
- β Integrate
-
v2.0.0.a1 Changes
June 29, 2022π₯ Breaking Changes
- β Editable dependencies in the
[project]
table is not allowed, according to PEP 621. They are however still allowed in the[tool.pdm.dev-dependencies]
table. PDM will emit a warning when it finds editable dependencies in the[project]
table, or will abort when you try to add them into the[project]
table via CLI. #1083 - π§ Now the paths to the global configurations and global project are calculated according to platform standards. #1161
π Features & Improvements
- β Add support for importing from a
setup.py
project. #1062 - π» Switch the UI backend to
rich
. #1091 - π Improved the terminal UI and logging. Disable live progress under verbose mode. The logger levels can be controlled by the
-v
option. #1096 - β‘οΈ Use
unearth
to replacepip
'sPackageFinder
and related data models. PDM no longer relies onpip
internals, which are unstable across updates. #1096 - Lazily load the candidates returned by
find_matches()
to speed up the resolution. #1098 - β Add a new command
publish
to PDM since it is required for so many people and it will make the workflow easier. #1107 - β Add a
composite
script kind allowing to run multiple defined scripts in a single command as well as reusing scripts but overridingenv
orenv_file
. #1117 - β Add a new execution option
--skip
to opt-out some scripts and hooks from any execution (both scripts and PDM commands). #1127 - Add the
pre/post_publish
,pre/post_run
andpre/post_script
hooks as well as an extensive lifecycle and hooks documentation. #1147 - Shorter scripts listing, especially for multilines and composite scripts. #1151
- π Build configurations have been moved to
[tool.pdm.build]
, according topdm-pep517 1.0.0
. At the same time, warnings will be shown against old usages. #1153 - π Improve the lock speed by parallelizing the hash fetching. #1154
- π Retrieve the candidate metadata by parsing the
pyproject.toml
rather than building it. #1156 - β‘οΈ Update the format converters to support the new
[tool.pdm.build]
table. #1157 - π Scripts are now available as root command if they don't conflict with any builtin or plugin-contributed command. #1159
- β Add a
post_use
hook triggered after successfully switching Python version. #1163 - β Add project configuration
respect-source-order
under[tool.pdm.resolution]
to respect the source order in thepyproject.toml
file. Packages will be returned by source earlier in the order or later ones if not found. #593
π Bug Fixes
- π Fix a bug that candidates with local part in the version can't be found and installed correctly. #1093
Dependencies
- Prefer
tomllib
on Python 3.11 #1072 - β¬οΈ Drop the vendored libraries
click
,halo
,colorama
andlog_symbols
. PDM has no vendors now. #1091 - β‘οΈ Update dependency version
pdm-pep517
to1.0.0
. #1153
π Removals and Deprecations
- π PDM legacy metadata format(from
pdm 0.x
) is no longer supported. #1157
Miscellany
- β
Provide a
tox.ini
file for easier local testing against all Python versions. #1160
- β Editable dependencies in the
-
v1.15.4 Changes
June 28, 2022 -
v1.15.3 Changes
June 14, 2022 -
v1.15.2 Changes
June 06, 2022π Bug Fixes
- π Fix bug where SIGINT is sent to the main
pdm
process and not to the process actually being run. #1095 - π Fix a bug due to the build backend fallback, which causes different versions of the same requirement to exist in the build environment, making the building unstable depending on which version being used. #1099
- Don't include the
version
in the cache key of the locked candidates if they are from a URL requirement. #1099 - π Fix a bug where dependencies with
requires-python
pre-release versions causedpdm update
to fail withInvalidPyVersion
. #1111
- π Fix bug where SIGINT is sent to the main
-
v1.15.1 Changes
June 02, 2022π Bug Fixes
- π Fix a bug that dependencies are missing from the dep graph when they are depended by a requirement with extras. #1097
- 0οΈβ£ Give a default version if the version is dynamic in
setup.cfg
orsetup.py
. #1101 - π Fix a bug that the hashes for file URLs are not included in the lock file. #1103
- π Fix a bug that package versions are updated even when they are excluded by
pdm update
command. #1104 - Prefer
venv
install scheme when available. This scheme is more stable thanposix_prefix
scheme since the latter is often patched by distributions. #1106
Miscellany
- π¦ Move the test artifacts to a submodule. It will make it easier to package this project. #1084
-
v1.15.0 Changes
May 16, 2022π Features & Improvements
- π Allow specifying lockfile other than
pdm.lock
by--lockfile
option orPDM_LOCKFILE
env var. #1038
π Bug Fixes
- π¦ Replace the editable entry in
pyproject.toml
when runningpdm add --no-editable <package>
. #1050 - Ensure the pip module inside venv in installation script. #1053
- Fix the py2 compatibility issue in the in-process
get_sysconfig_path.py
script. #1056 - π Fix a bug that file paths in URLs are not correctly unquoted. #1073
- π Fix a bug on Python 3.11 that overriding an existing command from plugins raises an error. #1075
- Replace the
${PROJECT_ROOT}
variable in the result ofexport
command. #1079
π Removals and Deprecations
- π Show a warning if Python 2 interpreter is being used and remove the support on 2.0. #1082
- π Allow specifying lockfile other than