-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Mirror .NET/runtime ICU version range in PowerShell #26304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
For discussion. Could we take these constants from this file automatically? |
I don't know how to parse C source in PowerShell. Manual parsing sounds like a bad idea. Also, |
We should not assume what platform we are building on. |
Co-authored-by: Travis Plunk <[email protected]>
@TravisEz13, this is agnostic of build platform? Or can you clarify what you meant? |
We should be agnostic of build platform. So, if we do pull any information in, it needs to be from public .NET information. |
I’m happy with the current state of the PR, where we align with the version range used by the .NET runtime; which I believe you’re also okay with. The |
It would be wonderful if .NET exposed this and we could generate the code, but otherwise this seems like a step forward. |
|
LGTM, but packaging has been undergoing some changes. CI is broken. I have a PR to fix it. We need to take that PR first and rerun tests. |
|
@TravisEz13, if it looks good, can this be merged? Will it be part of the upcoming release? |
|
@kasperk81 we have all the changes to the packaging commited that we expect. I'll run the CI again and verify. |
|
@TravisEz13 i've fixed the typo from suggestion #26304 (comment). can you rerun the CI? |
|
@TravisEz13 good to merge? |
|
Mark as 7.5-consider and 7.4-consider, because .NET changed the supported OS for .NET 8 and .NET 9 to include Debian 13 in the matrix. https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md#linux |
PR Summary
The .NET runtime defines ICU version ranges instead of tracking exact “running” versions.
This PR mirrors that approach in PowerShell: rather than hardcoding specific ICU versions, it provides headroom above the build version so Debian packages flow smoothly and remain compatible across a range of ICU versions.
Better fix for #25865.
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header