From 8ffab0ae5a8ab85a335adc860af8d497d2e0aaaf Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Wed, 21 Jul 2021 13:48:07 +0100 Subject: [PATCH] python: Remove direct dependency on prettytable Mbed CLI 1 parses the base requirements.txt and attempts to automatically install missing python libraries for you. Unfortunately, it's requirements parser is not as capable as the one shipping with pip. In particular, we are unable to express different version of libraries conditional on the version of Python being used. --- [mbed] ERROR: Unknown Error: Unsupported environment marker: python_version < '3.6' Remove the direct dependency on prettytable from requirements.txt, as mbed-os-tools depends on prettytable and we can pick up the dependency (as properly expressed conditionally on the Python version) from there, without having to use the limited requirements parser in Mbed CLI 1. --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 335dcc26a9..30af81b78e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ colorama==0.3.9 urllib3[secure]>=1.26.5 -prettytable==0.7.2 junit-xml==1.8 PyYAML>=5.4 jsonschema==2.6.0