Skip to content

Commit 9bad821

Browse files
Set min version of setuptools
1 parent e8b95ba commit 9bad821

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/cmake/mbed_python_interpreter.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ if(MBED_CREATE_PYTHON_VENV)
5858
elseif(NOT ("${Python3_EXECUTABLE}" MATCHES "${MBED_VENV_LOCATION}"))
5959
# Alternately if we think we have the venv but FindPython didn't use it, that likely means it's
6060
# missing or corrupted and we need to recreate it
61+
message(STATUS "Python venv deleted or unusable. Recreating using system Python...")
6162
set(NEED_TO_CREATE_VENV TRUE)
6263
set(NEED_TO_INSTALL_PACKAGES TRUE)
6364
elseif("${MBED_PYPROJECT_TOML_LOCATION}" IS_NEWER_THAN "${VENV_STAMP_FILE}")

tools/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"appdirs",
3030
"pyjson5>=1.6",
3131
"humanize>=4.9.0",
32-
"setuptools",
32+
"setuptools>=64.0",
3333

3434
# Needed for downloading CMSIS MCU descriptions
3535
"cmsis-pack-manager>=0.5.0",

0 commit comments

Comments
 (0)