Skip to content

Commit

Permalink
Pin setuptools to 72.2.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
olsen232 committed Sep 5, 2024
1 parent e073fcf commit 4893428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/PyCreateVirtualEnvironment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function(CreateVirtualEnvironment TARGET)
add_custom_command(
OUTPUT ${OUTPUT_FILE}
DEPENDS ${CFG_FILE} ${ARG_SOURCES} ${ARG_REQUIREMENTS_TXT}
COMMAND ${PIP_INSTALL} --upgrade pip setuptools build
COMMAND ${PIP_INSTALL} --upgrade pip setuptools==72.2.0 build
COMMAND ${DEPS_INSTALL}
COMMAND ${PIP} freeze > "${OUTPUT_FILE}"
COMMENT "${ARG_ENV_NAME}: installing requirements...")
Expand Down

0 comments on commit 4893428

Please sign in to comment.