Skip to content

Commit 4893428

Browse files
committed
Pin setuptools to 72.2.0
In setuptools v74, the `distutils.msvc9compiler` module has been removed. However, `cffi` still relies on it. Ensure to install `setuptools` v72 to ensure this still works.
1 parent e073fcf commit 4893428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/PyCreateVirtualEnvironment.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function(CreateVirtualEnvironment TARGET)
116116
add_custom_command(
117117
OUTPUT ${OUTPUT_FILE}
118118
DEPENDS ${CFG_FILE} ${ARG_SOURCES} ${ARG_REQUIREMENTS_TXT}
119-
COMMAND ${PIP_INSTALL} --upgrade pip setuptools build
119+
COMMAND ${PIP_INSTALL} --upgrade pip setuptools==72.2.0 build
120120
COMMAND ${DEPS_INSTALL}
121121
COMMAND ${PIP} freeze > "${OUTPUT_FILE}"
122122
COMMENT "${ARG_ENV_NAME}: installing requirements...")

0 commit comments

Comments
 (0)