Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace python-ldap with openldap in conda env
On PyPI, `python-ldap` is distributed as an *sdist* only, not *wheel*. But it still requires a compilation step before installation. Some dependencies installed with conda are rightfully ignored by Poetry. Even when `python-ldap` is pre-installed by conda, Poetry would still need to reinstall it which implies compilation. Indeed there is an issue in how conda packages are created and how they are installed: * <python-poetry/poetry#6408 (comment)> * <conda-forge/python-ldap-feedstock#28> So it does not make much sense to let conda install `python-ldap`. Instead we can instruct conda to install `openldap` only, and pip and Poetry should be able to compile `python-ldap`. GitHub: #1510 GitHub: mxcube/mxcubecore#849 (comment) GitHub: conda-forge/python-ldap-feedstock#28 GitHub: mxcube/mxcubecore#851
- Loading branch information