- Fix typo and make sure the tests will pass
- specfile:
* enable tests
- update to version 4.5.0:
* spawn and fdspawn now have a use_poll parameter. If this is True,
they will use select.poll() instead of select.select(). poll()
allows file descriptors above 1024, but it must be explicitly
enabled due to compatibility concerns (PR #474).
* The 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 (PR #468).
+ login() now allows for setting up SSH tunnels to be requested
once logged in to the remote server. This option is ssh_tunnels
(PR #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 (PR
#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 (PR #468).
+ If ssh_key=True is passed, the SSH client forces forwarding the
authentication agent to the remote server instead of providing a
key (PR #473).
OBS-URL: https://build.opensuse.org/request/show/598545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=24
- specfile:
* enable tests
- update to version 4.5.0:
* spawn and fdspawn now have a use_poll parameter. If this is True,
they will use select.poll() instead of select.select(). poll()
allows file descriptors above 1024, but it must be explicitly
enabled due to compatibility concerns (PR #474).
* The 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 (PR #468).
+ login() now allows for setting up SSH tunnels to be requested
once logged in to the remote server. This option is ssh_tunnels
(PR #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 (PR
#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 (PR #468).
+ If ssh_key=True is passed, the SSH client forces forwarding the
authentication agent to the remote server instead of providing a
key (PR #473).
OBS-URL: https://build.opensuse.org/request/show/596559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=33
- update to 3.1:
* Fix an issue that prevented importing pexpect on Python 3 when ``sys.stdout``
was reassigned
* Improve prompt synchronisation in :mod:`~pexpect.pxssh`
* Fix pickling exception instances
* Fix handling exceptions from :func:`select.select` on Python 3
* A new :ref:`unicode API <unicode>` was introduced.
* Python 3 is now supported, using a single codebase.
* Pexpect now requires at least Python 2.6 or 3.2.
* The modules other than pexpect, such as :mod:`pexpect.fdpexpect` and
* Ignoring ``SIGHUP`` is now optional
OBS-URL: https://build.opensuse.org/request/show/228876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=16