[llvm] [Github] Use hashed dependencies in docs job (PR #120319)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 14:19:30 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/120319.diff
1 Files Affected:
- (modified) .github/workflows/docs.yml (+2-2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/120319
More information about the llvm-commits
mailing list