Using freshly pulled code from github, I cannot co...
# troubleshoot
b
Using freshly pulled code from github, I cannot complete a gradlew build. It fails on metadata-ingestion:lint. The error output is: https://pastebin.com/nkxwVkp1, --debug out: https://pastebin.com/gDD7w2M3 It seems to trip on this part:
[system.out] venv/lib/python3.9/site-packages/airflow/_vendor/connexion/spec.py:169: error: invalid syntax
See thread for the picture of where this points to. I could build previous versions without a problem with the same system (Ubuntu 21.04)
1
b
i suggest u run
./gradlew :metadata-ingestion:lint --debug
and see what it fails on inside the metadata-ingest folder... the logs you pasted are the datahub-web-react tests, which looks concerning (but i also usually also encounter it)
b
This is the output for --debug https://pastebin.com/gDD7w2M3 It seems to trip here:
[system.out] venv/lib/python3.9/site-packages/airflow/_vendor/connexion/spec.py:169: error: invalid syntax
The code that it points to is here on the picture when defining the Swagger2Specification
b
im not familiar with this portion of the code unfortunately. 😞
h
mypy is not supposed to analyze those files. Will take a look.
b
@better-orange-49102 @helpful-optician-78938 Thank you 🙂
h
@brief-lizard-77958, In the meantime, you can unblock yourself by running
./gradlew build -x :metadata-ingestion:lint
. This will exclude the metadata-ingestion lint check task from the build.
b
@helpful-optician-78938 Cool thanks
@helpful-optician-78938 Confirming that I'm able to complete a full build on a new version. Thank you