From 0a9340fd5278049687d59069176c5331e73bbafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Wed, 16 Apr 2025 15:24:21 +0200 Subject: [PATCH] Add missing python requirements for various tools and in "checks" job install only using pip. --- .github/workflows/reusable_checks.yml | 3 +-- third_party/requirements.txt | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable_checks.yml b/.github/workflows/reusable_checks.yml index 04a314c155..d091e9ce8d 100644 --- a/.github/workflows/reusable_checks.yml +++ b/.github/workflows/reusable_checks.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev doxygen + sudo apt-get install -y cmake libhwloc-dev doxygen # Latest distros do not allow global pip installation - name: Install Python requirements in venv @@ -30,7 +30,6 @@ jobs: . .venv/bin/activate echo "$PATH" >> $GITHUB_PATH python3 -m pip install -r third_party/requirements.txt - python3 -m pip install bandit codespell - name: Configure CMake run: > diff --git a/third_party/requirements.txt b/third_party/requirements.txt index 467ea1e033..52ead76739 100644 --- a/third_party/requirements.txt +++ b/third_party/requirements.txt @@ -1,8 +1,9 @@ # Python requirements modules # Formatting the source code +bandit==1.8.3 +black==24.3.0 clang-format==15.0.7 cmake-format==0.6.13 -black==24.3.0 # Tests packaging==24.2 # Generating HTML documentation @@ -16,5 +17,6 @@ breathe==4.36.0 sphinx==8.1.3 sphinx_book_theme==1.1.3 # Spelling check in documentation +codespell==2.4.1 pyenchant==3.2.2 sphinxcontrib-spelling==8.0.1