flat-engineer-75197
03/16/2023, 4:03 PM[tool.poetry.dependencies]
python = "^3.9"
acryl-datahub = { git = "https://github.com/FundingCircle/datahub.git", subdirectory = "metadata-ingestion", branch = "master", extras = ["datahub-rest","dbt","glue","kafka","postgres","tableau"] }flat-engineer-75197
03/16/2023, 4:29 PM$ datahub
Traceback (most recent call last):
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/bin/datahub", line 5, in <module>
from datahub.entrypoints import main
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/entrypoints.py", line 10, in <module>
from datahub.cli.check_cli import check
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/cli/check_cli.py", line 7, in <module>
from datahub.cli.json_file import check_mce_file
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/cli/json_file.py", line 3, in <module>
from datahub.ingestion.source.file import GenericFileSource
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/ingestion/source/file.py", line 17, in <module>
from datahub.emitter.mcp import MetadataChangeProposalWrapper
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/emitter/mcp.py", line 5, in <module>
from datahub.emitter.aspect import ASPECT_MAP, TIMESERIES_ASPECT_MAP
File "/Users/yusuf.mahtab/repos/fc-datahub/.venv/lib/python3.9/site-packages/datahub/emitter/aspect.py", line 1, in <module>
from datahub.metadata.schema_classes import ASPECT_CLASSES
ModuleNotFoundError: No module named 'datahub.metadata'delightful-ram-75848
03/17/2023, 5:21 AMpoetry add acryl-datahub?
pyproject.toml should be like the following:
[tool.poetry.dependencies]
python = "3.10.5"
acryl-datahub = "^0.10.0.5"better-orange-49102
03/17/2023, 7:30 AM./gradlew :metadata-ingestion:codegen , which is run as part of the ci/cd when publishing.flat-engineer-75197
03/17/2023, 9:11 AMbetter-orange-49102
03/17/2023, 11:18 AMbetter-orange-49102
03/17/2023, 11:19 AM