This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(deps): Bump pdm from 2.16.1 to 2.17.1 (#1155)
Bumps [pdm](https://github.com/pdm-project/pdm) from 2.16.1 to 2.17.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pdm-project/pdm/releases">pdm's releases</a>.</em></p> <blockquote> <h2>v2.17.1</h2> <h3>Bug Fixes</h3> <ul> <li>Raise dep-logic lower bound to 0.4.2 to fix issues with pdm lock after upgrading from older pdm versions (<a href="https://redirect.github.com/pdm-project/pdm/issues/3033">#3033</a>)</li> <li>Correct the current platform and architecture for win32 and macos systems. (<a href="https://redirect.github.com/pdm-project/pdm/issues/3035">#3035</a>)</li> </ul> <h3>Miscellany</h3> <ul> <li>Fix zsh completions (<a href="https://redirect.github.com/pdm-project/pdm/issues/3031">#3031</a>)</li> </ul> <h2>v2.17.0</h2> <h3>Breaking Changes</h3> <ul> <li><code>LockedRepository.all_candidates</code> now returns a <code>dict[str, list[Candidate]]</code> instead of <code>dict[str, Candidate]</code>. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</li> <li><code>post_lock</code> hook now receives a resolution result of type <code>dict[str, list[Candidate]]</code>, instead of <code>dict[str, Candidate]</code>. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</li> </ul> <h3>Features & Improvements</h3> <ul> <li> <p>Support reading requirement constraints from pip-style requirement files for "overriding" via <code>--override</code> option. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2896">#2896</a>)</p> </li> <li> <p>Add a <code>--non-interactive</code> option for automation scenarios, also interactive prompts will not show up when not running in an interactive terminal. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2934">#2934</a>)</p> </li> <li> <p>Add <code>--license</code> and <code>--project-version</code> as CLI options to control and streamline them during <code>pdm init</code> - especially in automated scenarios with <code>--non-interactive</code> (<a href="https://redirect.github.com/pdm-project/pdm/issues/2978">#2978</a>)</p> </li> <li> <p>Run pdm sync in "post-rewrite" stage of pre-commit (<a href="https://redirect.github.com/pdm-project/pdm/issues/2994">#2994</a>)</p> </li> <li> <p><code>Project.get_dependencies()</code> now returns a list of <code>Requirement</code> instead of a mapping. The first argument of <code>Project.add_dependencies()</code> now accepts a list of <code>Requirement</code> instead of a mapping. The old usage will be kept working for a short period of time and will be removed in the future. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</p> </li> <li> <p>Support locking for specific target, which is a combination of (python, platform, implementation) triple. Bump lock file version to <code>4.5.0</code>.</p> <p>Example usage: <code>pdm lock --platform=linux --python="==3.8.*" --implementation=cpython</code>. See the <a href="https://pdm-project.org/en/latest/usage/lock-targets">docs</a> for more details. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</p> </li> <li> <p>Rename <code>--reuse-env</code> to <code>--recreate</code> for <code>run</code> command, and reverse the behavior. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2999">#2999</a>)</p> </li> <li> <p>PDM is now published with optional pinned dependencies using the pdm plugin <a href="https://pdm-build-locked.readthedocs.io/">pdm-build-locked</a>.</p> <p>To install pdm with its dependencies pinned to the versions it was tested with, run:</p> <pre lang="bash"><code> pipx install pdm[locked] </code></pre> <p>To install optional dependency group copier:</p> <pre lang="bash"><code> pipx install pdm[locked,copier-locked] </code></pre> <p>This feature is entirely optional. Installing pdm without the extra will work the same way as before this change. (<a href="https://redirect.github.com/pdm-project/pdm/issues/3001">#3001</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pdm-project/pdm/blob/main/CHANGELOG.md">pdm's changelog</a>.</em></p> <blockquote> <h2>Release v2.17.1 (2024-07-19)</h2> <h3>Bug Fixes</h3> <ul> <li>Raise dep-logic lower bound to 0.4.2 to fix issues with pdm lock after upgrading from older pdm versions (<a href="https://redirect.github.com/pdm-project/pdm/issues/3033">#3033</a>)</li> <li>Correct the current platform and architecture for win32 and macos systems. (<a href="https://redirect.github.com/pdm-project/pdm/issues/3035">#3035</a>)</li> </ul> <h3>Miscellany</h3> <ul> <li>Fix zsh completions (<a href="https://redirect.github.com/pdm-project/pdm/issues/3031">#3031</a>)</li> </ul> <h2>Release v2.17.0 (2024-07-18)</h2> <h3>Breaking Changes</h3> <ul> <li><code>LockedRepository.all_candidates</code> now returns a <code>dict[str, list[Candidate]]</code> instead of <code>dict[str, Candidate]</code>. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</li> <li><code>post_lock</code> hook now receives a resolution result of type <code>dict[str, list[Candidate]]</code>, instead of <code>dict[str, Candidate]</code>. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</li> </ul> <h3>Features & Improvements</h3> <ul> <li> <p>Support reading requirement constraints from pip-style requirement files for "overriding" via <code>--override</code> option. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2896">#2896</a>)</p> </li> <li> <p>Add a <code>--non-interactive</code> option for automation scenarios, also interactive prompts will not show up when not running in an interactive terminal. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2934">#2934</a>)</p> </li> <li> <p>Refactored <code>pdm python install --list</code> to reuse the same implementation as other cli commands that work with Python interpreters from pbs_installer. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2977">#2977</a>)</p> </li> <li> <p>Add <code>--license</code> and <code>--project-version</code> as CLI options to control and streamline them during <code>pdm init</code> - especially in automated scenarios with <code>--non-interactive</code> (<a href="https://redirect.github.com/pdm-project/pdm/issues/2978">#2978</a>)</p> </li> <li> <p>Run pdm sync in "post-rewrite" stage of pre-commit (<a href="https://redirect.github.com/pdm-project/pdm/issues/2994">#2994</a>)</p> </li> <li> <p><code>Project.get_dependencies()</code> now returns a list of <code>Requirement</code> instead of a mapping. The first argument of <code>Project.add_dependencies()</code> now accepts a list of <code>Requirement</code> instead of a mapping. The old usage will be kept working for a short period of time and will be removed in the future. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</p> </li> <li> <p>Support locking for specific target, which is a combination of (python, platform, implementation) triple. Bump lock file version to <code>4.5.0</code>.</p> <p>Example usage: <code>pdm lock --platform=linux --python="==3.8.*" --implementation=cpython</code>. See the <a href="https://pdm-project.org/en/latest/usage/lock-targets">docs</a> for more details. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2995">#2995</a>)</p> </li> <li> <p>Rename <code>--reuse-env</code> to <code>--recreate</code> for <code>run</code> command, and reverse the behavior. (<a href="https://redirect.github.com/pdm-project/pdm/issues/2999">#2999</a>)</p> </li> <li> <p>PDM is now published with optional pinned dependencies using the pdm plugin <a href="https://pdm-build-locked.readthedocs.io/">pdm-build-locked</a>.</p> <p>To install pdm with its dependencies pinned to the versions it was tested with, run:</p> <pre lang="bash"><code> pipx install pdm[locked] </code></pre> <p>To install optional dependency group copier:</p> <pre lang="bash"><code> pipx install pdm[locked,copier-locked] </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pdm-project/pdm/commit/c76e982e46c6e77a54a0fca4d4417eabb70cc85d"><code>c76e982</code></a> chore: Release 2.17.1</li> <li><a href="https://github.com/pdm-project/pdm/commit/654aea2849773e63b3d072ec9fecd7f43da9f0e0"><code>654aea2</code></a> fix: remove news in wrong location</li> <li><a href="https://github.com/pdm-project/pdm/commit/12cb78faf03ded35e8cf2a4c65e488600ac27572"><code>12cb78f</code></a> fix: correct the platform and arch for win32 and macos (<a href="https://redirect.github.com/pdm-project/pdm/issues/3036">#3036</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/f2c3580b0272010ee2b5073b1376b01eb2e155c8"><code>f2c3580</code></a> Raise dep-logic lower bound to 0.4.2 (<a href="https://redirect.github.com/pdm-project/pdm/issues/3033">#3033</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/739d468d2594a5e4b186f4a39badcec62792cdb2"><code>739d468</code></a> fix: zsh completion syntax error (<a href="https://redirect.github.com/pdm-project/pdm/issues/3034">#3034</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/278f9bbc2c19aee55625e59418561d33415b6c12"><code>278f9bb</code></a> chore: Release 2.17.0</li> <li><a href="https://github.com/pdm-project/pdm/commit/6decbc8fa5666cbba9f12f520e60c0d0e14a2df5"><code>6decbc8</code></a> feat: Add --clean-unselected alias for --only-keep (<a href="https://redirect.github.com/pdm-project/pdm/issues/3029">#3029</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/518c3dc7aaf0f200356b2d4c068bf1af7ed1ff96"><code>518c3dc</code></a> fix: add a <code>--no-interactive</code> for automation scenario (<a href="https://redirect.github.com/pdm-project/pdm/issues/3030">#3030</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/157c836774b9519f83dd87fa407727b2c08cc1f5"><code>157c836</code></a> docs: make chatbot always display at the right height and set as topmost (<a href="https://redirect.github.com/pdm-project/pdm/issues/3026">#3026</a>)</li> <li><a href="https://github.com/pdm-project/pdm/commit/0e5f02893f203621ede3b1b1386d5cebd3cfe0ba"><code>0e5f028</code></a> fix: remove debug logs</li> <li>Additional commits viewable in <a href="https://github.com/pdm-project/pdm/compare/2.16.1...2.17.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pdm&package-manager=pip&previous-version=2.16.1&new-version=2.17.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details>
- Loading branch information