Issue |
81598
|
Summary |
A module with python version 3.7 is used, but the minimum required python version is 3.6
|
Labels |
|
Assignees |
|
Reporter |
songdongsheng
|
Testing fails in RHEL 8:
```
stderr:
Traceback (most recent call last):
File "/opt/llvm-build/llvm-18.x/libcxx/test/libcxx/module_std.gen.py", line 24, in <module>
from libcxx.test.modules import module_test_generator
File "/opt/llvm-build/llvm-18.x/rc2/llvm-project/libcxx/utils/libcxx/test/modules.py", line 11, in <module>
from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
```
This is because the default python in RHEL 8 is 3.6, and this test uses the new modules in python 3.7.
The easiest fix is to upgrade the python version requirement to 3.7 or higher and modify the page [Getting Started with the LLVM System](https://llvm.org/docs/GettingStarted.html).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs