Skip to content

release: bump version to 2.1.3#10375

Merged
radoering merged 1 commit into
python-poetry:mainfrom
radoering:release/2.1.3
May 4, 2025
Merged

release: bump version to 2.1.3#10375
radoering merged 1 commit into
python-poetry:mainfrom
radoering:release/2.1.3

Conversation

@radoering
Copy link
Copy Markdown
Member

@radoering radoering commented May 4, 2025

Changed

  • Require importlib-metadata<8.7 for Python 3.9 because of a breaking change in importlib-metadata 8.7 (#10374).

Fixed

  • Fix an issue where re-locking failed for incomplete multiple-constraints dependencies with explicit sources (#10324).
  • Fix an issue where the --directory option did not work if a plugin, which accesses the poetry instance during its activation, was installed (#10352).
  • Fix an issue where poetry env activate -v printed additional information to stdout instead of stderr so that the output could not be used as designed (#10353).
  • Fix an issue where the original error was not printed if building a git dependency failed (#10366).
  • Fix an issue where wheels for the wrong platform were installed in rare cases. (#10361).

poetry-core (2.1.3)

  • Fix an issue where the union of specific inverse or partially inverse markers was not simplified (#858).
  • Fix an issue where optional dependencies defined in the project section were treated as non-optional when a source was defined for them in the tool.poetry section (#857).
  • Fix an issue where markers with === were not parsed correctly (#860).
  • Fix an issue where local versions with upper case letters caused an error (#859).
  • Fix an issue where extra markers with a value starting with "in" were not validated correctly (#862).

Summary by Sourcery

Bump Poetry version to 2.1.3 with multiple bug fixes for dependency management, environment handling, and core functionality

Bug Fixes:

  • Fixed re-locking issues with multiple-constraints dependencies
  • Resolved problems with directory option and plugin activation
  • Corrected environment activation verbose output handling
  • Fixed error reporting for git dependency builds
  • Addressed platform-specific wheel installation issues
  • Improved marker parsing and validation in poetry-core

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 4, 2025

Reviewer's Guide

This pull request bumps the project version to 2.1.3 by updating the version in pyproject.toml and adding the corresponding release notes to CHANGELOG.md.

File-Level Changes

Change Details Files
Updated project version.
  • Set the version field under the [project] section to '2.1.3'.
pyproject.toml
Updated changelog for the new release.
  • Added a new section with release notes for version 2.1.3.
  • Updated the comparison link for the '[Unreleased]' section.
  • Added the link definition for the '2.1.3' tag.
CHANGELOG.md

Possibly linked issues

  • #0: The PR fixes a poetry-core parsing issue with markers, likely resolving the version constraint error in the issue.

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @radoering - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@radoering radoering merged commit 84eeadc into python-poetry:main May 4, 2025
53 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants