Rationale:
Python releases 3.13t and 3.14t introduce thread-free builds without Global Interpreter Lock (GIL). To ensure compatibility with these new releases, it is necessary to adapt the codebase and dependencies (e.g., mwparserfromhell) so that they function correctly in environments without native thread support. This will allow the project to remain forward-compatible and prevent runtime errors on thread-free Python installations.
See also: https://github.com/earwig/mwparserfromhell/issues/343