Skip to content

[release/v7.5] Mirror .NET/runtime ICU version range in PowerShell#26821

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26304-bb44aa1bc
Feb 14, 2026
Merged

[release/v7.5] Mirror .NET/runtime ICU version range in PowerShell#26821
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26304-bb44aa1bc

Conversation

@daxian-dbw
Copy link
Member

Backport of #26304 to release/v7.5

Triggered by @daxian-dbw on behalf of @kasperk81

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Updates ICU version range to mirror .NET runtime approach for better compatibility

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Successfully tested in 7.6 release. Addresses Debian package compatibility issues with ICU versions.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Updates ICU version dependencies to match .NET runtime's version range approach. Provides better compatibility across ICU versions. Successfully backported to 7.6 branch.

@daxian-dbw daxian-dbw requested a review from a team as a code owner February 13, 2026 23:53
Copilot AI review requested due to automatic review settings February 13, 2026 23:53
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Backports #26304 to release/v7.5 to align PowerShell’s Debian package ICU dependency handling with the .NET runtime’s “supported version range” approach, improving compatibility across ICU versions.

Changes:

  • Introduce explicit ICU min/build/max version variables and document the rationale in Get-PackageDependencies.
  • Generate Debian libicuNN dependency alternatives dynamically from a version range instead of hardcoding a fixed list.

# - ICU typically releases about twice per year, so +30 provides roughly
# 15 years of forward compatibility.
# - On some platforms, the minimum supported version may be lower
# than the build version and we know that older versions just works.
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

Grammar: 'older versions just works' should be 'older versions just work'.

Suggested change
# than the build version and we know that older versions just works.
# than the build version and we know that older versions just work.

Copilot uses AI. Check for mistakes.
@daxian-dbw daxian-dbw merged commit 9e50897 into PowerShell:release/v7.5 Feb 14, 2026
24 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.5/26304-bb44aa1bc branch February 14, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants