Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pexpect to 4.5.0 #2025

Merged
merged 1 commit into from
Apr 14, 2018
Merged

Update pexpect to 4.5.0 #2025

merged 1 commit into from
Apr 14, 2018

Conversation

pyup-bot
Copy link
Collaborator

This PR updates pexpect from 4.4.0 to 4.5.0.

Changelog

4.5

* :class:`~.spawn` and :class:`~.fdspawn` now have a ``use_poll`` parameter.
If this is True, they will use :func:`select.poll` instead of :func:`select.select`.
``poll()`` allows file descriptors above 1024, but it must be explicitly
enabled due to compatibility concerns (:ghpull:`474`).
* The :meth:`.pxssh.login` method has several new and changed options:

* The option ``password_regex`` allows changing
 the password prompt regex, for servers that include ``password:`` in a banner
 before reaching a prompt (:ghpull:`468`).
* :meth:`~.pxssh.login` now allows for setting up SSH tunnels to be requested once
 logged in to the remote server. This option is ``ssh_tunnels`` (:ghpull:`473`).
 The structure should be like this::

       {
         'local': ['2424:localhost:22'],    Local SSH tunnels
         'remote': ['2525:localhost:22'],   Remote SSH tunnels
         'dynamic': [8888],                 Dynamic/SOCKS tunnels
       }

* The option ``spawn_local_ssh=False`` allows subsequent logins from the
 remote session and treats the session as if it was local (:ghpull:`472`).
* Setting ``sync_original_prompt=False`` will prevent changing the prompt to
 something unique, in case the remote server is sensitive to new lines at login
 (:ghpull:`468`).
* If ``ssh_key=True`` is passed, the SSH client forces forwarding the authentication
 agent to the remote server instead of providing a key (:ghpull:`473`).
Links

@ivan-c ivan-c merged commit 43c7c4d into develop Apr 14, 2018
@ivan-c ivan-c deleted the pyup-update-pexpect-4.4.0-to-4.5.0 branch April 14, 2018 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants