Closed RonEld closed 4 years ago
I think workaround for now is to manually install click 7.0 before any requirements from pal-platform/requirements.txt
and mbed-os/requirements.txt
.
This can be done with following command:
pip install click==7.0
This will be fixed in 4.4.0 release version.
pal-platform.py
fails to run with the following errors:root cause: requirements for
click
are>=6.5
, and on version 7.0 thecase_sensitive
member forclick
was introduced. SinceDynamicChoice
doesn't call its parent__init__
function, I believe that it doesn't recognizecase_sensitive
as its member. suggested solutions:super.__init__
in the child's__init__
function , which will use the inherited attributes (see here)click>=6.5,<7.0
i would favor of doing both