View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000663 | AlmaLinux-10 | General | public | 2026-08-06 01:10 | 2026-08-06 01:10 |
| Reporter | terrygriffin | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0000663: python3-argcomplete not completing | ||||
| Description | On AlmaLinux10, python3 scripts in the PATH that utilized the `argcomplete` module and are registered with `register-python-argcomplete` are not auto-completing. Package version is 3.2.2-4.el10. | ||||
| Steps To Reproduce | Assuming bash shell. 1. Save the attached file, argcomplete-test.py, in to a directory in your PATH and mark the file as executable. 2. Run the command: eval "$(register-python-argcomplete argcomplete-test.py)" 3. In that same shell session enter: argcomplete-test.py and then press the TAB key twice in succession. You should see these offered as completions: -h --help one three two Instead it will list files in the current directory, if any. (This is the default completion behavior of bash.) | ||||
| Additional Information | Works correctly on AlmaLinux 9. Works correctly in a Python virtual environment with the latest argcomplete module (3.7.1) | ||||
| Tags | No tags attached. | ||||
| Attached Files | argcomplete-test.py (209 bytes)
#!/usr/bin/env python3
import argparse
import argcomplete
parser = argparse.ArgumentParser()
parser.add_argument("choice",choices=["one","two","three"])
argcomplete.autocomplete(parser)
parser.parse_args()
| ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-06 01:10 | terrygriffin | New Issue | |
| 2026-08-06 01:10 | terrygriffin | File Added: argcomplete-test.py |