Skip to content

Commit 78c85f4

Browse files
committed
remove duplcate python check
1 parent 526076d commit 78c85f4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

builder/penv_setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -430,15 +430,6 @@ def _setup_python_environment_core(env, platform, platformio_dir, should_install
430430
Returns:
431431
tuple[str, str]: (Path to penv Python executable, Path to esptool script)
432432
"""
433-
# Check Python version requirement
434-
if sys.version_info < (3, 10):
435-
sys.stderr.write(
436-
f"Error: Python 3.10 or higher is required. "
437-
f"Current version: {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}\n"
438-
f"Please update your Python installation.\n"
439-
)
440-
sys.exit(1)
441-
442433
penv_dir = str(Path(platformio_dir) / "penv")
443434

444435
# Setup virtual environment if needed

0 commit comments

Comments
 (0)