agshumate/Liftoff

python3.10 not compatible with pysam 0.16.0.1

jowodo opened this issue · 3 comments

Hi
I tried to install via pip (in a virtual environment)
I noticed, that the required pysam version 0.16.0.1 defined in setup.py doesn't install successfully with python version 3.10.4.
Please adapt in setup.py to something like python_requires='>=3.6,<=3.9'

Best regards!

seconded, I ran into this problem as I was trying to build a docker container.

I would suggest moving forward to python 3.10+ and the latest pysam

I think the issue is the setup.py file contains incorrect/old requirements.

install_requires=['numpy==1.21.0', 'biopython==1.76', 'gffutils==0.10.1', 'networkx==2.4', 'pysam==0.16.0.1','pyfaidx==0.5.8','interlap==0.2.6', "ujson==3.2.0","parasail>=1.2.1"],

While the github `setup.py contains:

install_requires=['numpy>=1.22.0', 'biopython>=1.76', 'gffutils>=0.10.1', 'networkx>=2.4', 'pysam>=0.19.1','pyfaidx>=0.5.8','interlap>=0.2.6', "ujson>=3.2.0","parasail>=1.2.1"],

Note pysam versioning.

git clone this repo and install it manually:

python setup.py install