cell2cell icon indicating copy to clipboard operation
cell2cell copied to clipboard

Cell2cell in later python versions

Open dbdimitrov opened this issue 3 months ago • 6 comments

Hi @earmingol,

Have you considered allowing cell2cell in more recent Python versions? I know it comes with some overhead, but I might have to drop it as an optional dependencies from liana and just have it as the tutorials on <= 3.11.


├─ liana is installable with the potential options
│  ├─ liana 1.6.1 would require
│  │  └─ cell2cell with the potential options
│  │     ├─ cell2cell 0.8.1 would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │     └─ cell2cell 0.8.1 would require
│  │        └─ python >=3.9,<3.10.0a0 , which can be installed;

WDYT?

dbdimitrov avatar Sep 30 '25 09:09 dbdimitrov

@dbdimitrov I don't remember including a requirement of a python version, I guess it is related to other packages as requirement of cell2cell?

earmingol avatar Sep 30 '25 10:09 earmingol

@dbdimitrov I just removed the strict requirement of gseapy, can you test if this works with

pip install -U git+https://github.com/earmingol/cell2cell@new_version

earmingol avatar Sep 30 '25 11:09 earmingol

@earmingol thanks for the prompt reply man. pip works, but the issue only appears when I try to install liana via conda (because it also installs optional dependencies)... I believe its because of gseapy (fixed version)

dbdimitrov avatar Sep 30 '25 15:09 dbdimitrov

@dbdimitrov yeah, but I wonder if with that branch I put before works, can you preinstall it and then use conda?? If it works then I would do the PR to update the main branch

earmingol avatar Sep 30 '25 15:09 earmingol

@earmingol yes, it worked with pip but not sure if I can install with conda from github :/ (it isntalls a later gseapy version now)

dbdimitrov avatar Sep 30 '25 15:09 dbdimitrov

@dbdimitrov I just pushed the new version, not sure if conda got it as I didn't put the package on conda but it looks like it is in bioconda. Give it a try and let me know...

I guess we need to wait until they update this recipe: https://github.com/bioconda/bioconda-recipes/blob/master/recipes/cell2cell/meta.yaml

earmingol avatar Oct 02 '25 10:10 earmingol