pytest-workaround-12888 adds an import readline .pth file to trigger early import of readline this works around issue 12888 installation pip install pytest-workaround-12888