From 35679c27c447072dbe9fe1712f2177c6b258b781 Mon Sep 17 00:00:00 2001 From: shashank-elastic <91139415+shashank-elastic@users.noreply.github.com> Date: Wed, 16 Oct 2024 20:09:23 +0530 Subject: [PATCH] Add setuptools as project dependency (#4160) (cherry picked from commit b1e91ddb14f05f688adc54095b0be8218d134cd4) --- Makefile | 1 - pyproject.toml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc412d6df07..097c8a8a322 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,6 @@ PIP := $(VENV_BIN)/pip all: release $(VENV): - python3.12 -m pip install --upgrade pip setuptools python3.12 -m venv $(VENV) .PHONY: clean diff --git a/pyproject.toml b/pyproject.toml index aa1ebcc7348..79d61bc4164 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,8 @@ dependencies = [ "XlsxWriter~=3.2.0", "semver==3.0.2", "detection-rules-kql @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kql", - "detection-rules-kibana @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kibana" + "detection-rules-kibana @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kibana", + "setuptools==75.2.0" ] [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", "nodeenv==1.8.0", "pre-commit==3.6.2"]