From 8a62104f642e469e62aa839cc25c31adf2fa5805 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 17 Dec 2024 22:46:13 +0000 Subject: [PATCH] [Github] Use hashed dependencies in docs job (#120319) This patch forces the docs test build job to use the hashed dpendencies file rather than the normal requirements.txt. This ensures that we get the exact transitive closure specified rather than whatever the dependency solver feels like it should use in the CI job. --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8441589bb716e0..b4fa27203236a0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -106,9 +106,9 @@ jobs: with: python-version: '3.11' cache: 'pip' - cache-dependency-path: 'llvm/docs/requirements.txt' + cache-dependency-path: 'llvm/docs/requirements-hashed.txt' - name: Install python dependencies - run: pip install -r llvm/docs/requirements.txt + run: pip install -r llvm/docs/requirements-hashed.txt - name: Install system dependencies run: | sudo apt-get update