Fix new interface from pbs_installer regarding build_dir and best match auto-install strategy for pdm use
(same as for pdm python install --list) (#2943)
Fix crash when pdm is used with importlib-metadata version 8.0. (#2974)
v2.16.0
Features & Improvements
Add --no-extras to pdm export to strip extras from the requirements. Now the default behavior is to keep extras. (#2519)
Support PEP 723: running scripts with inline metadata in standalone environment with dependencies. (#2924)
pdm use and pdm python install now take requires-python into account (incl. from pyproject.toml) if python version
not specified and pdm use provides auto installation by that. (#2943)
--no-isolation no longer installs build-requires nor dynamic build dependencies, to be consistent with pip. (#2944)
Add notifiers in CLI output when global project is being used. (#2952)
Use tool.pdm.resolution table when calculating the content hash of project file, previously only overrides table was used.
This will change the hash already stored in the lockfile, so bump the lockfile version to 4.4.2. (#2956)
Bug Fixes
Add max retries on read timeout or bad connection. (#2914)
Don't update local files if they don't change. (#2966)
Don't list python versions that don't have any installation link for the current platform. (#2970)
Documentation
Clarify the purposes of pdm outdated and --unconstrained option. (#2965)
Some clarifications on the interpreter selection and central package cache. (#2967)
Fix new interface from pbs_installer regarding build_dir and best match auto-install strategy for pdm use
(same as for pdm python install --list) (#2943)
Fix crash when pdm is used with importlib-metadata version 8.0. (#2974)
Release v2.16.0 (2024-06-25)
Features & Improvements
Add --no-extras to pdm export to strip extras from the requirements. Now the default behavior is to keep extras. (#2519)
Support PEP 723: running scripts with inline metadata in standalone environment with dependencies. (#2924)
pdm use and pdm python install now take requires-python into account (incl. from pyproject.toml) if python version
not specified and pdm use provides auto installation by that. (#2943)
--no-isolation no longer installs build-requires nor dynamic build dependencies, to be consistent with pip. (#2944)
Add notifiers in CLI output when global project is being used. (#2952)
Use tool.pdm.resolution table when calculating the content hash of project file, previously only overrides table was used.
This will change the hash already stored in the lockfile, so bump the lockfile version to 4.4.2. (#2956)
Bug Fixes
Add max retries on read timeout or bad connection. (#2914)
Don't update local files if they don't change. (#2966)
Don't list python versions that don't have any installation link for the current platform. (#2970)
Documentation
Clarify the purposes of pdm outdated and --unconstrained option. (#2965)
Some clarifications on the interpreter selection and central package cache. (#2967)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pdm from 2.15.4 to 2.16.1.
Release notes
Sourced from pdm's releases.
Changelog
Sourced from pdm's changelog.
Commits
0dd75ee
chore: Release 2.16.1fb173be
fix: pbs_installer interface (build_dir) for auto-install best match strategy...18a75db
fix: incompatibility with importlib-metadata 8 (#2975)7664d7b
chore: Release 2.16.0ee561be
fix:pdm python install
fails to install python3.7 even though it is listed...b869d1e
fix: add completionsba066d6
feat: add unattended installation/using of cPython defined by `requires-pytho...a69f6b6
doc: some clarifications on the project setup (#2967)8df55c4
fix: don't install a local file if it doesn't change (#2966)03b3114
doc: Clarify the purpose of pdm outdated and --unconstrained option (#2965)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show