Skip to content

Commit 8ffab0a

Browse files
committed
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.
1 parent c703b0d commit 8ffab0a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
colorama==0.3.9
22
urllib3[secure]>=1.26.5
3-
prettytable==0.7.2
43
junit-xml==1.8
54
PyYAML>=5.4
65
jsonschema==2.6.0

0 commit comments

Comments
 (0)