Hi,
You can install it via pip3, which should not depend on the operating system. Please check the screenshot below:
Anyway, python3-ldap is not needed to run the system, it is only needed when syncing LDAP users in background. You can upgrade to 7.1 in CentOS 7, then migrate to CentOS 8.
