matthewcarbone / Crescendo

A greatly abstracted machine learning suite built for ease of use, powered by Hydra + Lightning
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Figure out what's causing a bug in the CI pipeline #44

Closed matthewcarbone closed 4 years ago

matthewcarbone commented 4 years ago
_______________ ERROR collecting tests/test_models/test_mpnn.py ________________
ImportError while importing test module '/home/runner/work/crescendo/crescendo/tests/test_models/test_mpnn.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_models/test_mpnn.py:3: in <module>
    from crescendo.models.mpnn import MPNN
crescendo/models/mpnn.py:5: in <module>
    from dgllife.model import MPNNPredictor
/usr/share/miniconda/lib/python3.7/site-packages/dgllife/__init__.py:9: in <module>
    from . import model
/usr/share/miniconda/lib/python3.7/site-packages/dgllife/model/__init__.py:8: in <module>
    from .model_zoo import *
/usr/share/miniconda/lib/python3.7/site-packages/dgllife/model/model_zoo/__init__.py:33: in <module>
    from .acnn import *
/usr/share/miniconda/lib/python3.7/site-packages/dgllife/model/model_zoo/acnn.py:14: in <module>
    from dgl import BatchedDGLHeteroGraph
E   ImportError: cannot import name 'BatchedDGLHeteroGraph' from 'dgl' (/usr/share/miniconda/lib/python3.7/site-packages/dgl/__init__.py)
matthewcarbone commented 4 years ago

Documented issue on dgllife:

https://github.com/awslabs/dgl-lifesci/issues/70

Fun stuff.

matthewcarbone commented 4 years ago

For now, use a previous version of dgllife until they fix it!

matthewcarbone commented 4 years ago

Current working version of dgllife is 0.2.2.