upgrade pty version to fix Unsupported fd type: TTY