Skip to content

Replace deprecated pysnmp-lextudio dependency#35

Open
NeoMod wants to merge 1 commit into
speedarr:mainfrom
NeoMod:fix-pysnmp-deprecated-package
Open

Replace deprecated pysnmp-lextudio dependency#35
NeoMod wants to merge 1 commit into
speedarr:mainfrom
NeoMod:fix-pysnmp-deprecated-package

Conversation

@NeoMod
Copy link
Copy Markdown
Contributor

@NeoMod NeoMod commented May 14, 2026

Summary

Replaces the deprecated pysnmp-lextudio dependency with the official pysnmp package.

Speedarr currently emits this warning on startup:

/app/app/services/snmp_monitor.py:8: RuntimeWarning: The 'pysnmp-lextudio' package is deprecated and will be removed in future releases. Please use 'pysnmp' instead.
  from pysnmp.hlapi.asyncio import (

This PR updates the dependency from:

pysnmp-lextudio==6.3.0

to:

pysnmp==6.2.6

No SNMP code changes were required. The existing import path in backend/app/services/snmp_monitor.py remains compatible with pysnmp==6.2.6.

Why pysnmp==6.2.6

The deprecated package guidance recommends migrating back to the official pysnmp package while staying in the >=6.2.0,<7.0.0 range.

pysnmp 7.x includes breaking API changes, so this PR uses 6.2.6 to preserve current Speedarr behavior and avoid a larger SNMP refactor.

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