From 2a98cd933890d62c9fe620f7369b29d7e4b40c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Mon, 3 Nov 2025 23:44:23 +0530 Subject: [PATCH] Fix import order for Windows PowerShell support (#11557) --- openhands/runtime/impl/cli/cli_runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/runtime/impl/cli/cli_runtime.py b/openhands/runtime/impl/cli/cli_runtime.py index acac7441f3..ae4752c2a8 100644 --- a/openhands/runtime/impl/cli/cli_runtime.py +++ b/openhands/runtime/impl/cli/cli_runtime.py @@ -57,8 +57,8 @@ if TYPE_CHECKING: # Import Windows PowerShell support if on Windows if sys.platform == 'win32': try: - from openhands.runtime.utils.windows_bash import WindowsPowershellSession from openhands.runtime.utils.windows_exceptions import DotNetMissingError + from openhands.runtime.utils.windows_bash import WindowsPowershellSession # isort: skip except (ImportError, DotNetMissingError) as err: # Print a user-friendly error message without stack trace friendly_message = """