routersploit icon indicating copy to clipboard operation
routersploit copied to clipboard

Dependency pysnmp is incompatible with Python 3.12

Open jelly opened this issue 1 year ago • 2 comments

Steps to Reproduce (for bugs)

  1. Run tests under Python 3.12

Your Environment

  • RouterSploit Version used: 3.4.2
  • Operating System and version: Arch
  • Python Version: ( python3 --version) 3.12
  • Python Environment: ( python3 -m pip freeze )

Current Behavior

routersploit depends on pysnmp, but pysnmp still uses asyncore which has been removed in Python 3.12 and there seems to be no activity in the pysnmp repository for quite some time.

Expected Behavior

Switch to a different library or drop the functionality? Up to the maintainer.

jelly avatar Apr 15 '24 15:04 jelly

@jelly New pysnmp upstream lextudio/pysnmp which forked from etingof/pysnmp.

https://github.com/etingof/pysnmp/issues/429 contains more details.

cybaol avatar Apr 16 '24 11:04 cybaol

Yes, I think we will switch our packaging over to this version, thanks!

jelly avatar Apr 16 '24 11:04 jelly