Hello community, here is the log from the commit of package python-pexpect for openSUSE:Factory checked in at 2017-12-21 11:24:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pexpect (Old) and /work/SRC/openSUSE:Factory/.python-pexpect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect" Thu Dec 21 11:24:02 2017 rev:22 rq:557783 version:4.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pexpect/python-pexpect.changes 2017-11-17 10:36:03.245318392 +0100 +++ /work/SRC/openSUSE:Factory/.python-pexpect.new/python-pexpect.changes 2017-12-21 11:24:03.970988691 +0100 @@ -1,0 +2,9 @@ +Sat Dec 16 23:13:25 UTC 2017 - a...@gmx.de + +- update to version 4.3.1: + * When launching bash for pexpect.replwrap, load the system bashrc + from a couple of different common locations (PR #457), and then + unset the PROMPT_COMMAND environment variable, which can interfere + with the prompt we’re expecting (PR #459). + +------------------------------------------------------------------- Old: ---- pexpect-4.3.0.tar.gz New: ---- pexpect-4.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pexpect.spec ++++++ --- /var/tmp/diff_new_pack.5HFOxb/_old 2017-12-21 11:24:04.546960607 +0100 +++ /var/tmp/diff_new_pack.5HFOxb/_new 2017-12-21 11:24:04.554960217 +0100 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pexpect -Version: 4.3.0 +Version: 4.3.1 Release: 0 Summary: Pure Python Expect-like module License: ISC ++++++ pexpect-4.3.0.tar.gz -> pexpect-4.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/PKG-INFO new/pexpect-4.3.1/PKG-INFO --- old/pexpect-4.3.0/PKG-INFO 2017-11-09 17:58:42.000000000 +0100 +++ new/pexpect-4.3.1/PKG-INFO 2017-12-12 11:51:04.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pexpect -Version: 4.3.0 +Version: 4.3.1 Summary: Pexpect allows easy control of interactive console applications. Home-page: https://pexpect.readthedocs.io/ Author: Noah Spurrier; Thomas Kluyver; Jeff Quast diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/doc/conf.py new/pexpect-4.3.1/doc/conf.py --- old/pexpect-4.3.0/doc/conf.py 2017-11-09 17:48:34.000000000 +0100 +++ new/pexpect-4.3.1/doc/conf.py 2017-12-12 11:47:25.000000000 +0100 @@ -52,7 +52,7 @@ # built documents. # # The short X.Y version. -version = '4.3' +version = '4.3.1' # The full version, including alpha/beta/rc tags. release = version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/doc/history.rst new/pexpect-4.3.1/doc/history.rst --- old/pexpect-4.3.0/doc/history.rst 2017-11-09 17:46:14.000000000 +0100 +++ new/pexpect-4.3.1/doc/history.rst 2017-12-12 11:45:08.000000000 +0100 @@ -4,6 +4,14 @@ Releases -------- +Version 4.3.1 +````````````` + +* When launching bash for :mod:`pexpect.replwrap`, load the system ``bashrc`` + from a couple of different common locations (:ghpull:`457`), and then unset + the ``PROMPT_COMMAND`` environment variable, which can interfere with the + prompt we're expecting (:ghpull:`459`). + Version 4.3 ``````````` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/pexpect/__init__.py new/pexpect-4.3.1/pexpect/__init__.py --- old/pexpect-4.3.0/pexpect/__init__.py 2017-11-09 17:49:01.000000000 +0100 +++ new/pexpect-4.3.1/pexpect/__init__.py 2017-12-12 11:47:25.000000000 +0100 @@ -75,7 +75,7 @@ from .pty_spawn import spawn, spawnu from .run import run, runu -__version__ = '4.3.0' +__version__ = '4.3.1' __revision__ = '' __all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'spawnu', 'run', 'runu', 'which', 'split_command_line', '__version__', '__revision__'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/pexpect/bashrc.sh new/pexpect-4.3.1/pexpect/bashrc.sh --- old/pexpect-4.3.0/pexpect/bashrc.sh 2015-12-04 11:07:10.000000000 +0100 +++ new/pexpect-4.3.1/pexpect/bashrc.sh 2017-12-12 11:42:05.000000000 +0100 @@ -1,5 +1,16 @@ -source /etc/bash.bashrc -source ~/.bashrc +# Different platforms have different names for the systemwide bashrc +if [[ -f /etc/bashrc ]]; then + source /etc/bashrc +fi +if [[ -f /etc/bash.bashrc ]]; then + source /etc/bash.bashrc +fi +if [[ -f ~/.bashrc ]]; then + source ~/.bashrc +fi # Reset PS1 so pexpect can find it PS1="$" + +# Unset PROMPT_COMMAND, so that it can't change PS1 to something unexpected. +unset PROMPT_COMMAND diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/pexpect/expect.py new/pexpect-4.3.1/pexpect/expect.py --- old/pexpect-4.3.0/pexpect/expect.py 2017-11-09 16:52:00.000000000 +0100 +++ new/pexpect-4.3.1/pexpect/expect.py 2017-12-08 11:54:26.000000000 +0100 @@ -30,7 +30,6 @@ def eof(self, err=None): spawn = self.spawn - from . import EOF spawn.before = spawn.buffer spawn.buffer = spawn.string_type() @@ -51,7 +50,6 @@ def timeout(self, err=None): spawn = self.spawn - from . import TIMEOUT spawn.before = spawn.buffer spawn.after = TIMEOUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pexpect-4.3.0/tests/log new/pexpect-4.3.1/tests/log --- old/pexpect-4.3.0/tests/log 1970-01-01 01:00:00.000000000 +0100 +++ new/pexpect-4.3.1/tests/log 2017-12-12 11:48:21.000000000 +0100 @@ -0,0 +1,30 @@ +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +r,SEMICOLON +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +r,SEMICOLON +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +P,ESC +\,ESC +r,SEMICOLON