From ffc03095f350cea3ed9d4773b033599cdf4d1767 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 24 Aug 2022 20:44:29 +0200 Subject: [PATCH] chore: setuptools enable legacy-editable --- tools/python.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/python.mk b/tools/python.mk index 0e827d7d7..824e4d6e0 100644 --- a/tools/python.mk +++ b/tools/python.mk @@ -27,11 +27,13 @@ $(VENV): source $(VENV)/bin/activate $(MAKE) install +# SETUPTOOLS_ENABLE_FEATURES=legacy-editable is required to work +# around https://github.com/PyCQA/pylint/issues/7306 install: $(VENV) source $(VENV)/bin/activate pip install --upgrade pip setuptools wheel pip install $(SHARED_DEV_REQUIREMENTS) - [[ -z "$(PIP_INSTALL)" ]] || pip install $(PIP_INSTALL) + [[ -z "$(PIP_INSTALL)" ]] || SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install $(PIP_INSTALL) .PHONY: .format .format: $(VENV)