Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace python-ldap with openldap in conda env #1102

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions conda-environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,28 @@
---

name: mxcubecore

channels:
- conda-forge

dependencies:

### Runtime dependencies
# Runtime dependencies
# ====================

- python >=3.8,<3.12

# We install `python-ldap` from conda because it is "hard" to install.
# On PyPI it is not available as *wheel*, only as *sdist* which requires to be built
# with compilation steps that require a compiler and some header files.
# Installing with conda is much "easier".
#
# IMPORTANT:
# Always make sure that `python-ldap` here is pinned to the same version
# as in the Poetry lockfile `poetry.lock` (not the other way around).
- python-ldap=3.4.3

### Development dependencies

# Compilation-time dependencies
# =============================

# Adding `openldap` here allows Python's pip and Poetry to compile `python-ldap`.
# Indeed on PyPI, `python-ldap` is distributed as *sdist* only
# and it requires compilation before it can be installed.
- openldap


# Development dependencies
# ========================

- poetry
Loading