You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 python/typeshed#4948)
The text was updated successfully, but these errors were encountered:
JonasDev1
changed the title
[BUG] Type hinting bug in new 2.0.1
[BUG] Type hinting bug in new 2.0.1 with Python 3.7,3.8
Feb 3, 2022
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:
``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 python/typeshed#4948)The text was updated successfully, but these errors were encountered: