Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Netlify build timeouts (astronomer#1294)
Netlify jobs are failing during the "Initialization" step as seen in: https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/67225eeb6eaeb400080afce5 With the error: ``` 5:01:30 PM: Failed during stage 'Install dependencies': Command did not finish within the time limit 5:01:30 PM: Execution timed out after 17m59.815960796s 5:01:30 PM: Execution timed out after 17m59.917466353s 5:01:30 PM: Failing build: Failed to install dependencies ``` Dependency resolution is a pain. After confirming the dependencies that were taking longer, I pinned several of them, based on the constraints file: https://github.com/apache/airflow/blob/constraints-2.10.0/constraints-3.10.txt This seems to have reduced the installation of the docs dependencies significantly: Locally: ``` time pip install -r requirements.txt 42.67s ``` In Netlify, the Initialization step was reduced to less than 3 min: https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/672364e906837e00087c53ac
- Loading branch information