Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pexpect for openSUSE:Factory checked in at 2023-10-18 21:25:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pexpect (Old) and /work/SRC/openSUSE:Factory/.python-pexpect.new.31755 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect" Wed Oct 18 21:25:09 2023 rev:45 rq:1118223 version:4.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pexpect/python-pexpect.changes 2023-08-23 14:56:49.445905397 +0200 +++ /work/SRC/openSUSE:Factory/.python-pexpect.new.31755/python-pexpect.changes 2023-10-18 21:25:10.779548400 +0200 @@ -1,0 +2,6 @@ +Tue Oct 17 08:08:38 UTC 2023 - Daniel Garcia Moreno <daniel.gar...@suse.com> + +- add 742.patch, gh#pexpect/pexpect#742 This makes it compatible with + python3.12 gh#pexpect/pexpect#736#issuecomment-1427273882 + +------------------------------------------------------------------- New: ---- 742.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pexpect.spec ++++++ --- /var/tmp/diff_new_pack.DQbOIA/_old 2023-10-18 21:25:11.459573034 +0200 +++ /var/tmp/diff_new_pack.DQbOIA/_new 2023-10-18 21:25:11.463573178 +0200 @@ -32,6 +32,8 @@ # Python 3.12 tests Patch4: https://github.com/pexpect/pexpect/commit/dae602d37493bae239e0e8db5b3dabafebfd59db.patch Patch5: https://github.com/pexpect/pexpect/commit/31fab7b0edbe9b3401507b5dfa4db6aaf3fabca5.patch +# PATCH-FIX-UPSTREAM 742.patch gh#pexpect/pexpect#742 +Patch6: 742.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module ptyprocess} BuildRequires: %{python_module pytest} ++++++ 742.patch ++++++ Index: pexpect-4.8.0/tests/fakessh/ssh =================================================================== --- pexpect-4.8.0.orig/tests/fakessh/ssh +++ pexpect-4.8.0/tests/fakessh/ssh @@ -62,7 +62,7 @@ prompt = "$" while True: cmd = input(prompt) if cmd.startswith('PS1='): - prompt = eval(cmd[4:]).replace('\$', '$') + prompt = eval(cmd[4:]).replace(r'\$', '$') elif cmd == 'ping': print('pong') elif cmd.startswith('ls'):