17
0

50 Commits

Author SHA256 Message Date
d9304f25f4 - Update to 3.6.3:
* Make RE PCRE compatible. Fixes #539
  * Only execute Python interpreters (#536)
  * fish: set variable scope to local to avoid clobbering global or
    universal variables (#534)
  * Documentation and help improvements
- Add %pythons_for_pypi macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=99
2026-02-04 10:03:56 +00:00
12d4fd6c55 - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=96
2025-08-11 12:09:41 +00:00
fc4ff59599 - 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
17dadb5edb - 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
b2f508c618 - 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
1e0e26cbf1 Accepting request 1283842 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 3.5.3

OBS-URL: https://build.opensuse.org/request/show/1283842
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
3d92d75b2d Accepting request 1229767 from home:mcalabkova:branches:devel:languages:python
- 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/request/show/1229767
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
3da4421491 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
48881fad7b - 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
3d8435f50a - 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
21e05d215c - 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
c6843b15ed - 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
bc6418d2cc Accepting request 1187546 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1187546
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
4600ee5be6 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
b87c44100e - 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
be9a50529e 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
4159f9a204 - 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
1220bde66f - 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
b95dbb9054 - 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
696693a297 - 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
1f09ab9fad - 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
4001b17b30 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
4802d0cce5 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
385feb27c0 - 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
0c3cf1b2db 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
dc37ac838f - 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
25d106e22f 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
a09c884664 - 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
fc9eb870b8 - 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
761d3e8bb5 - 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
f94acefefc - 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
Tomáš Chvátal
957ed62be5 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
Tomáš Chvátal
650efd37a1 - 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
Tomáš Chvátal
c44af9bc84 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
Tomáš Chvátal
d3d68be22d 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
Tomáš Chvátal
a6a7b76840 - 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
Tomáš Chvátal
c9649b3b85 - 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
Tomáš Chvátal
9707651045 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
ee548f1ff3 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
Jan Matejek
ca7a2fce01 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
4c3eb1f9b5 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
bcf04edf6e 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
05660d48a8 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
Denisart Benjamin
20069f014e 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
Michal Čihař
4399c7390a 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
Sascha Peilicke
83b61cac53 - 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
Sascha Peilicke
6b39ceef05 - 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
3988fdb20c - 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
7de14b0cee - 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
fff3ed8153 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