kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

Add support for Python 3.10 #356

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

Note I pinned flake8<4 because this warning:

./setup.py flake8
running flake8
WARNING: flake8 setuptools integration is deprecated and scheduled for removal in 4.x.  For more information, see gitlab.com/pycqa/flake8/issues/544

https://github.com/kislyuk/argcomplete/runs/3215968706?check_suite_focus=true#step:5:34

... is now an error:

./setup.py flake8
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'flake8'
make: *** [Makefile:5: lint] Error 1
Error: Process completed with exit code 2.

https://github.com/hugovk/argcomplete/runs/3990778854?check_suite_focus=true#step:5:39

I suggest removing the setuptools flake8 use later and removing the pinning.

kislyuk commented 2 years ago

Thanks.