Skip to content

Fix Python 3.13 telnetlib import - #105

Draft
Mirochill wants to merge 1 commit into
ztgrace:masterfrom
Mirochill:fix-104-telnetlib-py313
Draft

Mirochill wants to merge 1 commit into
ztgrace:masterfrom
Mirochill:fix-104-telnetlib-py313

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • make the telnetlib import in the Telnet scanner optional so missing stdlib telnetlib does not break module import at startup
  • add standard-telnetlib for Python 3.13+ installs so the stdlib-compatible telnetlib module is available from requirements
  • report a clear Telnet scanner error if the scanner is used without a telnetlib provider installed

Fixes #104.

Validation

  • Not run locally
  • git diff --check
  • rg -n "import telnetlib|from telnetlib|telnetlib\\.|standard-telnetlib" changeme requirements.txt

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.

No module named 'telnetlib' on fresh install of 1.2.3 with Python 3.14.3

1 participant