12
0

96 Commits

Author SHA256 Message Date
60b2982128 Accepting request 1298824 from devel:languages:python
- Make the libalternatives transition conditional

OBS-URL: https://build.opensuse.org/request/show/1298824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=44
2025-08-12 15:03:27 +00:00
a9c43f04db Accepting request 1292430 from devel:languages:python
- 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/request/show/1292430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=43
2025-07-15 14:42:57 +00:00
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
4031a9cb10 Accepting request 1286090 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=42
2025-06-18 13:53:44 +00:00
8d804ff342 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=92
2025-06-16 12:12:03 +00:00
d15a84f6d4 Accepting request 1284723 from devel:languages:python
- Remove executable bit on files installed outside of the path. (bsc#1244435)

OBS-URL: https://build.opensuse.org/request/show/1284723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=41
2025-06-11 14:19:51 +00:00
fe1a480bc7 - Remove executable bit on files installed outside of the path. (bsc#1244435)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=90
2025-06-11 08:33:33 +00:00
800eaf853e Accepting request 1284019 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1284019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=40
2025-06-10 06:56:53 +00:00
da8eff4206 update to 3.5.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=88
2025-06-09 08:25:16 +00:00
7fd6894c4b Accepting request 1229866 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1229866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=39
2024-12-11 20:01:01 +00:00
130d169a6a - Update to version 3.5.2
* Fix _parse_known_args monkeypatching. This fix is required to restore 
    compatibility with Python 3.12.8 and 3.13.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=86
2024-12-10 15:53:43 +00:00
d88ab8f157 Accepting request 1219176 from devel:languages:python
- Update to the version 3.5.1:
  - Restore compatibility with argparse in Python 3.12.7+
  - Use project.scripts instead of setuptools scripts
  - Test infrastructure improvements
- Remove upstreamed patches:
  - argparse-3_12_7.patch
- Add _multibuild (to make testing against fully installed package)

OBS-URL: https://build.opensuse.org/request/show/1219176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=38
2024-10-30 16:33:05 +00:00
0779e1fe80 Add _multibuild file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=84
2024-10-29 17:11:01 +00:00
c3fabc84c8 Add _multibuild file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=83
2024-10-29 17:09:52 +00:00
9904c9c504 Actually remove the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=82
2024-10-29 17:09:20 +00:00
9cdd2ba647 Actually remove the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=81
2024-10-29 17:09:02 +00:00
b898a04ace - Update to the version 3.5.1:
- Restore compatibility with argparse in Python 3.12.7+
  - Use project.scripts instead of setuptools scripts
  - Test infrastructure improvements
- Remove upstreamed patches:
  - argparse-3_12_7.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=80
2024-10-29 17:08:44 +00:00
3ca032bb28 Accepting request 1206005 from devel:languages:python
- Add argparse-3_12_7.patch which should actually fix
  gh#kislyuk/argcomplete#507.
- Remove skip-failing-tests-3_12_7.patch, which is now
  unnecessary.

OBS-URL: https://build.opensuse.org/request/show/1206005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=37
2024-10-08 15:16:27 +00:00
a912570458 - Add argparse-3_12_7.patch which should actually fix
gh#kislyuk/argcomplete#507.
- Remove skip-failing-tests-3_12_7.patch, which is now
  unnecessary.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=78
2024-10-06 21:46:10 +00:00
6d053361c2 Accepting request 1205831 from devel:languages:python
- Add skip-failing-tests-3_12_7.patch as a temporary workaround,
  skip failing tests (gh#kislyuk/argcomplete#507).

OBS-URL: https://build.opensuse.org/request/show/1205831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=36
2024-10-06 15:51:47 +00:00
cfb0d3167a - Add skip-failing-tests-3_12_7.patch as a temporary workaround,
skip failing tests (gh#kislyuk/argcomplete#507).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=76
2024-10-05 14:54:12 +00:00
dd5ac3416c Accepting request 1193769 from devel:languages:python
- require ca-certificates-mozilla for the pip >= 24.2

OBS-URL: https://build.opensuse.org/request/show/1193769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=35
2024-08-15 07:57:23 +00:00
540b9317fc - require ca-certificates-mozilla for the pip >= 24.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=74
2024-08-13 20:19:10 +00:00
5820dd98f4 Accepting request 1187607 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1187607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=34
2024-07-16 20:02:19 +00:00
15003f296a - Update to 3.4.0
*  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 of generating the completions, as
       expected.
  *  Localize shell variable REPLY to avoid overwriting users’ value (#489)
     - The variable REPLY is used by default by the ``read`` shell builtin
       to store the return value, and like all bash/zsh variables, is scoped
       globally. This change allows this variable to be used for other needs
       by appropriately scoping its internal use by an argcomplete utility
       function that uses ``read``.
- Drop patches for issued fixed upstream
  * bash-repl.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=72
2024-07-15 18:40:35 +00:00
8b47d97a82 Accepting request 1168718 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1168718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=33
2024-04-21 18:24:14 +00:00
01dfbf3854 Accepting request 1168717 from home:dgarcia:branches:devel:languages:python:Factory
- Update to 3.3.0 (bsc#1222880):
  * Preserve compatibility with argparse option tuples of length 4.
    This update is required to use argcomplete on Python 3.11.9+ or
    3.12.3+.
- update to 3.2.3:
  * Allow register-python-argcomplete output to be used as lazy-loaded
    zsh completion module (#475)
    - Move debug_stream initialization to helper method to allow fd 9
      behavior to be overridden in subclasses (#471)

OBS-URL: https://build.opensuse.org/request/show/1168717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=70
2024-04-18 06:36:13 +00:00
41fbb99db0 Accepting request 1142768 from devel:languages:python
- update to 3.2.2:
  * Expand tilde in zsh

OBS-URL: https://build.opensuse.org/request/show/1142768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=32
2024-01-30 17:24:58 +00:00
5ebd7d38d5 - update to 3.2.2:
* Expand tilde in zsh

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=68
2024-01-30 12:07:16 +00:00
77fd4036dd Accepting request 1136647 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=31
2024-01-05 21:59:50 +00:00
d7438f4aef Accepting request 1136618 from home:bnavigator:branches:devel:languages:python
- Remove coverage check
- Fix zsh test failures: avoid coloring terminal

OBS-URL: https://build.opensuse.org/request/show/1136618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=66
2024-01-03 17:37:55 +00:00
b93be79fd9 - update to 3.2.1:
*  Allow explicit zsh global completion activation (#467)
  *  Fix and test global completion in zsh (#463, #466)
  *  Add –yes option to activate-global-python-argcomplete (#461)
  *  Test suite improvements
- drop without_zsh.patch: obsolete

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=65
2023-12-29 18:28:27 +00:00
6fd2c66ee9 Accepting request 1129173 from devel:languages:python
- update to 3.1.6:
  *  Respect user choice in activate-global-python-argcomplete
  *  Escape colon in zsh completions. Fixes #456
  *  Call \_default as a fallback in zsh global completion

OBS-URL: https://build.opensuse.org/request/show/1129173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=30
2023-11-28 21:18:24 +00:00
96349c4d5b - update to 3.1.6:
*  Respect user choice in activate-global-python-argcomplete
  *  Escape colon in zsh completions. Fixes #456
  *  Call \_default as a fallback in zsh global completion

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=63
2023-11-27 15:35:23 +00:00
4cc329f7e4 Accepting request 1124879 from devel:languages:python
- update to 3.1.4:
  * Call \_default as a fallback in zsh global completion
  * zsh: Allow to use external script (#453)
  * Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
  * Use homebrew prefix by default
  * zsh: Allow to use external script (#453)

OBS-URL: https://build.opensuse.org/request/show/1124879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=29
2023-11-13 21:16:12 +00:00
23d91170c8 - update to 3.1.4:
* Call \_default as a fallback in zsh global completion
  * zsh: Allow to use external script (#453)
  * Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
  * Use homebrew prefix by default
  * zsh: Allow to use external script (#453)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=61
2023-11-10 12:26:59 +00:00
83a9146554 Accepting request 1119967 from devel:languages:python
- add setuptools_scm for proper version detection

OBS-URL: https://build.opensuse.org/request/show/1119967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=28
2023-10-24 18:07:55 +00:00
146d8634f3 - add setuptools_scm for proper version detection
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=59
2023-10-24 12:01:28 +00:00
06501f3b95 Accepting request 1115761 from devel:languages:python
- update to 3.1.2:
  *Ensure Python 3.12+ compatibility in check_console_script

- fix substitution on tests/test.py to test the current python flavor
* Don't print args with suppressed help by default; add
- fixed license, set noarch for build
- add files in _bindir
- add python-distribute
- Initial packaging

OBS-URL: https://build.opensuse.org/request/show/1115761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=27
2023-10-06 19:12:30 +00:00
3fbe45f0a3 - update to 3.1.2:
*Ensure Python 3.12+ compatibility in check_console_script
- fix substitution on tests/test.py to test the current python flavor
* Don't print args with suppressed help by default; add
- fixed license, set noarch for build
- add files in _bindir
- add python-distribute
- Initial packaging

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=57
2023-10-05 08:47:05 +00:00
8370072eb3 Accepting request 1096831 from devel:languages:python
- Update to version 3.1.1
  *  Search through asdf shims
  *  Use \` as escape character in PowerShell (#434)
- from version 3.1.0
  * setup.py -> pyproject.toml migration start (#427)
  *  Improve user install logic in activate-global-python-argcomplete (#437)
  * Ensure Python 3.7 compatibility in check_console_script (#436)
  * ZSH implementation fixes (#431, #433)
  * Documentation improvements
- Drop obsolete patch
  * trim-test-deps.patch

OBS-URL: https://build.opensuse.org/request/show/1096831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=26
2023-07-05 13:30:46 +00:00
679d134e76 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=55 2023-07-04 14:21:36 +00:00
826a0a17ab Accepting request 1096762 from home:glaubitz:branches:devel:languages:python
- Update to version 3.1.1
  *  Search through asdf shims
  *  Use \` as escape character in PowerShell (#434)
- from version 3.1.0
  * setup.py -> pyproject.toml migration start (#427)
  *  Improve user install logic in activate-global-python-argcomplete (#437)
  * Ensure Python 3.7 compatibility in check_console_script (#436)
  * ZSH implementation fixes (#431, #433)
  * Documentation improvements
- Drop obsolete patch
  * trim-test-deps.patch

OBS-URL: https://build.opensuse.org/request/show/1096762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=54
2023-07-04 14:21:01 +00:00
c39579c578 Accepting request 1090044 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1090044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=25
2023-06-02 22:06:30 +00:00
daf55f5c59 Accepting request 1089857 from home:Andreas_Schwab:Factory
- bash-repl.patch: Use correct place for auxiliary bashrc.sh file from pexpect

OBS-URL: https://build.opensuse.org/request/show/1089857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=52
2023-05-31 16:12:54 +00:00
38b6fb224f Accepting request 1085044 from devel:languages:python
- Add without_zsh.patch
- Delete skip_tcsh_tests.patch
- Delete without_fish.patch
- Update to 3.0.8:
  * Test suite shell wrapper: Accept OSError on exit
- 3.0.7:
  * Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- 3.0.6:
  * Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420, #424)
    * Note completers can return iterables of strings, not just lists (#422)
    * Documentation and test improvements
- 3.0.5:
  * Call _default as fallback in zsh global completion hook
    * Begin support for mapping-emitting completers
- 3.0.4:
  * activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
  * Add NOTICE file
  * Establish long term name for split_line as argcomplete.lexers.split_line
- 3.0.3:
  * Re-add split_line to API (#419)
- 3.0.2:
  * Fix zsh default completion issues
- 3.0.1:
  * Fix zsh autoload issues
- 3.0.0:
  * Fully support zsh. Argcomplete now supports completion
    descriptions and global completion in zsh.
  * Clean up top level namespace.
  * Documentation and test improvements.
- 2.1.2:
  * Test infrastructure improvements
  * Indicate that there is no support commitment for fish and tcsh shells
- 2.1.1:
  * Documentation and test improvements
- 2.1.0:
  * Remove scripts for contrib-supported shells from global namespace
- 2.0.6:
  * setup.py: exclude test.* subpackages from find_packages (#406)
  * Support PowerShell (#405)
  * CI updates
- 2.0.5:
  * Revert "Support powershell (#392)"

OBS-URL: https://build.opensuse.org/request/show/1085044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=24
2023-05-09 11:06:43 +00:00
989d8805ef - Add without_zsh.patch
- Delete skip_tcsh_tests.patch
- Delete without_fish.patch
- Update to 3.0.8:
  * Test suite shell wrapper: Accept OSError on exit
- 3.0.7:
  * Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- 3.0.6:
  * Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420, #424)
    * Note completers can return iterables of strings, not just lists (#422)
    * Documentation and test improvements
- 3.0.5:
  * Call _default as fallback in zsh global completion hook
    * Begin support for mapping-emitting completers
- 3.0.4:
  * activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
  * Add NOTICE file
  * Establish long term name for split_line as argcomplete.lexers.split_line
- 3.0.3:
  * Re-add split_line to API (#419)
- 3.0.2:
  * Fix zsh default completion issues
- 3.0.1:
  * Fix zsh autoload issues
- 3.0.0:
  * Fully support zsh. Argcomplete now supports completion
    descriptions and global completion in zsh.
  * Clean up top level namespace.
  * Documentation and test improvements.
- 2.1.2:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=50
2023-05-05 11:27:50 +00:00
aa1faff103 Accepting request 1082008 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=23
2023-04-22 20:02:17 +00:00
4e8dba46f9 Accepting request 1081327 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=48
2023-04-21 14:58:48 +00:00
55d23cd8a0 Accepting request 1074136 from devel:languages:python
- Remove importlib-metadata requirement, it's not needed for python > 3.7

OBS-URL: https://build.opensuse.org/request/show/1074136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=22
2023-03-25 17:55:04 +00:00
04ea5c3208 - Remove importlib-metadata requirement, it's not needed for python > 3.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=46
2023-03-24 10:51:45 +00:00
43fcd4932b Accepting request 1072312 from devel:languages:python
- Add without_fish.patch which makes fish only optional
  BuildRequires (gh#kislyuk/argcomplete!410).

OBS-URL: https://build.opensuse.org/request/show/1072312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=21
2023-03-17 16:01:03 +00:00
5a8837d535 Don't redefine %pythons macro.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=44
2023-03-16 09:37:00 +00:00
8e3e111945 Accepting request 1072303 from home:dirkmueller:acdc:as_python3_module
- Add without_fish.patch which makes fish only optional
  BuildRequires (gh#kislyuk/argcomplete!410).

OBS-URL: https://build.opensuse.org/request/show/1072303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=43
2023-03-16 09:36:19 +00:00
1b013b936c Accepting request 1062354 from devel:languages:python
- fix substitution on tests/test.py to test the current python flavor

OBS-URL: https://build.opensuse.org/request/show/1062354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=20
2023-02-02 17:07:06 +00:00
d39cee64ef - fix substitution on tests/test.py to test the current python flavor
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=41
2023-01-31 23:50:14 +00:00
d0e05eae15 Accepting request 988966 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/988966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=19
2022-07-13 13:40:06 +00:00
bfae32c33e - update to 2.0.0:
* Truncate input after cursor.
  * Support of path completion in fish
  * Drop support for Python 2.7 and 3.5
  * Add support for Python 3.10
  * Test, documentation, and release infrastructure improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=39
2022-07-06 10:05:43 +00:00
f11bd8bc9d Accepting request 897830 from devel:languages:python
- update to 1.12.3:
  * Update importlib-metadata version pin
  * Display script debug output in tcsh
  * Fish support improvements
  * Print ``warn()`` message from beginning of line
  * Test infrastructure improvements

OBS-URL: https://build.opensuse.org/request/show/897830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=18
2021-06-06 20:40:55 +00:00
3c639dde1c - update to 1.12.3:
* Update importlib-metadata version pin
  * Display script debug output in tcsh
  * Fish support improvements
  * Print ``warn()`` message from beginning of line
  * Test infrastructure improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=37
2021-06-06 11:50:59 +00:00
c1399d02d9 Accepting request 857103 from devel:languages:python
- update to 1.12.2:
  -  Update importlib-metadata dependency pin (#332)
  -  Add change log project URL (#312)
  -  Replace Travis CI with GitHub Actions (#323)
  -  Update importlib-metadata dependency version range
  -  Bash nounset mode fixes (#313)
- remove 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/857103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=17
2020-12-21 09:24:08 +00:00
fd1b9a6c26 - update to 1.12.2:
-  Update importlib-metadata dependency pin (#332)
  -  Add change log project URL (#312)
  -  Replace Travis CI with GitHub Actions (#323)
  -  Update importlib-metadata dependency version range
  -  Bash nounset mode fixes (#313)
- remove 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=35
2020-12-20 09:21:17 +00:00
e90061c0cb Accepting request 809816 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=16
2020-06-09 22:43:23 +00:00
Tomáš Chvátal
b3a78363a1 Accepting request 809555 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=33
2020-05-28 07:33:51 +00:00
eb0d0c3e70 Accepting request 799410 from devel:languages:python
- Fix test execution without /usr/bin/python

OBS-URL: https://build.opensuse.org/request/show/799410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=15
2020-05-02 20:17:05 +00:00
Tomáš Chvátal
27fa91f839 - Fix test execution without /usr/bin/python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=31
2020-05-01 07:27:41 +00:00
a1d34d2ac4 Accepting request 788475 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=14
2020-03-26 22:34:11 +00:00
Tomáš Chvátal
a992b9c6ae Accepting request 788468 from home:alarrosa:branches:devel:languages:python
- Add patch from upstream to fix tests with latest fish version:
  * 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch

OBS-URL: https://build.opensuse.org/request/show/788468
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=29
2020-03-26 10:08:39 +00:00
9d7ec1d138 Accepting request 765227 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/765227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=13
2020-01-17 15:07:32 +00:00
Tomáš Chvátal
83fd5d91bd Accepting request 765194 from home:mcalabkova:branches:devel:languages:python
- update to 1.11.1
  * Add -o bashdefault to register-python-argcomplete’s output command
  * Use shell builtins where possible
  * Switch from pkg_resources to importlib
  * Remove .sh extension by bash-completion convention
  * Do not suggest options after –
  * Include all test directory contents in source distribution
  * Trigger completers on –optional=PARTIAL_VALUE
  * Documentation and test improvements

OBS-URL: https://build.opensuse.org/request/show/765194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=27
2020-01-17 12:02:05 +00:00
02abef4b7a Accepting request 730714 from devel:languages:python
- Update to 1.10.0:
  * fish support
- Refresh patch skip_tcsh_tests.patch

OBS-URL: https://build.opensuse.org/request/show/730714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=12
2019-09-27 12:47:28 +00:00
Tomáš Chvátal
63b21f593e - Update to 1.10.0:
* fish support
- Refresh patch skip_tcsh_tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=25
2019-09-13 12:50:18 +00:00
064ea45281 Accepting request 691783 from devel:languages:python
- Update to 1.9.5:
  * check_module: Don’t crash, exit with error instead (#261)
  * Register completion for multiple commands (#246)

OBS-URL: https://build.opensuse.org/request/show/691783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=11
2019-04-08 18:52:57 +00:00
Tomáš Chvátal
ca26701ea4 - Update to 1.9.5:
* check_module: Don’t crash, exit with error instead (#261)
  * Register completion for multiple commands (#246)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=23
2019-04-05 11:15:59 +00:00
Stephan Kulow
5e78599d01 Accepting request 678738 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/678738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=10
2019-02-25 16:57:26 +00:00
Tomáš Chvátal
3226ad8b67 Accepting request 678632 from home:jayvdb:coala
- Trim unnecessary build dependencies using trim-test-deps.patch
- Simplify skip_tcsh_tests.patch so it is easier to read and update
- Update to v1.9.4
  * Use the correct interpreter when checking wrappers
  * Provide shellcode as a module function (#237)
- from v1.9.3
  * Fix handling of COMP\_POINT
  * Fix crash when writing unicode to debug\_stream in Python 2

OBS-URL: https://build.opensuse.org/request/show/678632
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=21
2019-02-25 08:27:22 +00:00
5f9a8ca867 Accepting request 653915 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/653915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=9
2018-12-12 16:25:00 +00:00
c83255a471 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=19
2018-12-04 13:13:32 +00:00
edd8cb8ae8 Accepting request 531242 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/531242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=8
2017-10-05 10:02:49 +00:00
Jan Matejek
e7703e90b9 Accepting request 531226 from home:glaubitz:branches:devel:languages:python
- Update to latest upstream version
- Fix issues after singlespec auto-conversion
- singlespec auto-conversion

OBS-URL: https://build.opensuse.org/request/show/531226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=17
2017-10-04 14:02:59 +00:00
0a0105e52f Accepting request 511764 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/511764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=7
2017-07-21 20:50:43 +00:00
6c41accd1f Accepting request 511762 from home:sebix:branches:devel:languages:python
fixes error in Request#511757

OBS-URL: https://build.opensuse.org/request/show/511762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=15
2017-07-21 08:18:38 +00:00
7206177c5e Accepting request 511605 from home:sebix:branches:devel:languages:python
updated
not converted because of upstream issues: https://github.com/kislyuk/argcomplete/issues/11 https://github.com/kislyuk/argcomplete/issues/101

OBS-URL: https://build.opensuse.org/request/show/511605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=14
2017-07-21 07:41:10 +00:00
2bf083068b Accepting request 440003 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/440003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=6
2016-11-14 19:14:34 +00:00
cfa00326f1 Accepting request 438953 from home:achimh
Introduced update-alternatives so package plays nice with python3 package

OBS-URL: https://build.opensuse.org/request/show/438953
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=12
2016-11-12 08:00:09 +00:00
c8851f930b Accepting request 351194 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/351194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=5
2016-01-01 18:48:18 +00:00
Denisart Benjamin
01cd3c7c8e Accepting request 348513 from home:mimi_vx:branches:devel:languages:python
- update to 1.0.0
* Don't print args with suppressed help by default; add 
  argcomplete.autocomplete(print_suppressed=True) to control this behavior
* Fix always_complete_options=False support.
* Correct doc filename in setup.cfg
* Make context managers exception-safe.
* Fix issue with non-string choices for arguments.
* Improve non-ascii argparse argument support on Python 2.7.

OBS-URL: https://build.opensuse.org/request/show/348513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=10
2015-12-29 13:48:42 +00:00
2e3237cdab Accepting request 298189 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=4
2015-04-21 08:53:54 +00:00
Michal Čihař
a00b12d3a7 Accepting request 298059 from home:benoit_monin:branches:devel:languages:python
update to 0.8.7

OBS-URL: https://build.opensuse.org/request/show/298059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=8
2015-04-20 13:27:24 +00:00
Stephan Kulow
70c3ffa037 Accepting request 214251 from devel:languages:python
- Update to version 0.6.7:
  + Upstream provides no changelog
- Don't install testsuite globally

OBS-URL: https://build.opensuse.org/request/show/214251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=2
2014-01-20 06:53:55 +00:00
Sascha Peilicke
1e4f6d1215 - Update to version 0.6.7:
+ Upstream provides no changelog
- Don't install testsuite globally

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=6
2014-01-17 15:51:18 +00:00
Stephan Kulow
4e4a741d09 Accepting request 207440 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/207440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=1
2013-12-18 15:54:50 +00:00
Sascha Peilicke
9a581e33f9 - Update to version 0.6.3:
+ No changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=4
2013-11-18 11:18:55 +00:00
Sascha Peilicke
d9aa3e8928 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=3
2013-10-24 10:58:51 +00:00
Sascha Peilicke
2a639228f9 - Fix SLE builds
- Add LICENSE.rst and README.rst
- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=2
2013-05-02 14:02:55 +00:00
Sascha Peilicke
859e482a04 Accepting request 173718 from home:deadpoint
the python argcomplete package. please make me the maintainer.

OBS-URL: https://build.opensuse.org/request/show/173718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=1
2013-05-02 13:59:58 +00:00
7 changed files with 0 additions and 154 deletions

BIN
argcomplete-3.3.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
argcomplete-3.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb1ee355aa2557bd3d0145de7b06b2a45b0ce461e1e7813f5d066039ab4177b4
size 82280

BIN
argcomplete-3.5.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
argcomplete-3.5.3.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,13 +0,0 @@
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

View File

@@ -1,126 +0,0 @@
---
test/test.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- a/test/test.py
+++ b/test/test.py
@@ -43,6 +43,7 @@ COMP_WORDBREAKS = " \t\n\"'><=;|&(:"
BASH_VERSION = subprocess.check_output(["bash", "-c", "echo $BASH_VERSION"]).decode()
BASH_MAJOR_VERSION = int(BASH_VERSION.split(".")[0])
+is_3_12_7 = sys.version_info[:2] == (3, 12) and sys.version_info[:3] >= (3, 12, 7)
class ArgcompleteREPLWrapper(REPLWrapper):
def run_command(self, command, **kwargs):
@@ -158,6 +159,7 @@ class TestArgcomplete(unittest.TestCase)
completions = self.run_completer(p, "prog -", always_complete_options=False)
self.assertEqual(set(completions), set(["-h", "--help", "--foo", "--bar"]))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_choices(self):
def make_parser():
parser = ArgumentParser()
@@ -274,6 +276,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_completers(self):
self.completions = ["http://url1", "http://url2"]
@@ -317,6 +320,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in zsh_expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd, shell="zsh")), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_subparser_completers(self):
def c_depends_on_positional_arg1(prefix, parsed_args, **kwargs):
return [parsed_args.arg1]
@@ -355,6 +359,7 @@ class TestArgcomplete(unittest.TestCase)
fp.write("test")
self.assertEqual(set(fc("a")), set(["abcdefж/", "abcaha/", "abcxyz"]))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_filescompleter_filetype_integration(self):
def make_parser():
parser = ArgumentParser()
@@ -404,6 +409,7 @@ class TestArgcomplete(unittest.TestCase)
self.assertEqual(c("def/k"), set([]))
return
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_default_completer(self):
def make_parser():
parser = ArgumentParser(add_help=False)
@@ -423,6 +429,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_subparsers(self):
def make_parser():
parser = ArgumentParser()
@@ -455,6 +462,7 @@ class TestArgcomplete(unittest.TestCase)
set(output) - set(["-h", "--help"]),
)
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_non_ascii(self):
def make_parser():
parser = ArgumentParser()
@@ -664,6 +672,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_optional_nargs(self):
def make_parser():
parser = ArgumentParser()
@@ -696,6 +705,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_positional_remainder(self):
def make_parser():
parser = ArgumentParser()
@@ -753,6 +763,7 @@ class TestArgcomplete(unittest.TestCase)
result = self.run_completer(make_parser(), cmd, always_complete_options=always_complete_options)
self.assertEqual(set(result), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_exclusive(self):
def make_parser():
parser = ArgumentParser(add_help=False)
@@ -772,6 +783,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_mixed_optional_positional(self):
def make_parser():
parser = ArgumentParser(add_help=False)
@@ -801,6 +813,7 @@ class TestArgcomplete(unittest.TestCase)
self.assertEqual(self.run_completer(make_parser(), "prog "), ["bar "])
self.assertEqual(self.run_completer(make_parser(), "prog ", append_space=False), ["bar"])
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_exclusive_class(self):
parser = ArgumentParser(add_help=False)
parser.add_argument("--foo", dest="types", action="append_const", const=str)
@@ -821,6 +834,7 @@ class TestArgcomplete(unittest.TestCase)
for cmd, output in expected_outputs:
self.assertEqual(set(self.run_completer(parser, cmd, completer=completer)), set(output))
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_escape_special_chars(self):
def make_parser():
parser = ArgumentParser(add_help=False)
@@ -921,6 +935,7 @@ class TestArgcompleteREPL(unittest.TestC
completions = self.run_completer(p, c, "prog --")
assert set(completions) == set(["--help", "--foo", "--bar"])
+ @unittest.skipIf(is_3_12_7, "Doesn't work with Python 3.12.7")
def test_repl_parse_after_complete(self):
p = ArgumentParser()
p.add_argument("--foo", required=True)