CSCfi / CSCfi/sd-lock-util

Pip runs into dependency conflict if allas-cli-utils are already installed

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi,

I pulled the latest allas-cli-utils today and installed both of them in a fresh conda env using the following commands:

```bash
conda env create -n allas --file ./allas-cli-utils/allas-dependencies.yaml
conda activate allas
pip install -r ./sd-lock-util/requirements.txt
```

The installation of sd-lock-util packages led to this dependency conflict:

```bash
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
debtcollector 3.1.0 requires wrapt>=2.1.0, but you have wrapt 1.17.3 which is incompatible.
Successfully installed aioboto3-13.1.1 aiobotocore-2.13.1 aiofiles-23.2.1 aiohttp-3.9.5 aioitertools-0.13.0 aiosignal-1.4.0 asyncstdlib-3.13.1 attrs-26.1.0 boto3-1.34.131 botocore-1.34.131 certifi-2025.1.31 click-8.1.7 crypt4gh-1.6 docopt-0.6.2 frozenlist-1.8.0 multidict-6.7.1 propcache-0.5.2 pynacl-1.6.2 s3transfer-0.10.4 types-aiobotocore-s3-2.25.0 wrapt-1.17.3 yarl-1.24.2
```

I tried to install them in the opposite order - sd-lock-util -> allas-cli-utils, and all the packages were installed successfully

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.