Accepting request 1118223 from devel:languages:python
- add 742.patch, gh#pexpect/pexpect#742 This makes it compatible with python3.12 gh#pexpect/pexpect#736#issuecomment-1427273882 OBS-URL: https://build.opensuse.org/request/show/1118223 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=45
This commit is contained in:
commit
b943684573
13
742.patch
Normal file
13
742.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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'):
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 08:08:38 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- add 742.patch, gh#pexpect/pexpect#742 This makes it compatible with
|
||||||
|
python3.12 gh#pexpect/pexpect#736#issuecomment-1427273882
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 15 08:29:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Aug 15 08:29:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -32,6 +32,8 @@ Patch3: fix-fail-no-alias.patch
|
|||||||
# Python 3.12 tests
|
# Python 3.12 tests
|
||||||
Patch4: https://github.com/pexpect/pexpect/commit/dae602d37493bae239e0e8db5b3dabafebfd59db.patch
|
Patch4: https://github.com/pexpect/pexpect/commit/dae602d37493bae239e0e8db5b3dabafebfd59db.patch
|
||||||
Patch5: https://github.com/pexpect/pexpect/commit/31fab7b0edbe9b3401507b5dfa4db6aaf3fabca5.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 pip}
|
||||||
BuildRequires: %{python_module ptyprocess}
|
BuildRequires: %{python_module ptyprocess}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
Loading…
Reference in New Issue
Block a user