Reproducer for issue identified in pypa/pip#11368 The mitigation for the issue is demonstrated in #1.