Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2023

Bumps pdm from 2.4.9 to 2.5.1.

Release notes

Sourced from pdm's releases.

v2.5.1

Bug Fixes

  • Fix a bug that pdm --pep582 raises an argument error. #1823

v2.5.0

Features & Improvements

  • When resolution.respect-source-order is enabled, sources are lazily evaluated. This means that if a match is found on the first source, the remaining sources will not be requested. #1509
  • New option --venv <venv> to run a command in the virtual environment with the given name. #1705
  • Allow to prefer binary distributions when locking and installing packages, via PDM_PREFER_BINARY environment variable. #1817

Bug Fixes

  • Do not validate selected groups against the locked grouped when running pdm lock. #1796
  • Avoid duplicate .pdm-python in .gitignore. #1800
  • Fix a backwards compatibility issue by adding back the environment.is_global property. #1814
  • Fix a resolution conflict when a relative path requirement resolves to the same path as another file requirement with absolute path. #1822
  • Fix an error when running pdm init -p <dir> if the target directory is not created yet. #1822

v2.5.0b0

Install the prerelease

pdm self update --pre

Or if you use pipx:

pipx upgrade --pip-args "--pre" pdm

Breaking Changes

  • Switch the default build backend to pdm-backend. #1684
  • Only lock selected groups into the lockfile. Modify other commands to honor the groups included in the lockfile. #1704
  • Move the project python path to its own file, and rename the project config file as pdm.toml which can be committed to the VCS. #1742
  • Refactor the environment package. Environment is renamed to PythonLocalEnvironment and GlobalEnvironment is renamed to PythonEnvironment. Move pdm.models.environment module to pdm.environments package. #1791

Features & Improvements

  • Add option to fail on the first install error. #1614
  • Upgrade unearth to 0.8 to allow calling keyring from CLI. #1653
  • Merge the index parameters from different configuration files. #1667
  • Add new options to venv command to show the path or the python interpreter for a managed venv. #1680
  • Write the groups of resolved dependencies to the metadata table in lockfile. #1692
  • Introduce --lib option to init command to create a library project without prompting. #1708

... (truncated)

Changelog

Sourced from pdm's changelog.

Release v2.5.1 (2023-04-09)

Bug Fixes

  • Fix a bug that pdm --pep582 raises an argument error. #1823

Release v2.5.0 (2023-04-09)

Features & Improvements

  • When resolution.respect-source-order is enabled, sources are lazily evaluated. This means that if a match is found on the first source, the remaining sources will not be requested. #1509
  • New option --venv <venv> to run a command in the virtual environment with the given name. #1705
  • Allow to prefer binary distributions when locking and installing packages, via PDM_PREFER_BINARY environment variable. #1817

Bug Fixes

  • Do not validate selected groups against the locked grouped when running pdm lock. #1796
  • Avoid duplicate .pdm-python in .gitignore. #1800
  • Fix a backwards compatibility issue by adding back the environment.is_global property. #1814
  • Fix a resolution conflict when a relative path requirement resolves to the same path as another file requirement with absolute path. #1822
  • Fix an error when running pdm init -p <dir> if the target directory is not created yet. #1822

Release v2.5.0b0 (2023-03-29)

Breaking Changes

  • Switch the default build backend to pdm-backend. #1684
  • Only lock selected groups into the lockfile. Modify other commands to honor the groups included in the lockfile. #1704
  • Move the project python path to its own file, and rename the project config file as pdm.toml which can be committed to the VCS. #1742
  • Refactor the environment package. Environment is renamed to PythonLocalEnvironment and GlobalEnvironment is renamed to PythonEnvironment. Move pdm.models.environment module to pdm.environments package. #1791

Features & Improvements

  • Add option to fail on the first install error. #1614
  • Upgrade unearth to 0.8 to allow calling keyring from CLI. #1653
  • Merge the index parameters from different configuration files. #1667
  • Add new options to venv command to show the path or the python interpreter for a managed venv. #1680
  • Write the groups of resolved dependencies to the metadata table in lockfile. #1692
  • Introduce --lib option to init command to create a library project without prompting. #1708
  • New command: pdm fix to migrate to the new PDM features. Add a hint when invoking PDM commands. #1743
  • Include .pdm-python in project root .gitignore when running pdm init. #1749
  • Allow to ignore the activated venv with PDM_IGNORE_ACTIVE_VENV env var. #1782
  • Add a signal pre_invoke to emit before any command is invoked. #1792

Bug Fixes

... (truncated)

Commits
  • 377d1e1 chore: Release 2.5.1
  • 7ca0d91 fix: CLI parse error when running pdm --pep582
  • c909ad4 chore: Release 2.5.0
  • d5f43be fix the typo
  • b85738c fix: Fix two bugs (#1822)
  • 1585fce chore: suggest --pre flag when the latest version is a prerelease
  • 551879f feat: New option --venv VENV to run a command in the venv with the given na...
  • c897ec1 docs: add news for prefer_binary
  • 2963f2b feat: lazily evaluate sources when respect-source-order is true (#1817)
  • f403680 fix: adding back the environment.is_global property for compatibility
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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](https://github.com/pdm-project/pdm) from 2.4.9 to 2.5.1.
- [Release notes](https://github.com/pdm-project/pdm/releases)
- [Changelog](https://github.com/pdm-project/pdm/blob/main/CHANGELOG.md)
- [Commits](pdm-project/pdm@2.4.9...2.5.1)

---
updated-dependencies:
- dependency-name: pdm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e6d74cd) 97.84% compared to head (1322a1e) 97.84%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1552   +/-   ##
=======================================
  Coverage   97.84%   97.84%           
=======================================
  Files          71       71           
  Lines        5193     5193           
  Branches      688      688           
=======================================
  Hits         5081     5081           
  Misses         77       77           
  Partials       35       35           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@adamtheturtle adamtheturtle merged commit 0e68649 into master Apr 10, 2023
@adamtheturtle adamtheturtle deleted the dependabot/pip/pdm-2.5.1 branch April 10, 2023 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants