Hello community, here is the log from the commit of package python-pexpect for openSUSE:Factory checked in at 2016-09-20 13:22:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pexpect (Old) and /work/SRC/openSUSE:Factory/.python-pexpect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pexpect/python-pexpect.changes 2015-04-28 20:48:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pexpect.new/python-pexpect.changes 2016-09-20 13:22:58.000000000 +0200 @@ -1,0 +2,48 @@ +Thu Sep 15 22:52:06 UTC 2016 - [email protected] + +- update to version 4.2.1: + * Fix to allow running ``env`` in replwrap-ed bash. + * Raise more informative exception from pxssh if it fails to connect. + * Change ``passmass`` example to not log passwords entered. +- update to version 4.2.0: + * Change: When an "env" parameter is specified to the + :class:`~.spawn` or :class:`~.run` family of calls containing a + value for "PATH", its value is used to discover the target + executable from a relative path, rather than the current process's + environment "PATH". This mirrors the behavior of + :func:`subprocess.Popen` in the standard library (:ghissue:`348`). + * Regression: Re-introduce capability for :meth:`read_nonblocking` + in class :class:`fdspawn` as previously supported in version 3.3 + (:ghissue:`359`). +- update to version 4.1.0: + * No upstream changelog +- update to version 4.0.1: + * Integration with :mod:`asyncio`: passing "async=True" to :meth:`~.spawn.expect`, + :meth:`~.spawn.expect_exact` or :meth:`~.spawn.expect_list` will make them return a + coroutine. You can get the result using "yield from", or wrap it in an + :class:`asyncio.Task`. This allows the event loop to do other things while + waiting for output that matches a pattern. + * Experimental support for Windows (with some caveats)—see :ref:`windows`. + * Enhancement: allow method as callbacks of argument "events" for + :func:`pexpect.run` (:ghissue:`176`). + * It is now possible to call :meth:`~.spawn.wait` multiple times, or after a process + is already determined to be terminated without raising an exception + (:ghpull:`211`). + * New :class:`pexpect.spawn` keyword argument, "dimensions=(rows, columns)" + allows setting terminal screen dimensions before launching a program + (:ghissue:`122`). + * Fix regression that prevented executable, but unreadable files from + being found when not specified by absolute path -- such as + /usr/bin/sudo (:ghissue:`104`). + * Fixed regression when executing pexpect with some prior releases of + the multiprocessing module where stdin has been closed (:ghissue:`86`). + * Deprecated "pexpect.screen" and "pexpect.ANSI". Please use other packages + such as `pyte <https://pypi.python.org/pypi/pyte>`__ to emulate a terminal. + * Removed the independent top-level modules ("pxssh fdpexpect FSM screen ANSI") + which were installed alongside Pexpect. These were moved into the Pexpect + package in 3.0, but the old names were left as aliases. + * Child processes created by Pexpect no longer ignore SIGHUP by default: the + "ignore_sighup" parameter of :class:`pexpect.spawn` defaults to False. To + get the old behaviour, pass "ignore_sighup=True". + +------------------------------------------------------------------- Old: ---- pexpect-3.3.tar.gz New: ---- pexpect-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pexpect.spec ++++++ --- /var/tmp/diff_new_pack.lUShX6/_old 2016-09-20 13:23:00.000000000 +0200 +++ /var/tmp/diff_new_pack.lUShX6/_new 2016-09-20 13:23:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pexpect # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,18 @@ Name: python-pexpect -BuildRequires: python-devel -Version: 3.3 +Version: 4.2.1 Release: 0 Summary: Pure Python Expect-like module License: ISC Group: Development/Libraries/Python -Url: http://pexpect.sourceforge.net/ -Source: https://pypi.python.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz +Url: http://pexpect.readthedocs.org/en/latest/ +Source: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: man +BuildRequires: python-ptyprocess +BuildRequires: python-pytest +Requires: python-ptyprocess BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -45,15 +49,14 @@ %install python setup.py install --prefix="/usr" --root=%{buildroot} +%check +export LANG=en_US.UTF-8 +py.test + %files %defattr(-,root,root,-) -%doc doc examples -%{python_sitelib}/ANSI.py* +%doc doc examples LICENSE %{python_sitelib}/pexpect/ -%{python_sitelib}/FSM.py* -%{python_sitelib}/fdpexpect.py* -%{python_sitelib}/pexpect-%{version}-py%{py_ver}.egg-info -%{python_sitelib}/pxssh.py* -%{python_sitelib}/screen.py* +%{python_sitelib}/pexpect-%{version}-py*.egg-info %changelog ++++++ pexpect-3.3.tar.gz -> pexpect-4.2.1.tar.gz ++++++ ++++ 8351 lines of diff (skipped)
