emyounglab / prymetime

Pipeline for Recombinant Yeast genoMEs That Identifies Markers of Engineering
MIT License
12 stars 4 forks source link

Resolving Python compatibility issues in Dockerfile #39

Closed DaneJacobson closed 1 year ago

DaneJacobson commented 2 years ago

This commit addresses Python version incompatibility between Medaka and Protobuf. The latest Protobuf release requires Python 3.7 but Medaka only runs on Python 3.6.9. This commit modifies the Dockerfile to address the issue.

Protobuf error

protobuf requires Python '>=3.7' but the running Python is 3.6.9
The command '/bin/sh -c pip3 install medaka==0.12.0' returned a non-zero code: 1

SyntaxError

File "/tmp/pip-build-mef35aut/pyfaidx/.eggs/setuptools_scm-7.0.2-py3.6.egg/setuptools_scm/__init__.py", line 5
from __future__ import annotations
        ^
    SyntaxError: future feature annotations is not defined
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-mef35aut/pyfaidx/
The command '/bin/sh -c pip3 install medaka==0.12.0' returned a non-zero code: 1