[llvm-dev] libc++ tests won't run due to a breaking change in Python 3.8 libraries
Manuel Jacob via llvm-dev
llvm-dev at lists.llvm.org
Thu Dec 5 14:31:47 PST 2019
It seems like the only actually used feature generated by this function
If that’s true, we could implement an ad-hoc solution for that case.
SLES 11 is a very old distribution and I’d expect nobody to run Python
3.8 on it. Therefore we could maybe not add any distribution feature if
`platform.linux_distribution()` is missing.
On 2019-12-05 19:28, Sergej Jaskiewicz via llvm-dev wrote:
> The libc++ tests rely on the `platform.linux_distribution()` API ,
> which is deprecated since Python 3.5 and removed  in Python 3.8,
> which is already released. This API is used to XFAIL certain tests
> based on the linux distro.
> So, I can’t run libc++ tests when the only Python I have is 3.8.
> Yes, I know, I could use Python 2, but I really don’t want to, since
> it will die in less than a month .
> The proposed solution is to use the distro package , but AFAIK the
> LLVM community doesn’t want to depend on third-party packages.
> Any ideas how this can be dealt with?
>  https://pythonclock.org
>  https://pypi.org/project/distro/
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
More information about the llvm-dev