From ab72711bbdab6d6c57922c529bbcd9bb2d924da8 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Fri, 13 Feb 2026 09:57:04 -0300 Subject: [PATCH 1/2] Pin setuptools<=81 to avoid pkg_resources removal --- Doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/Makefile b/Doc/Makefile index 9e72b31ab492a2..5a6f744260d7b6 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -150,7 +150,7 @@ venv: echo "To recreate it, remove it first with \`make clean-venv'."; \ else \ $(PYTHON) -m venv $(VENVDIR); \ - $(VENVDIR)/bin/python3 -m pip install -U pip setuptools; \ + $(VENVDIR)/bin/python3 -m pip install -U pip setuptools<=81; \ $(VENVDIR)/bin/python3 -m pip install -r requirements.txt; \ echo "The venv has been created in the $(VENVDIR) directory"; \ fi From 4a19b2a2d896fad8bb8420748309a1aad7786249 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Fri, 13 Feb 2026 12:15:01 -0300 Subject: [PATCH 2/2] Pin to setuptools==81 actually --- Doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/Makefile b/Doc/Makefile index 5a6f744260d7b6..ac8f909a1f9143 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -150,7 +150,7 @@ venv: echo "To recreate it, remove it first with \`make clean-venv'."; \ else \ $(PYTHON) -m venv $(VENVDIR); \ - $(VENVDIR)/bin/python3 -m pip install -U pip setuptools<=81; \ + $(VENVDIR)/bin/python3 -m pip install -U pip setuptools==81; \ $(VENVDIR)/bin/python3 -m pip install -r requirements.txt; \ echo "The venv has been created in the $(VENVDIR) directory"; \ fi