bandit icon indicating copy to clipboard operation
bandit copied to clipboard

pysnmp under new ownership with breaking compatilbility

Open ericwb opened this issue 6 months ago • 0 comments

Describe the bug

The pysnmp module has a new organization owning the package. https://pypi.org/project/pysnmp/.

See information on the history here: https://docs.lextudio.com/snmp/history

It appears the API has also changed significantly with this change of owner. This breaks the Bandit checks on the old package signature.

Reproduction steps

Can no longer import CommunityData as before.


>>> from pysnmp.hlapi import CommunityData
Traceback (most recent call last):
  File "<python-input-8>", line 1, in <module>
    from pysnmp.hlapi import CommunityData

Expected behavior

Should import as before.

Bandit version

1.8.3 (Default)

Python version

3.13 (Default)

Additional context

https://docs.lextudio.com/pysnmp/v7.1/upgrade https://github.com/lextudio/pysnmp/blob/main/SECURITY.md

ericwb avatar May 05 '25 23:05 ericwb