From 2bf586595f8e8661846e91b1dd266a0160342720 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 8 Feb 2026 12:11:58 -0500 Subject: [PATCH] Install setuptools before editable install in Makefile Cached CI venvs skip dependency resolution on editable installs. Explicitly install setuptools first in both dev and prod targets. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 961b821..48156df 100644 --- a/Makefile +++ b/Makefile @@ -123,6 +123,8 @@ install: install-core install-dev # Install from source (editable mode) for development and testing. install-source-dev-and-test: venv + @echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..." + $(PIP) install setuptools @echo "Installing make_post_sell from source (editable mode) for development..." $(PIP) install --editable . $(PIP) install --upgrade -r requirements-dev.txt @@ -130,6 +132,8 @@ install-source-dev-and-test: venv # Install from source for production (non‑editable). install-source-prod: venv + @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 make_post_sell/tests @echo "Installing make_post_sell from source for production (non‑editable)..."