<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/81598>81598</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            A module with python version 3.7 is used, but the minimum required python version is 3.6
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          songdongsheng
      </td>
    </tr>
</table>

<pre>
    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).

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMtuwzYQ_BrqsqggUVIkHXTIw24PSQ6N0WtAkWuJLUW65CqJ_76gLOXVAEUBw-BjZ7yzM7QIQQ8WsWPVDavuEjHT6HwXnB2Us0MY0Q5J79S5O2AgbQc4Cm0CaAu__7a7h4bt9uzmlrXXLLtj2fZ9la2fZRtIofesWG8PXkjshfwLGG8mFwg8SrQEUhgDRgRivH2vBthrg8A4Z3zvTsT43piX6Zd-1kZtm7xJ3-Ja9_ItLggDfd5PTs0GnwOpdECbns4L3S0YbRF4GZfaAituL4Ws2G0_DnD0boILUxp500tNAD2dnCdYuePV84AWvSDn_3_vXvLt5OTdnyi_CJhJm_CDwrWXb4ry_L8VKUFCGhHCh5L3o0vpw4J8dLR3s1U77130EB7dKhmsmFAB4_UnLsbrHzNwGHUAHaBHKeaAQCOCwqOYDcHpTKOzH5mKdUV6FTUIq4AiNOqFOTYbkRZf4d0GuxEUaZ1-juFhREARdIQe9VukJQfzafBCXTpYgS_og3YWPP49a49TDCO5yAfOw6iHEf3SyuSUPp4vUDEgsOrmV6TlXTyR8IQKXjWNS8H9_R8P8HQOhBOr7hhvRqJTiLnm-9Xp1PmB8b1yMnq7Mq1E6UiTYbxdFSWqK1RbtCLBLq-zuuFXRd4mY5dVTYEyF6Us2kyotlRl3fKa81zyUmGf6I5nvMx4XuQ8z6s27UXdNkrmlWzKOuclKzOchDbp1lKiQ5ixa_KqbRIjejRh-3_w3RrgIbAyMzpQ-ICRJoPd9RaPZRLfJhxHqkM0UkV7-5mWWU3a6mmeNgPUd9glEMnsTfd1ioOmce5T6aZ1pP9-Q4uYON9Fzz8BAAD__2SPmOY">