Commit Graph

75 Commits

Author SHA256 Message Date
Ana Guerrero
f7abe9092b Accepting request 1132884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1132884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=47
2023-12-14 21:02:38 +00:00
Markéta Machová
7f2be3f0d3 Accepting request 1132704 from home:pgajdos
- disable randomly failing tests [bsc#1209560]

OBS-URL: https://build.opensuse.org/request/show/1132704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=82
2023-12-13 13:43:25 +00:00
Ana Guerrero
0ab7410214 Accepting request 1128703 from devel:languages:python
- update to 4.9:
  * Add support for Python 3.12 #769.
  * Clean up temporary files after UnicodeTests #753.
  * Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix #763.
  * Set prompt correctly for zsh #712.
  * Add zsh convenience function to replwrap module #751.
  * Rework async unittests to rely on
    unittest.IsolatedAsyncioTestCase #764.
  * Make test_expect.py work on POSIX systems that are not Linux
    based #698.
  * Add support for ``socket``, which allows sockets to be used
    crossplatform #745.
  * Update async to work on newer versions of python #732.
  * Remove deprecated RSAAuthentication option (SSHv1) #744.
  * Multiple CI fixes #743 #737 #742 #739 #722.
  * Use Github Actions for CI #734.
  * Remove pytest-capturelog from testing requirements #730.
  * Fix usage for Solaris #663 #604 #560.
  * Fix threading for new versions of python #684.
  * Fix documentation builds for use with Sphinx 3 #638.
  * Use ``sys.executable`` for tests and wrapper, allowing the
    calling python executable to be used instead #623.
  * Update documentation about Wexpect #623.
  * Added project urls to ``setup.py`` #620.
  * Provide examples for how to use Pexpect and Pyte #587.
  * Coerce compiled regex patterns type according to spawn
    encoding #560.
  * Several doc updates #626 #635 #643 #644 #728.
  drop 31fab7b0edbe9b3401507b5dfa4db6aaf3fabca5.patch,
       684.patch, 715.patch, 742.patch,

OBS-URL: https://build.opensuse.org/request/show/1128703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=46
2023-11-26 18:36:37 +00:00
afff37e088 - update to 4.9:
* Add support for Python 3.12 #769.
  * Clean up temporary files after UnicodeTests #753.
  * Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix #763.
  * Set prompt correctly for zsh #712.
  * Add zsh convenience function to replwrap module #751.
  * Rework async unittests to rely on
    unittest.IsolatedAsyncioTestCase #764.
  * Make test_expect.py work on POSIX systems that are not Linux
    based #698.
  * Add support for ``socket``, which allows sockets to be used
    crossplatform #745.
  * Update async to work on newer versions of python #732.
  * Remove deprecated RSAAuthentication option (SSHv1) #744.
  * Multiple CI fixes #743 #737 #742 #739 #722.
  * Use Github Actions for CI #734.
  * Remove pytest-capturelog from testing requirements #730.
  * Fix usage for Solaris #663 #604 #560.
  * Fix threading for new versions of python #684.
  * Fix documentation builds for use with Sphinx 3 #638.
  * Use ``sys.executable`` for tests and wrapper, allowing the
    calling python executable to be used instead #623.
  * Update documentation about Wexpect #623.
  * Added project urls to ``setup.py`` #620.
  * Provide examples for how to use Pexpect and Pyte #587.
  * Coerce compiled regex patterns type according to spawn
    encoding #560.
  * Several doc updates #626 #635 #643 #644 #728.
  drop 31fab7b0edbe9b3401507b5dfa4db6aaf3fabca5.patch,
       684.patch, 715.patch, 742.patch,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=80
2023-11-25 09:38:45 +00:00
Ana Guerrero
b943684573 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
2023-10-18 19:25:09 +00:00
2b8e50c0b3 - 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/package/show/devel:languages:python/python-pexpect?expand=0&rev=78
2023-10-17 08:11:46 +00:00
Ana Guerrero
2feb52a852 Accepting request 1105210 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1105210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=44
2023-08-23 12:56:41 +00:00
79b14d3e7b - add 31fab7b0edbe9b3401507b5dfa4db6aaf3fabca5.patch
dae602d37493bae239e0e8db5b3dabafebfd59db.patch: python 3.12 compat

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=76
2023-08-15 08:29:42 +00:00
Dominique Leuenberger
c39a6d4817 Accepting request 1103603 from devel:languages:python
Forwarded request #1103329 from buschmann23

- Fix failing test when no alias in bash is defined
    * add fix-fail-no-alias.patch

OBS-URL: https://build.opensuse.org/request/show/1103603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=43
2023-08-13 17:17:38 +00:00
d607791a41 Accepting request 1103329 from home:buschmann23:branches:devel:languages:python
- Fix failing test when no alias in bash is defined
  * add fix-fail-no-alias.patch

OBS-URL: https://build.opensuse.org/request/show/1103329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=74
2023-08-12 13:56:03 +00:00
Dominique Leuenberger
0901ba4000 Accepting request 1101543 from devel:languages:python
- Clean up the SPEC file

OBS-URL: https://build.opensuse.org/request/show/1101543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=42
2023-08-02 14:47:53 +00:00
82ebb8434a Fix -k expression
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=72
2023-07-31 07:09:16 +00:00
e570cc123a Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=71
2023-07-31 07:03:36 +00:00
a55ad09f01 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=70
2023-07-31 07:03:05 +00:00
Dominique Leuenberger
3ca63f04ac Accepting request 1081996 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=41
2023-04-22 20:02:03 +00:00
b2182f27c2 Accepting request 1081517 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=68
2023-04-21 14:55:35 +00:00
Dominique Leuenberger
5fa13d5390 Accepting request 1077779 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1077779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=40
2023-04-08 15:38:56 +00:00
3d04258ad8 - Skip REPLWrapTestCase.test_existing_spawn which seems to still
fail on s390x (gh#pexpect/pexpect#750, bsc#1209560).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=66
2023-03-30 17:07:33 +00:00
Dominique Leuenberger
e2cdfcae99 Accepting request 1074791 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1074791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=39
2023-03-29 21:25:56 +00:00
a02f5546e4 Accepting request 1074610 from openSUSE:Factory:RISCV
- Skip test_interrupt, test_multiple_interrupts, test_existing_spawn when
  running in QEmu linux-user emulation

OBS-URL: https://build.opensuse.org/request/show/1074610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=64
2023-03-27 22:48:54 +00:00
Dominique Leuenberger
94032eada0 Accepting request 1074167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1074167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=38
2023-03-26 18:19:06 +00:00
374a2e8cea Accepting request 1074115 from home:pgajdos:python
- disable some tests [bsc#1209560]
  * test_spawn_uses_env - seen failed on s390x
  * test_forced_terminate - seen failed on armv7l
  * test_interact_escape_None - seen failed on s390x

OBS-URL: https://build.opensuse.org/request/show/1074115
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=62
2023-03-24 12:19:39 +00:00
Dominique Leuenberger
95fc995509 Accepting request 1067328 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1067328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=37
2023-02-25 18:54:23 +00:00
79fbaafcc9 Accepting request 1067327 from home:mcepl:branches:devel:languages:python
- Clean up SPEC file

OBS-URL: https://build.opensuse.org/request/show/1067327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=60
2023-02-23 08:40:07 +00:00
Dominique Leuenberger
05305c25d9 Accepting request 1056699 from devel:languages:python
- add 684.patch, 715.patch: Python 3.11 support

OBS-URL: https://build.opensuse.org/request/show/1056699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=36
2023-01-07 16:17:39 +00:00
c1cf337a82 - add 684.patch, 715.patch: Python 3.11 support
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=58
2023-01-06 20:58:59 +00:00
Dominique Leuenberger
f404025ae9 Accepting request 1034807 from devel:languages:python
- skip extra tests for qemu based builds

OBS-URL: https://build.opensuse.org/request/show/1034807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=35
2022-11-10 13:19:17 +00:00
2a5cca7ba9 - skip extra tests for qemu based builds
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=56
2022-11-09 10:08:01 +00:00
Dominique Leuenberger
c7f762665d Accepting request 910353 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/910353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=34
2021-08-06 20:44:31 +00:00
Markéta Machová
6818df046f Accepting request 910328 from home:dimstar:Factory
- Remove executable flag from examples/*.py: since we already patch
  out the shebangs, they are not directly startable anyway
  (boo#1189065).

 * Fixed a bug truncating before attribute after a timeout

OBS-URL: https://build.opensuse.org/request/show/910328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=55
2021-08-05 15:44:25 +00:00
Dominique Leuenberger
20d1f5bd16 Accepting request 784290 from devel:languages:python
- Add patch to build without python2:
  * no-python-binary.patch

OBS-URL: https://build.opensuse.org/request/show/784290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=33
2020-03-26 23:21:55 +00:00
Tomáš Chvátal
f24bc875de - Add patch to build without python2:
* no-python-binary.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=53
2020-03-12 11:33:18 +00:00
Dominique Leuenberger
e2dd3cd8e7 Accepting request 774361 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/774361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=32
2020-02-19 11:40:04 +00:00
89afa07900 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=51
2020-02-14 12:54:55 +00:00
Dominique Leuenberger
86ce41f36f Accepting request 770497 from devel:languages:python
- Disable test test_pager_as_cat as it pulls additional deps

OBS-URL: https://build.opensuse.org/request/show/770497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=31
2020-02-13 09:10:56 +00:00
Tomáš Chvátal
65cdcb4334 - Disable test test_pager_as_cat as it pulls additional deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=49
2020-02-06 10:10:18 +00:00
Dominique Leuenberger
bcb53f8020 Accepting request 730119 from devel:languages:python
- Disable test_large_stdout_stream as it randomly fails

OBS-URL: https://build.opensuse.org/request/show/730119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=30
2019-09-23 10:07:06 +00:00
Tomáš Chvátal
6face83ae2 - Disable test_large_stdout_stream as it randomly fails
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=47
2019-09-11 11:50:30 +00:00
Dominique Leuenberger
3a55e3894e Accepting request 717008 from devel:languages:python
- Add missing builddep on setuptools

OBS-URL: https://build.opensuse.org/request/show/717008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=29
2019-07-30 11:01:47 +00:00
Tomáš Chvátal
016eb3ecf7 - Add missing builddep on setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=45
2019-07-19 10:15:35 +00:00
Dominique Leuenberger
da9bfa7563 Accepting request 705391 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/705391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=28
2019-05-27 06:37:25 +00:00
Tomáš Chvátal
0658dde682 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=43
2019-05-25 09:28:00 +00:00
Dominique Leuenberger
1746df50df Accepting request 659548 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=27
2018-12-26 23:27:29 +00:00
d0a4fdd905 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=41
2018-12-04 13:46:35 +00:00
Yuchen Lin
a9625d49ae Accepting request 634979 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/634979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=26
2018-09-18 09:36:26 +00:00
8e08a177c4 osc copypac from project:Cloud:OpenStack:Rocky package:python-pexpect revision:2, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=39
2018-09-04 15:34:24 +00:00
Dominique Leuenberger
2652dc66b2 Accepting request 618933 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/618933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=25
2018-06-29 20:34:04 +00:00
Tomáš Chvátal
9caa005b92 Accepting request 618825 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/618825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=37
2018-06-25 11:07:08 +00:00
Dominique Leuenberger
302da9a82f Accepting request 598545 from devel:languages:python
- Fix typo and make sure the tests will pass

- 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).

OBS-URL: https://build.opensuse.org/request/show/598545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=24
2018-04-20 15:30:45 +00:00
Tomáš Chvátal
6f7a04954b - Fix typo and make sure the tests will pass
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=35
2018-04-19 12:09:42 +00:00