colossal-account-65055
08/11/2021, 3:38 PMcolossal-account-65055
08/11/2021, 3:40 PMpython3 -m venv venv
venv/bin/python -m pip install --upgrade pip wheel setuptools
source venv/bin/activate
cd metadata-ingestion
pip install -e .
./scripts/codegen.sh
pip install -e '.[dev]'
pytest -m 'not slow' -vv --cov-fail-under 0colossal-account-65055
08/11/2021, 3:41 PMNo module named 'sqlalchemy.sql.roles'colossal-account-65055
08/11/2021, 3:41 PMcolossal-account-65055
08/11/2021, 3:47 PM../gradlew :metadata-ingestion:checkcolossal-account-65055
08/11/2021, 3:52 PMpip show sqlalchemy gives version 1.3.24big-carpet-38439
08/11/2021, 4:37 PMbig-carpet-38439
08/11/2021, 4:37 PMbig-carpet-38439
08/11/2021, 4:38 PMbig-carpet-38439
08/11/2021, 4:40 PMbig-carpet-38439
08/11/2021, 4:42 PMpip cache purge but no pip expert heremammoth-bear-12532
rm -rf metadata-ingest/venv), I just did
./gradlew :metadata-ingestion:installDev
followed by
./gradlew :metadata-ingestion:check
and it works for me.mammoth-bear-12532
datahub repo, you can see them here e.g.: (https://github.com/linkedin/datahub/runs/3302754637)mammoth-bear-12532
mammoth-bear-12532
pip freeze | grep snowflake ?mammoth-bear-12532
dev_requirements were not constraining the snowflake dependency.mammoth-bear-12532
colossal-account-65055
08/12/2021, 1:35 PMcolossal-account-65055
08/12/2021, 7:40 PMbig-carpet-38439
08/12/2021, 8:03 PMbig-carpet-38439
08/12/2021, 8:04 PMpytest -m 'not integration'
# Run Docker-based integration tests.
pytest -m 'integration'mammoth-bear-12532