Upstream issue has been resolved and released on Python versions supported by pip: https://foss.heptapod.net/pypy/pypy/-/issues/2506