Skip to content

Adopt cloudshell-snmp 6.0 / cloudshell-snmp-autoload 3.0 (pysnmp 7) — Python 3.12/3.13 - #143

Merged
nahumtimerman merged 1 commit into
masterfrom
feature/cloudshell-snmp-6
Sep 6, 2026
Merged

nahumtimerman merged 1 commit into
masterfrom
feature/cloudshell-snmp-6

Conversation

@nahumtimerman

Copy link
Copy Markdown
Contributor

What

Adapts this package to cloudshell-snmp 6.0.0 and cloudshell-snmp-autoload 3.0.0 (pysnmp 7, asyncio-based), enabling Python 3.12/3.13.

Changes

  • requirements.txt: cloudshell-snmp~=5.0cloudshell-snmp>=6.0,<7.0; cloudshell-snmp-autoload>=2.0.1,<3.0cloudshell-snmp-autoload>=3.0,<4.0
  • version.txt: 7.0.1 → 7.1.0 (minor bump — adapter-level change)
  • setup.py: python_requires>=3.9, classifiers 3.9–3.13 (was ~=3.7)
  • CI: reusable workflow package-tox-py-37-39.ymlpackage-tox-py-39.yml; tox envlist py{37,39}py39; sdist --format zip → plain sdist

No source-code changes were needed — the public APIs of cloudshell-snmp 6.0 / cloudshell-snmp-autoload 3.0 are drop-in compatible with this package's usage (GenericSNMPAutoload, SnmpService, autoload table services).

Evidence

  • Unit tests: 74/74 passed on Python 3.9 (pysnmp 7.1.21) and Python 3.13 (pysnmp 7.1.29), zero test modifications.
  • Live smoke (py3.13): ran the real CiscoSnmpAutoloadFlow._autoload_flowCiscoGenericSNMPAutoload.discover() against a snmpsim recording of a Cisco Catalyst (community rec001). Discovered: Vendor=Cisco, Model=Catalyst4948e10ge, OS 12.2(54)SG1, sysName sw9003-if-12-6.cisco.com; structure: 1 chassis, 1 module, 1 power port, 52 ports.
  • pre-commit (pyupgrade/isort/black/flake8): passed on all touched files.
  • Upstream libraries are backed by a 143-real-device parity gate against the 5.x/2.x implementations.

🤖 Generated with Claude Code

- requirements: cloudshell-snmp>=6.0,<7.0, cloudshell-snmp-autoload>=3.0,<4.0
- version 7.0.1 -> 7.1.0
- setup.py: python_requires>=3.9, classifiers 3.9-3.13
- CI: reusable workflow package-tox-py-39, tox envlist py39, plain sdist

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nahumtimerman
nahumtimerman merged commit abd2dc6 into master Sep 6, 2026
4 of 5 checks passed
@nahumtimerman
nahumtimerman deleted the feature/cloudshell-snmp-6 branch September 6, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant