Skip to content

[PR #1438/e28456fb backport][3.27] Match prereleases in remote ranges without mutating specifiers - #1441

Merged
gerrod3 merged 1 commit into
3.27from
patchback/backports/3.27/e28456fb25cf99178844947d2f30f755ab2661cb/pr-1438
Oct 20, 2026
Merged

gerrod3 merged 1 commit into
3.27from
patchback/backports/3.27/e28456fb25cf99178844947d2f30f755ab2661cb/pr-1438

Conversation

@patchback

@patchback patchback Bot commented Oct 20, 2026

Copy link
Copy Markdown

This is a backport of PR #1438 as merged into main (e28456f).

I plan to deprecate mutability of packaging's core objects to improve performance and hashability. This PR removes specifier mutation from Pulp's remote range filters ahead of that change.

A new __replace__ API will cover callers that need a modified copy in future versions of packaging. These filters don't need a copy: their include and exclude comparisons pass prereleases=True to contains(), keeping prerelease selection.

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 631aa323-d498-4c10-9343-8203560cc844

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gerrod3
gerrod3 merged commit 10be498 into 3.27 Oct 20, 2026
15 checks passed
@gerrod3
gerrod3 deleted the patchback/backports/3.27/e28456fb25cf99178844947d2f30f755ab2661cb/pr-1438 branch October 20, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants