Adopt cloudshell-snmp 6.0 / cloudshell-snmp-autoload 3.0 (pysnmp 7) — Python 3.12/3.13 - #143
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.0→cloudshell-snmp>=6.0,<7.0;cloudshell-snmp-autoload>=2.0.1,<3.0→cloudshell-snmp-autoload>=3.0,<4.0version.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)package-tox-py-37-39.yml→package-tox-py-39.yml; tox envlistpy{37,39}→py39;sdist --format zip→ plainsdistNo 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
CiscoSnmpAutoloadFlow._autoload_flow→CiscoGenericSNMPAutoload.discover()against a snmpsim recording of a Cisco Catalyst (communityrec001). Discovered: Vendor=Cisco, Model=Catalyst4948e10ge, OS 12.2(54)SG1, sysNamesw9003-if-12-6.cisco.com; structure: 1 chassis, 1 module, 1 power port, 52 ports.🤖 Generated with Claude Code