From 9d019dcf26ce0d39581f577742640666355c2d07 Mon Sep 17 00:00:00 2001 From: shashank-elastic <91139415+shashank-elastic@users.noreply.github.com> Date: Wed, 29 May 2024 18:52:34 +0530 Subject: [PATCH] Fix nodeenv version dependancy (#3715) --- .github/workflows/backport.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"