* Returned behavior of searchwindowsize to that in 4.3 and earlier
* Fixed a bug truncating before attribute after a timeout
* Fixed a bug where a search could be less than searchwindowsize
if it was increased between calls
* Minor test cleanups to improve portability
* Disable chaining of timeout and EOF exceptions
* Several doc updates.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=51
* The :meth:`.pxssh.login` method now no longer requires a username if an ssh config is provided and will raise an error if neither are provided. (:ghpull:`562`).
* The :meth:`.pxssh.login` method now supports providing your own ssh command via the cmd parameter. (:ghpull:`528`) (:ghpull:`563`).
* :class:`.pxssh` now supports the use_poll parameter which is passed into :meth:`.pexpect.spawn` (:ghpull:`542`).
* Minor bug fix with ssh_config. (:ghpull:`498`).
* :meth:`.replwrap.run_command` now has async support via an async_ parameter. (:ghpull:`501`).
* :meth:`.pexpect.spawn` will now read additional bytes if able up to a buffer limit. (:ghpull:`304`).
- Drop merged patch fix-test.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=43
- 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