-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
deprecationdeprectated feature to be disabled or removeddeprectated feature to be disabled or removed
Description
Describe the bug
The cgi module is deprecated in Python 3.13+, and googletrans depends on httpx, which internally relies on cgi. This causes compatibility issues with newer Python versions. We should investigate possible solutions:
- Switch to a compatible version of httpx/googletrans
- Replace googletrans with an alternative translation library
- Remove translation functionality entirely if it’s non-essential
Have you been able to reproduce the bug?
Switching to Python 3.13+ should cause the bug to happen. If you're under 3.13, deprecation warning can be enabled by adding the following in bot/grace.py :
import warnings
warnings.filterwarnings("always", category=DeprecationWarning)Metadata
Metadata
Assignees
Labels
deprecationdeprectated feature to be disabled or removeddeprectated feature to be disabled or removed
