Knowledge-Graph-Hub/kg-phenio

Transforms fail due to missing `koza.cli_runner`

caufieldjh opened this issue · 0 comments

Most recent build fails with:

08:42:19  + python3.9 run.py transform
08:42:22  Traceback (most recent call last):
08:42:22    File "/var/lib/jenkins/workspace/ledge-graph-hub_kg-phenio_master/gitrepo/run.py", line 5, in <module>
08:42:22      from kg_phenio import download as kg_download
08:42:22    File "/var/lib/jenkins/workspace/ledge-graph-hub_kg-phenio_master/gitrepo/kg_phenio/__init__.py", line 3, in <module>
08:42:22      from .transform import transform
08:42:22    File "/var/lib/jenkins/workspace/ledge-graph-hub_kg-phenio_master/gitrepo/kg_phenio/transform.py", line 5, in <module>
08:42:22      from kg_phenio.transform_utils.phenio.phenio_transform import PhenioTransform
08:42:22    File "/var/lib/jenkins/workspace/ledge-graph-hub_kg-phenio_master/gitrepo/kg_phenio/transform_utils/phenio/__init__.py", line 2, in <module>
08:42:22      from .phenio_transform import PhenioTransform
08:42:22    File "/var/lib/jenkins/workspace/ledge-graph-hub_kg-phenio_master/gitrepo/kg_phenio/transform_utils/phenio/phenio_transform.py", line 9, in <module>
08:42:22      from koza.cli_runner import transform_source
08:42:22  ModuleNotFoundError: No module named 'koza.cli_runner'

This can also be called as from koza.cli_runner import get_koza_app...but koza.cli_runner should exist.
Did it get installed?
Yes, pip says it installed koza-0.6.0.
Aha! The module got renamed: monarch-initiative/koza@e2fb994
So now it needs to be from koza.cli_utils import transform_source