[release/v7.5] Mirror .NET/runtime ICU version range in PowerShell#26821
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from Feb 14, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
libicuNNdependency 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. |
There was a problem hiding this comment.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Updates ICU version range to mirror .NET runtime approach for better compatibility
Customer Impact
Regression
REQUIRED: Check exactly one box.
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.
Updates ICU version dependencies to match .NET runtime's version range approach. Provides better compatibility across ICU versions. Successfully backported to 7.6 branch.