15
0
Files
python-argcomplete/bash-repl.patch
Dirk Mueller 1c3ab90d82 - update to 3.6.2:
* Revert “zsh: skip repeat Python runs in the same completion
    run” This reverts a regression introduced in zsh tab
    completion configurations utilizing multiple matchers.
  * zsh: add global completion system install dir to user fpath
    if not present
  * Update shell_integration.py to support spaces in script file
    path.
  * Fix completion when wordbreak is first character
  * Support namespace package traversal when completing Python
    entry points
  * zsh: skip repeat Python runs in the same completion run
  * Make _parse_known_args signature more general for future API
    changes
  * Use interactive shells and bind to make environment variable
    name completions work in older Bash versions
  * Fix _parse_known_args monkeypatching Note: This fix is
    required to restore compatibility with Python 3.12.8 and
    3.13.1.
  * Note: This fix is required to restore compatibility with
    Python 3.12.8 and 3.13.1.
  * CI improvements
  * Restore compatibility with argparse in Python 3.12.7+
  * Use project.scripts instead of setuptools scripts
  * Test infrastructure improvements
  * No stdin for python calls from bash completion functions
    (#488) Prevents usage of stdin by (python) executables that
    are called during completion generation. This prevents the
    completion locking up the entire shell when the python script
    is broken i.e. it enters an interactive mode (REPL) instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=94
2025-07-12 17:20:29 +00:00

14 lines
536 B
Diff

Index: argcomplete-3.0.8/test/test.py
===================================================================
--- argcomplete-3.0.8.orig/test/test.py
+++ argcomplete-3.0.8/test/test.py
@@ -65,7 +65,7 @@ def _repl_sh(command, args, non_printabl
def bash_repl(command="bash"):
- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh")
+ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh")
sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]")
return sh