You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GetUnicode_Invalid/GetAscii_Invalid test failures on Fedora 40 #100287
@omajid we can add both versions to ensure using different ICU versions will work.
Please note, after porting the test data files, usually we comment some lines which are incompatible with our APIs. The best way to do that is just bring the data as it is, run the test, look at the failed entries and then we comment it. Thanks a lot for willing to help with that.
I just checked things and the tests don't fail on Fedora 39, which has icu 73. Maybe there's no interesting changes in Unicode 14 or 15 that are relevant for our test suite?
Activity
dotnet-policy-service commentedon Mar 26, 2024
Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.
tmds commentedon Jul 12, 2024
@tarekgh do you know what the root cause is for the test failures?
Here is one of the cases that fails:
tarekgh commentedon Jul 12, 2024
This test depends on the Unicode IDN data which changes with every new version. Look at https://github.com/dotnet/runtime/tree/main/src/libraries/System.Runtime/tests/System.Globalization.Extensions.Tests/IdnMapping/Data/Unicode_11_0 as example. To fix this, we'll need to pick a new data and tweak it a little to make it pass.
omajid commentedon Jul 22, 2024
Looks like libicu 74 uses Unicode 15.1: https://icu.unicode.org/download/74. I can look into adding this.
Do we also need to explicitly add libicu 72/Unicode 15 support? Or libicu 70/Unicode 14 support?
tarekgh commentedon Jul 22, 2024
@omajid we can add both versions to ensure using different ICU versions will work.
Please note, after porting the test data files, usually we comment some lines which are incompatible with our APIs. The best way to do that is just bring the data as it is, run the test, look at the failed entries and then we comment it. Thanks a lot for willing to help with that.
omajid commentedon Jul 22, 2024
I just checked things and the tests don't fail on Fedora 39, which has icu 73. Maybe there's no interesting changes in Unicode 14 or 15 that are relevant for our test suite?
Fix System.Globalization.Extensions.Tests for icu 74/unicode 15.1
Fix System.Globalization.Extensions.Tests for icu 74/unicode 15.1
Fix System.Globalization.Extensions.Tests for icu 74/unicode 15.1 (do…
tmds commentedon Jul 25, 2024
Thanks @omajid!