[llvm] [Github] Use hashed dependencies in docs job (PR #120319)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 14:19:02 PST 2024
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/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.
>From 8984ae08d8c9031b2bc07c729851e1c9baebac7b Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 17 Dec 2024 22:17:35 +0000
Subject: [PATCH] [Github] Use hashed dependencies in docs job
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
More information about the llvm-commits
mailing list