]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] Pin `setuptools==81` to avoid `pkg_resources` removal (#144781)
authorRafael Fontenelle <rffontenelle@users.noreply.github.com>
Mon, 2 Mar 2026 22:48:47 +0000 (19:48 -0300)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 22:48:47 +0000 (22:48 +0000)
Doc/Makefile

index 9e72b31ab492a250547d83da08ecbf0d1283c539..ac8f909a1f9143f060857f5c017a2bdfebfe2a89 100644 (file)
@@ -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