Up to [cvs.NetBSD.org] / pkgsrc / devel / py-argcomplete
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-argcomplete: updated to 3.5.1 Changes for v3.5.1 (2024-10-06) - Restore compatibility with argparse in Python 3.12.7+
py-argcomplete: updated to 3.5.0 Changes for v3.5.0 (2024-08-06) - Use project.scripts instead of setuptools scripts - Test infrastructure improvements
py-argcomplete: updated to 3.4.0 Changes for v3.4.0 (2024-06-16) =============================== - No stdin for python calls from bash completion functions 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 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``.
py-argcomplete: updated to 3.3.0 Changes for v3.3.0 (2024-04-14) - 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+.
py-argcomplete: updated to 3.2.3 Changes for v3.2.3 (2024-03-07) - Allow register-python-argcomplete output to be used as lazy-loaded zsh completion module - Move debug_stream initialization to helper method to allow fd 9 behavior to be overridden in subclasses
py-argcomplete: updated to 3.2.2 Changes for v3.2.2 (2024-01-23) Expand tilde in zsh
py-argcomplete: updated to 3.2.1 Changes for v3.2.1 (2023-12-10) - Allow explicit zsh global completion activation Changes for v3.2.0 (2023-12-09) - Fix and test global completion in zsh - Add –yes option to activate-global-python-argcomplete - Test suite improvements
py-argcomplete: updated to 3.1.6 Changes for v3.1.6 (2023-11-12) - Respect user choice in activate-global-python-argcomplete Changes for v3.1.5 (2023-11-12) - Escape colon in zsh completions.
py-argcomplete: updated to 3.1.4 Changes for v3.1.4 (2023-11-01) - Call \_default as a fallback in zsh global completion Changes for v3.1.3 (2023-11-01) - Use homebrew prefix by default - zsh: Allow to use external script - Add support for Python 3.12 and drop EOL 3.6 and 3.7
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-argcomplete: updated to 3.1.2 Changes for v3.1.2 (2023-09-16) - Ensure Python 3.12+ compatibility in check_console_script
py-argcomplete: updated to 3.1.1 Changes for v3.1.1 (2023-06-11) - Search through asdf shims - Use \` as escape character in PowerShell Changes for v3.1.0 (2023-06-10) - setup.py -> pyproject.toml migration start - Improve user install logic in activate-global-python-argcomplete - Ensure Python 3.7 compatibility in check_console_script - ZSH implementation fixes - Documentation improvements
py-argcomplete: update to 3.0.8. Changes for v3.0.8 (2023-04-23) =============================== - Test suite shell wrapper: Accept OSError on exit Changes for v3.0.7 (2023-04-23) =============================== - Test suite: Use general regex to cut zsh reset ANSI sequences (#425) Changes for v3.0.6 (2023-04-22) =============================== - 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 Changes for v3.0.5 (2023-03-25) =============================== - Call \_default as fallback in zsh global completion hook - Begin support for mapping-emitting completers Changes for v3.0.4 (2023-03-21) =============================== - 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 Changes for v3.0.3 (2023-03-20) =============================== - Re-add split_line to API (#419) Changes for v3.0.2 (2023-03-19) =============================== Fix zsh default completion issues Changes for v3.0.1 (2023-03-19) =============================== - Fix zsh autoload issues Changes for v3.0.0 (2023-03-19) =============================== - Fully support zsh. Argcomplete now supports completion descriptions and global completion in zsh. - Clean up top level namespace. - Documentation and test improvements. Changes for v2.1.2 (2023-03-17) =============================== - Test infrastructure improvements - Indicate that there is no support commitment for fish and tcsh shells Changes for v2.1.1 (2023-03-06) =============================== - Documentation and test improvements Changes for v2.1.0 (2023-03-06) =============================== - Remove scripts for contrib-supported shells from global namespace Changes for v2.0.6 (2023-03-06) =============================== - setup.py: exclude test.\* subpackages from find_packages (#406) - Support PowerShell (#405) - CI updates Changes for v2.0.5 (2023-03-04) =============================== - Revert “Support powershell (#392)” Changes for v2.0.4 (2023-03-04) =============================== - Fix interrupted release (v2.0.1) Changes for v2.0.3 (2023-03-04) =============================== - Fix interrupted release (v2.0.1) Changes for v2.0.2 (2023-03-04) =============================== - Fix interrupted release (v2.0.1) Changes for v2.0.1 (2023-03-04) =============================== - Support powershell (#392) - Update importlib-metadata dependency to include versions 5.x (#389) - Test and documentation improvements Changes for v2.0.0 (2022-01-03) =============================== - Truncate input after cursor. Fixes #351 (#352) - Support of path completion in fish #327 (#359) - Drop support for Python 2.7 and 3.5 (#361) - Add support for Python 3.10 (#356) - Test, documentation, and release infrastructure improvements
*: use PYTHON_VERSION instead of _PYTHON_VERSION
*: use coverage from versioned_dependencies.mk
*: convert py-flake8 users to versioned_dependencies
*: use versioned_dependencies.mk for py-importlib-metadata
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-argcomplete: updated to 1.12.3 Changes for v1.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
py-argcomplete: updated to 1.12.2 Changes for v1.12.2 - Update importlib-metadata dependency pin - Add change log project URL - Replace Travis CI with GitHub Actions
py-argcomplete: updated to 1.12.1 Changes for v1.12.1 - Update importlib-metadata dependency version range - Bash nounset mode fixes
py-argcomplete: updated to 1.12.0 Changes for v1.12.0 - Help string support for fish - Add option to use tempfiles for IPC - Fix multiple command registration for non-bash shells - Register auto completion for an arbitrary name using a given external script - Skip completions from active subprocess completer - Fix warnings regarding invalid escape sequences
*: reset MAINTAINER for fhajny on his request
py-argcomplete: updated to 1.11.1 Changes for v1.11.1: - Add -o bashdefault to register-python-argcomplete’s output command Changes for v1.11.0: - Use shell builtins where possible - Switch from pkg_resources to importlib - Remove .sh extension by bash-completion convention - Catch exceptions in \_check_module - Documentation and test improvements
py-argcomplete: updated to 1.10.2 Changes for v1.10.2: - Include all test directory contents in source distribution Changes for v1.10.1: - Trigger completers on –optional=PARTIAL_VALUE - Complete console scripts installed from wheels
py-argcomplete: updated to 1.10.0 Changes for v1.10.0: Fish support Changes for v1.9.5: check_module: Don’t crash, exit with error instead Register completion for multiple commands
*: update email for fhajny
devel/py-argparse: Update to 1.9.4. - Use the correct interpreter when checking wrappers - Provide shellcode as a module function
Update devel/py-argcomplete to 1.9.3. - Fix handling of COMP_POINT - Fix crash when writing unicode to debug_stream in Python 2
Update devel/py-argcomplete to 1.9.2. - Add SuppressCompleter to skip completion for specific arguments while allowing help text - Redirect all output to debug stream in debug mode - Complete python -m module
Update devel/py-argcomplete to 1.8.2. Changes for v1.8.2 (2017-01-26) - Fix bug introduced in v0.7.1 where completers would not receive the parser keyword argument. - Documentation improvements. Changes for v1.8.1 (2017-01-21) - Fix completion after tokens with wordbreak chars (#197)
Update devel/py-argcomplete to 1.8.0. - Simplify nospace handling in global completion (#195) - Specially handle all characters in COMP_WORDBREAKS (#187) - Use setuptools tests-require directive, fixes #186 - Complete files using the specified interpreter (#192) - Fix completion for scripts run via python (#191) - Clarify argument to register-python-argcomplete (#190) - Fix handling of commas and other special chars (#172); handle more special characters (#189) - Fix handling of special characters in tcsh (#188) - Update my_shlex to Python 3.6 version (#184) - Fix additional trailing space in exact matches (#183) - Adjust tests to handle development environments (#180) - Fix tcsh tests on OSX (#177); Update bash on OSX (#176); Check output of test setup command (#179) - Optionally disable duplicated flags (#143) - Add default_completer option to CompletionFinder.call (#167) - Let bash add or suppress trailing space (#159)
Update devel/py-argcomplete to 1.7.0. - Restore parser to its original state to allow reuse after completion. - Expose COMP_TYPE environment variable. - Test infrastructure and documentation improvements.
Update devel/py-argcomplete to 1.6.0. 1.6.0 - Add support for tcsh - Fix handling of unquoted completions containing $ - Don't insert unnecessary leading quote char in completions - Fix parser reuse with positional arguments - Tests: Add simple pexpect tests for bash; Add test case to verify #20 is fixed 1.5.1 - Packaging fix 1.5.0 - Do not suggest options from mutually exclusive groups
Update devel/py-argcomplete to 1.4.1. Version 1.4.1 (2016-06-14) - activate-global-python-argcomplete runs on Homebrew out of the box Version 1.4.0 (2016-06-10) - Correctly handle suggestions for positionals with variable-length nargs. Thanks to @evanunderscore (#132, #133).
Update devel/py-argcomplete to 1.3.0. Version 1.3.0 (2016-06-01) - Correctly handle suggestions with custom nargs for optionals. Version 1.2.0 (2016-05-25) - Fix propagation of partially parsed subparser namespace into parent parser namespace upon subparser failure due to partial args. This allows completers to access partial parse results for subparser optionals in parsed_args (#114). - The default completer can now be specified when manually instantiating CompletionFinder. Thanks to @avylove (#130). Version 1.1.1 (2016-03-22) - Use FilesCompleter as default completer fallback (#120).
Update devel/py-argcomplete to 1.1.0. - Recognize subclasses of argparse._SubParsersAction. - Support parsed_args in custom completers with missing args. - Non-ASCII support in FilesCompleter. - Automatically enable FilesCompleter for argparse.FileType arguments.
Update devel/py-argcomplete to 1.0.0. Version 1.0.0 (2015-08-22) - Don't print args with suppressed help by default; add argcomplete.autocomplete(print_suppressed=True) to control this behavior. Version 0.9.0 (2015-07-03) - Fix always_complete_options=False support.
Update devel/py-argcomplete to 0.8.9. Version 0.8.9 (2015-06-01) - Correct doc filename in setup.cfg (fixes bdist_rpm failure, Issue 111). - Make context managers exception-safe. Version 0.8.8 (2015-05-01) - Build and upload universal wheel packages in release. - Fix issue with non-string choices for arguments. - Improve non-ascii argparse argument support on Python 2.7. Version 0.8.7 (2015-04-11) - register-python-argcomplete: add option to avoid default readline completion. Version 0.8.6 (2015-04-11) - Expand tilde in script name, allowing argcomplete to work when invoking scripts from one's home directory. Version 0.8.5 (2015-04-07) - Fix issues related to using argcomplete in a REPL environement. - New helper method for custom completion display. - Expand test suite; formatting cleanup.
Removing python26. EOL'd quite some ago and discussed a couple times on tech-pkg@ and pkgsrc-users@.
Update py-argcomplete to 0.8.4. Version 0.8.4 (2014-12-11) - Fix issue related to using argcomplete in a REPL environement. Thanks to @wapiflapi (pull request #91). Version 0.8.3 (2014-11-09) - Fix multiple issues related to using argcomplete in a REPL environement. Thanks to @wapiflapi (pull request #90). Version 0.8.2 (2014-11-03) - Don't strip colon prefix in completion results if COMP_WORDBREAKS does not contain a colon. Thanks to @berezv (pull request #88).
Import py-argcomplete. Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. It makes two assumptions: - You're using bash or zsh as your shell - You're using argparse to manage your command line arguments/options