diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 7eb665050..72dcfcd60 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -98,6 +98,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip cache purge pip install .[dev] - name: Prune non-${{matrix.target_branch}} rules diff --git a/pyproject.toml b/pyproject.toml index 623f10d9b..27e5ad3f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ "detection-rules-kibana @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kibana" ] [project.optional-dependencies] -dev = ["pep8-naming==0.13.0", "PyGithub==2.2.0", "flake8==7.0.0", "pyflakes==3.2.0", "pytest>=8.1.1", "pre-commit==3.6.2"] +dev = ["pep8-naming==0.13.0", "PyGithub==2.2.0", "flake8==7.0.0", "pyflakes==3.2.0", "pytest>=8.1.1", "nodeenv==1.8.0", "pre-commit==3.6.2"] [project.urls] "Homepage" = "https://github.com/elastic/detection-rules"