Describe the bug
With the latest update, type hinting features from python 3.9 have been added, which making the application no longer compatible for Python 3.7 and 3.8.
To Reproduce
Steps to reproduce the behavior:
Install 'awscliv2' on < Python3.9
Run the following command
``awsv2 --install```
Problem solving
The problem occurs since the refactoring at least in the interactive_process.py. It is related to the typ hinting in method signature with Popen[bytes], which will only beeing supported out of the box since Py3.9.
To solve it in 3.7 and 3.8 you can import from __future__ import annotations (See https://github.com/python/typeshed/issues/4948)
Describe the bug With the latest update, type hinting features from python 3.9 have been added, which making the application no longer compatible for Python 3.7 and 3.8.
To Reproduce Steps to reproduce the behavior:
Problem solving The problem occurs since the refactoring at least in the interactive_process.py. It is related to the typ hinting in method signature with
Popen[bytes]
, which will only beeing supported out of the box since Py3.9. To solve it in 3.7 and 3.8 you can importfrom __future__ import annotations
(See https://github.com/python/typeshed/issues/4948)