Skip to content

Conversation

@zeyi2
Copy link
Member

@zeyi2 zeyi2 commented Dec 15, 2025

This is needed by #172123 to avoid potential CI failures.

@llvmbot
Copy link
Member

llvmbot commented Dec 15, 2025

@llvm/pr-subscribers-github-workflow

Author: mitchell (zeyi2)

Changes

This is needed by #172123 to avoid potential CI failures.


Full diff: https://github.com/llvm/llvm-project/pull/172256.diff

1 Files Affected:

  • (modified) .github/workflows/containers/github-action-ci-tooling/Dockerfile (+4)
diff --git a/.github/workflows/containers/github-action-ci-tooling/Dockerfile b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
index b78c99efb9be3..8d02baa05f489 100644
--- a/.github/workflows/containers/github-action-ci-tooling/Dockerfile
+++ b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
@@ -94,6 +94,10 @@ COPY --from=llvm-downloader /llvm-extract/LLVM-${LLVM_VERSION}-Linux-X64/bin/cla
 COPY clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py ${LLVM_SYSROOT}/bin/clang-tidy-diff.py
 
 # Install dependencies for 'pr-code-lint.yml' job
+RUN apt-get update && \
+    DEBIAN_FRONTEND=noninteractive apt-get install -y python3-doc8 && \
+    apt-get clean && \
+    rm -rf /var/lib/apt/lists/*
 COPY llvm/utils/git/requirements_linting.txt requirements_linting.txt
 RUN pip install -r requirements_linting.txt --break-system-packages && \
     rm requirements_linting.txt

Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in the linting requirements file and not be installed as a system package.

@zeyi2 zeyi2 requested review from boomanaiden154 and removed request for vbvictor December 15, 2025 07:18
@zeyi2 zeyi2 closed this Dec 15, 2025
@zeyi2 zeyi2 removed the request for review from boomanaiden154 December 15, 2025 07:18
@zeyi2 zeyi2 reopened this Dec 15, 2025
@zeyi2
Copy link
Member Author

zeyi2 commented Dec 15, 2025

Thanks for reviewing, I've fixed the issues :)

@zeyi2 zeyi2 changed the title [Github][CI] Add doc8 to Dockerfile [Github][CI] Add doc8 to code-linter dependency Dec 15, 2025
Copy link
Contributor

@vbvictor vbvictor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm but please wait for other review

@zeyi2 zeyi2 merged commit f19c83f into llvm:main Dec 16, 2025
27 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants