Skip to content

Commit 537f8b0

Browse files
Pin setuptools to fix docs build error
ModuleNotFoundError: No module named 'pkg_resources' with later setuptools
1 parent 6f04c22 commit 537f8b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/scripts/create_virtualenv.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ${SYSTEM_PYTHON} -m venv "${VENV_DIR}"
1515
PYTHON=${VENV_DIR}/bin/python
1616
${PYTHON} -VV
1717
${PYTHON} -m site
18-
${PYTHON} -m pip install -U pip setuptools
18+
19+
# ModuleNotFoundError: No module named 'pkg_resources' with later setuptools
20+
${PYTHON} -m pip install -U pip setuptools==80.3.1
21+
1922
echo Dumping pre-installed packages
2023
${PYTHON} -m pip freeze

0 commit comments

Comments
 (0)