Skip to content

Fix Python 3.13 compatibility (cgi and telnetlib removal with except for previous python versions)#182

Open
ukn19 wants to merge 1 commit intoinfinition:mainfrom
ukn19:fix-python313-stdlib-removals
Open

Fix Python 3.13 compatibility (cgi and telnetlib removal with except for previous python versions)#182
ukn19 wants to merge 1 commit intoinfinition:mainfrom
ukn19:fix-python313-stdlib-removals

Conversation

@ukn19
Copy link
Copy Markdown

@ukn19 ukn19 commented Apr 25, 2026

Python 3.13 removed several deprecated standard library modules such as cgi and telnetlib.

This patch restores compatibility by:

  • replacing cgi with legacy-cgi
  • replacing telnetlib with telnetlib3
  • adding required dependencies to requirements.txt

Tested on:
Raspberry Pi Zero W
Raspberry Pi OS (Debian 13)
Python 3.13

@ukn19 ukn19 force-pushed the fix-python313-stdlib-removals branch from f665de3 to 659c7a8 Compare April 25, 2026 21:21
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