Control: reassign -1 src:mercurial Control: severity -1 important
Python 3.12.5 released with that patch, so I assume upstream will not fix that.
The Debian bug contains a proposal for a less invasive fix in mercurial, therefore re-assigning and keeping the bug open