Skip to content
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

t_toUpper_char fails on s390x #606

Open
Bodigrim opened this issue Jun 22, 2024 · 3 comments
Open

t_toUpper_char fails on s390x #606

Bodigrim opened this issue Jun 22, 2024 · 3 comments

Comments

@Bodigrim
Copy link
Contributor

https://github.com/haskell/text/actions/runs/9628836664/job/26557513845 failed with

             t_toUpper_char:                            FAIL (0.02s)
              *** Failed! Falsified (after 80 tests):
              '\42954'
              "\42953" /= "\42954"
              Use --quickcheck-replay=567863 to reproduce.

I have not looked into it, just filing.

@Bodigrim
Copy link
Contributor Author

@Lysxia
Copy link
Contributor

Lysxia commented Jul 1, 2024

The failing test t_toUpper_char is guarded by a MIN_VERSION_base(...) condition which goes out of date almost every time we upgrade the Unicode version for the case mappings in text.

  • GHC 8.8/base 4.13 (what is available in the s390x runner) uses Unicode 12.0
  • Those two characters in the failing test case are from Unicode 13.0
  • (for the record, text is currently at Unicode 15.0)

@wismill
Copy link

wismill commented Jul 22, 2024

Related: haskell/core-libraries-committee#278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants