From e372691b6e4aae96ceab2a43ebeaa16cf8b17c6b Mon Sep 17 00:00:00 2001 From: said-moj <45761276+said-moj@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:52:27 +0000 Subject: [PATCH] Pin pip version to 24.3 when doing pip-compile This is due to a bug re-introduced into pip in the last release https://github.com/jazzband/pip-tools/issues/2131 --- .github/workflows/static-analysis.yml | 1 + .trufflehog3.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 8982e122..3a71692c 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -21,6 +21,7 @@ jobs: - name: Run pip-compile pre-commit id: pip_compile run: | + pip install --upgrade pip==24.3 python -m pip install --upgrade pip pip install pre-commit ls requirements/source/* | xargs pre-commit run pip-compile --files diff --git a/.trufflehog3.yml b/.trufflehog3.yml index ab755668..88dc97e1 100644 --- a/.trufflehog3.yml +++ b/.trufflehog3.yml @@ -5,6 +5,8 @@ exclude: # exclude matching issues - dist/** - README.md - .github/** + - .ruff_cache/** + - .pytest_cache/** - message: Examples and data necessary for running auto-tests paths: - docs/*.html