The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(windows): use pywinpty 3.0.5 on x64 and arm64
ethernetbe190993b279
diff --git a/pyproject.toml b/pyproject.tomlindex 46872c7cf41..97895a361b5 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -138,10 +138,9 @@ dependencies = [# without an explicit dependency here (and in the `web` extra below)."python-multipart>=0.0.9,<1","ptyprocess>=0.7.0,<1; sys_platform != 'win32'",- # pywinpty ships win_amd64 wheels only (winpty has no ARM64 support), so- # win32-arm64 would build the Rust sdist from source and fail — same- # exclusion faster-whisper carries for its missing win_arm64 wheel.- "pywinpty>=2.0.0,<3; sys_platform == 'win32' and platform_machine != 'ARM64'",+ # Python 3.14 requires pywinpty 3.x. Version 3.0.5 includes the native+ # binaries missing from 3.0.4 wheels on both Windows architectures.+ "pywinpty>=3.0.5,<4; sys_platform == 'win32'",# Desktop SSH's Windows remote runtime (hermes_cli/windows_ssh_runtime.py)# imports win32security/win32file/etc. directly — declare pywin32 rather than# relying on the concurrent-log-handler → portalocker transitive chain.diff --git a/uv.lock b/uv.lockindex 591b4fd82c6..b4204ae37ba 100644--- a/uv.lock+++ b/uv.lock@@ -1578,7 +1578,7 @@ dependencies = [{ name = "python-dotenv" },{ name = "python-multipart" },{ name = "pywin32", marker = "sys_platform == 'win32'" },- { name = "pywinpty", marker = "platform_machine != 'ARM64' and sys_platform == 'win32'" },+ { name = "pywinpty", marker = "sys_platform == 'win32'" },{ name = "pyyaml" },{ name = "requests" },{ name = "rich" },@@ -1948,7 +1948,7 @@ requires-dist = [{ name = "python-telegram-bot", extras = ["webhooks"], marker = "extra == 'telegram'", specifier = "==22.8" },{ name = "python-telegram-bot", extras = ["webhooks"], marker = "extra == 'termux'", specifier = "==22.8" },{ name = "pywin32", marker = "sys_platform == 'win32'", specifier = ">=306,<312" },- { name = "pywinpty", marker = "platform_machine != 'ARM64' and sys_platform == 'win32'", specifier = ">=2.0.0,<3" },+ { name = "pywinpty", marker = "sys_platform == 'win32'", specifier = ">=3.0.5,<4" },{ name = "pyyaml", specifier = "==6.0.3" },{ name = "qrcode", marker = "extra == 'dingtalk'", specifier = "==7.4.2" },{ name = "qrcode", marker = "extra == 'feishu'", specifier = "==7.4.2" },@@ -3484,9 +3484,15 @@ wheels = [[[package]]name = "pywinpty"-version = "2.0.15"+version = "3.0.5"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/2d/7c/917f9c4681bb8d34bfbe0b79d36bbcd902651aeab48790df3d30ba0202fb/pywinpty-2.0.15.tar.gz", hash = "sha256:312cf39153a8736c617d45ce8b6ad6cd2107de121df91c455b10ce6bba7a39b2", size = 29017, upload-time = "2025-02-03T21:53:23.265Z" }+sdist = { url = "https://files.pythonhosted.org/packages/a9/ef/2d27f30c59a67be7025b2d7858c8c2d282b74d66544b2384730b82de74fd/pywinpty-3.0.5.tar.gz", hash = "sha256:61db0db063de9865adbea66db294628f8577f608d9764a4c7d3384eeacc4e81b", size = 16223484, upload-time = "2026-06-11T00:11:58.93Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e9/23/f3cd1b1e5fc56517f54452c49f92049e7dd9ffc8a63de22a495581f50d04/pywinpty-3.0.5-cp314-cp314-win_amd64.whl", hash = "sha256:03bb3c16d691d9242267201830bcd0e64a9b663170e9042bc84b210da9de15ac", size = 2090663, upload-time = "2026-06-10T23:43:59.845Z" },+ { url = "https://files.pythonhosted.org/packages/9d/dd/96d6cbfc6d9ddab5c1c2f92c26545ae8997446a2ba7ee2024cd43c81f49b/pywinpty-3.0.5-cp314-cp314-win_arm64.whl", hash = "sha256:89c5c6ef08997a3b4b277b214a35fe15cab4dd6d119f0140aa71df5b1168fdbc", size = 815700, upload-time = "2026-06-10T23:40:50.001Z" },+ { url = "https://files.pythonhosted.org/packages/30/36/d98087bce0acaa4cce7f196103cfa7be3f63ce65f52473bb3e38784ae5d9/pywinpty-3.0.5-cp314-cp314t-win_amd64.whl", hash = "sha256:7b566165e0c5fdd6abe167a5ac8b954be6a843eb55a85946576d6bc1dea03d6d", size = 2090093, upload-time = "2026-06-10T23:40:58.933Z" },+ { url = "https://files.pythonhosted.org/packages/57/fd/fe2b0db922ba052ce3976a08f3fc05d0c05047c8b4ebb6102e832b8ef563/pywinpty-3.0.5-cp314-cp314t-win_arm64.whl", hash = "sha256:24366280a8aa677323da87bec729cb3ea3b35367386cece0978bdc6e4695c690", size = 814517, upload-time = "2026-06-10T23:42:34.946Z" },+][[package]]name = "pyyaml"