gh-152563, test_math: Enable fma test on musl 1.2.6 - #152564
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
I just tested I would prefer to wait until musl 1.2.6 final is released and available in Alpine Linux. |
|
@vstinner Thanks for the review. Yes, I just double-checked and
No problem, let's wait until 1.2.6 is officially included in the default version. |
|
https://musl.libc.org/releases.html tells me that musl 1.2.6 was released in March 20, 2026.
@weixlu: Hi. Can you check if it's the case now? |
|
@vstinner Ah yes, thanks for reminder. I have verified that musl 1.2.6 is now officially included $ docker run --rm alpine:edge apk info musl
musl-1.2.6-r2 description:
the musl c library (libc) implementation
musl-1.2.6-r2 webpage:
https://musl.libc.org/
musl-1.2.6-r2 installed size:
706 KiBAlso I've run |
vstinner
left a comment
There was a problem hiding this comment.
I confirm that all FMA tests of test_math pass on the latest Alpine Linux with musl-1.2.6-r2.
~/cpython # apk info musl
musl-1.2.6-r2 description:
the musl c library (libc) implementation
musl-1.2.6-r2 webpage:
https://musl.libc.org/
musl-1.2.6-r2 installed size:
654 KiB
~/cpython # ./python
Python 3.16.0a0 (heads/main:fcfa919, Aug 11 2026, 13:30:35) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from test import support
>>> support.linked_to_musl()
(1, 2, 6)
|
cc @zware @bitdancer |
Proposal:
#131313 fix many tests on Alpine Linux (musl C library). About
test_fma_zero_result, it saysAnd now
musl 1.2.6is available, and I have verified that the test can pass. So let's enable it.I also test the older version