Hello community,
here is the log from the commit of package python-pexpect for
openSUSE:Leap:15.2 checked in at 2020-04-28 20:09:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pexpect (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pexpect.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect"
Tue Apr 28 20:09:28 2020 rev:22 rq:795785 version:4.8.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pexpect/python-pexpect.changes
2020-01-15 15:51:32.515532511 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pexpect.new.2738/python-pexpect.changes
2020-04-28 20:09:28.644325004 +0200
@@ -1,0 +2,117 @@
+Fri Feb 14 12:44:51 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- update to 4.8.0
+ * 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.
+
+-------------------------------------------------------------------
+Thu Feb 6 10:09:58 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Disable test test_pager_as_cat as it pulls additional deps
+
+-------------------------------------------------------------------
+Wed Sep 11 11:50:01 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Disable test_large_stdout_stream as it randomly fails
+
+-------------------------------------------------------------------
+Fri Jul 19 10:15:12 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add missing builddep on setuptools
+
+-------------------------------------------------------------------
+Sat May 25 09:06:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.7.0:
+ * 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
+
+-------------------------------------------------------------------
+Tue Dec 4 12:51:27 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Tue Sep 4 13:35:41 UTC 2018 - [email protected]
+
+- Add fix-test.patch to make tests pass with SLE-12-SP4's openssl (bsc#1107105)
+
+-------------------------------------------------------------------
+Sun Jun 24 15:49:37 UTC 2018 - [email protected]
+
+- update to version 4.6.0:
+ * The pxssh.login() method now supports an ssh_config parameter,
+ which can be used to specify a file path to an SSH config file (PR
+ #490).
+ * Improved compatability for the crlf parameter of PopenSpawn (PR
+ #493)
+ * Fixed an issue in read timeout handling when using spawn and
+ fdspawn with the use_poll parameter (PR #492).
+
+-------------------------------------------------------------------
+Thu Apr 19 11:58:18 UTC 2018 - [email protected]
+
+- Fix typo and make sure the tests will pass
+
+-------------------------------------------------------------------
+Sat Apr 14 17:14:36 UTC 2018 - [email protected]
+
+- 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).
+
+-------------------------------------------------------------------
+Sat Feb 10 17:29:45 UTC 2018 - [email protected]
+
+- specfile:
+ * update copyright year
+
+- update to version 4.4.0:
+ * PopenSpawn now has a preexec_fn parameter, like spawn and
+ subprocess.Popen, for a function to be called in the child process
+ before executing the new command. Like in Popen, this works only
+ in POSIX, and can cause issues if your application also uses
+ threads (PR #460).
+ * Significant performance improvements when processing large amounts
+ of data (PR #464).
+ * Ensure that spawn.closed gets set by close(), and improve an
+ example for passing SIGWINCH through to a child process (PR #466).
+
+-------------------------------------------------------------------
Old:
----
pexpect-4.3.1.tar.gz
New:
----
pexpect-4.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pexpect.spec ++++++
--- /var/tmp/diff_new_pack.aY4Xgz/_old 2020-04-28 20:09:28.968325677 +0200
+++ /var/tmp/diff_new_pack.aY4Xgz/_new 2020-04-28 20:09:28.968325677 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pexpect
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,30 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%bcond_with tests
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pexpect
-Version: 4.3.1
+Version: 4.8.0
Release: 0
Summary: Pure Python Expect-like module
License: ISC
Group: Development/Libraries/Python
-Url: http://pexpect.readthedocs.org/en/latest/
+URL: http://pexpect.readthedocs.org/en/latest/
Source:
https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module ptyprocess}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools}
+# For test command calls
+# For bash validation
+BuildRequires: bash
BuildRequires: fdupes
+# For man validation
+BuildRequires: man
+BuildRequires: openssl
BuildRequires: python-rpm-macros
-%if %{with tests}
-BuildRequires: %{python_module pytest}
-%endif
Requires: python-ptyprocess
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -44,11 +45,11 @@
controlling them; and responding to expected patterns in their output.
%prep
-%setup -n pexpect-%{version}
+%setup -q -n pexpect-%{version}
# Fix wrong-script-interpreter
-find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {}
\;
-find examples -type f -name "*.cgi" -exec sed -i "s|##!/usr/bin/env
python|##!/usr/bin/python|" {} \;
+find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||"
{} \;
+find examples -type f -name "*.cgi" -exec sed -i "s|##!%{_bindir}/env
python|##!%{_bindir}/python|" {} \;
%build
%python_build
@@ -57,15 +58,15 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with tests}
%check
export LANG=en_US.UTF-8
-%python_expand py.test-%{$python_bun_suffix}
-%endif
+# test_bash https://github.com/pexpect/pexpect/issues/568
+# test_large_stdout_stream - random
+# test_pager_as_cat - needs manpages that would pull extra deps
+%pytest -k 'not test_bash and not test_large_stdout_stream and not
test_pager_as_cat'
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
%doc doc/
%doc examples/
%{python_sitelib}/pexpect/
++++++ pexpect-4.3.1.tar.gz -> pexpect-4.8.0.tar.gz ++++++
++++ 2956 lines of diff (skipped)