Skip to content

Commit cacc434

Browse files
committed
python: Allow newer prettytable with newer python
This helps to allow installation of Mbed OS requirements into the same Python environment as mbed-os-tools or mbed-os.
1 parent c703b0d commit cacc434

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
colorama==0.3.9
22
urllib3[secure]>=1.26.5
3-
prettytable==0.7.2
3+
PrettyTable<=1.0.1; python_version < '3.6'
4+
prettytable>=2.0,<3.0; python_version >= '3.6'
45
junit-xml==1.8
56
PyYAML>=5.4
67
jsonschema==2.6.0

tools/cmake/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
prettytable==0.7.2
1+
PrettyTable<=1.0.1; python_version < '3.6'
2+
prettytable>=2.0,<3.0; python_version >= '3.6'
23
future>=0.18.0,<1.0
34
jinja2>=2.11.3
45
intelhex>=2.3.0,<3.0.0

0 commit comments

Comments
 (0)