#1264·bandit

pysnmp under new ownership with breaking compatilbility

Author: ericwbCreated May 5, 2025Updated Jul 28, 2026
Labelsbug

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

bash
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