Python 3.7 is the default system Python version on Debian 10, which is currently the oldest Debian release that still receives support. I've encountered a compatibility issue with _check_console_script.py on this setup, leading to a lack of completions.
The root of this issue lies in the slightly altered interface of the importlib backport in Python 3.7. This version of importlib does not offer dictionary-style selection for groups, which is a required feature for the current implementation.
Notably, the setup.py file states that Argcomplete should be compatible with Python 3.7. As such, I propose two potential solutions:
Patch the compatibility issue to ensure proper functionality with Python 3.7.
Alternatively, we could increase the minimum required Python version.
Python 3.7 is the default system Python version on Debian 10, which is currently the oldest Debian release that still receives support. I've encountered a compatibility issue with _check_console_script.py on this setup, leading to a lack of completions.
The root of this issue lies in the slightly altered interface of the importlib backport in Python 3.7. This version of importlib does not offer dictionary-style selection for groups, which is a required feature for the current implementation.
Notably, the setup.py file states that Argcomplete should be compatible with Python 3.7. As such, I propose two potential solutions: