From ec6040efdb3bfeea3b9da7d6122fa7cefed07553 Mon Sep 17 00:00:00 2001 From: "QUALISYSTEMS\\nahum-t" Date: Mon, 7 Sep 2026 10:58:00 +0300 Subject: [PATCH] Allow cloudshell-cli 6.x so telnet works on Python 3.13 (v6.1.1) cloudshell-cli 5.x imports telnetlib unguarded, which is gone in 3.13, so telnet sessions failed at import time even though the package installed cleanly. cli 6.0.0 vendors telnetlib and is otherwise API-identical to 5.0.2, so the pin is widened rather than forced. Juniper additionally caps pydantic to ~=1.10 (matching PanOS): via cloudshell-shell-connectivity-flow~=4.0's pydantic<2.5, the resolver would pick pydantic 2.4 -> pydantic-core 2.10.1, which has no cp313 wheel and fails to build. Co-Authored-By: Claude Fable 5 --- requirements.txt | 3 ++- version.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1ac0189..31c0263 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,9 +2,10 @@ cloudshell-shell-core~=6.0 cloudshell-shell-standards~=2.0 cloudshell-shell-flows~=3.0 cloudshell-shell-connectivity-flow~=4.0 -cloudshell-cli~=5.0 +cloudshell-cli>=5.0,<7 cloudshell-snmp>=6.0,<7.0 cloudshell-snmp-autoload>=3.0,<4.0 attrs>=22,<24 xmltodict~=0.12 typing-extensions>=4.4 +pydantic~=1.10 diff --git a/version.txt b/version.txt index 358e78e..f3b5af3 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -6.1.0 \ No newline at end of file +6.1.1