From a2e574d6b9bf73d4944b168038318a381e9efe0b Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 8 Feb 2026 12:11:09 -0500 Subject: [PATCH] Install setuptools before editable install, not just in venv target The venv target is a no-op on cached CI runners where env/bin/activate already exists. Move setuptools install into install-source-dev-and-test and install-source-prod so it runs every time, regardless of venv cache. Co-Authored-By: Claude Opus 4.6 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a8410b0..6e938bb 100644 --- a/Makefile +++ b/Makefile @@ -65,12 +65,16 @@ install: install-core install-dev install-themes # Install remarkbox from source (editable mode) plus dev, test, and themes install-source-dev-and-test: venv install-themes + @echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..." + $(PIP) install setuptools @echo "Installing remarkbox from source (editable mode)..." $(PIP) install --editable . $(PIP) install --upgrade -r requirements-dev.txt $(PIP) install --upgrade -r requirements-test.txt install-source-prod: venv install-themes + @echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..." + $(PIP) install setuptools @echo "Deleting tests from source code for production..." rm -rf remarkbox/tests @echo "Installing remarkbox from source (in non-editable mode)..."