Skip to content

Commit 66a770e

Browse files
authored
Merge pull request #14780 from Patater/update-python-requirements
Update python requirements
2 parents 270ea5d + 9b09cdd commit 66a770e

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

.travis.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ matrix:
201201
name: "tools-py35"
202202
env: NAME=tools-py3.5
203203
language: python
204-
python: 3.5
204+
python: 3.7
205205
install:
206206
# Install gcc
207207
- source_pkg gcc
@@ -217,8 +217,7 @@ matrix:
217217
hypothesis>=3,<4
218218
coverage>=4.5,<5
219219
"
220-
- python -m pip install --upgrade pip==18.1
221-
- python -m pip install --upgrade setuptools==40.4.3
220+
- pip install --upgrade pip
222221
- pip install -r requirements.txt
223222
- pip list --verbose
224223
script:
@@ -228,16 +227,6 @@ matrix:
228227
- coverage run -a tools/project.py -S | sed -n '/^Total/p'
229228
- coverage html
230229

231-
- <<: *pytools-vm
232-
name: "tools-py36"
233-
env: NAME=tools-py3.6
234-
python: 3.6
235-
236-
- <<: *pytools-vm
237-
name: "tools-py37"
238-
env: NAME=tools-py3.7
239-
python: 3.7
240-
241230
- &extended-vm
242231
stage: "Pin validation"
243232
name: "pinvalidate"
@@ -246,8 +235,7 @@ matrix:
246235
python: 3.7
247236
install:
248237
# Install python modules
249-
- python -m pip install --upgrade pip==18.1
250-
- python -m pip install --upgrade setuptools==40.4.3
238+
- pip install --upgrade pip
251239
- pip install tabulate argparse
252240
- pip list --verbose
253241
# Fetch the base branch to compare against
@@ -302,8 +290,8 @@ matrix:
302290
- &cmake-build-run-unittest
303291
stage: "CMake"
304292
name: "CMake unittest build"
305-
env: NAME=cmake_unittest
306-
install:
293+
env: NAME=cmake_unittest
294+
install:
307295
# Hide Travis-preinstalled CMake
308296
# The Travis-preinstalled CMake is unfortunately not installed via apt, so we
309297
# can't replace it with an apt-supplied version very easily. Additionally, we

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
colorama==0.3.9
2-
urllib3[secure]==1.24.2
2+
urllib3[secure]>=1.26.5
33
prettytable==0.7.2
44
junit-xml==1.8
5-
pyyaml==4.2b1
5+
PyYAML>=5.4
66
jsonschema==2.6.0
77
future>=0.18.0,<1.0
88
six==1.12.0
99
mbed-cloud-sdk>=2.0.6,<2.1
10-
requests>=2.20,<2.21
10+
requests>=2.20,<3
1111
idna>=2,<2.8
1212
pyserial>=3,<=3.4
13-
Jinja2>=2.10.1,<2.11
13+
jinja2>=2.11.3
1414
intelhex>=2.3.0,<3.0.0
1515
mbed-ls>=1.5.1,<2.0
1616
mbed-host-tests>=1.4.4,<2.0
@@ -26,6 +26,6 @@ cmsis-pack-manager>=0.2.3,<0.3.0
2626
pywin32==224;platform_system=='Windows'
2727
wmi==1.4.9;platform_system=='Windows'
2828
psutil==5.6.6
29-
cryptography>=2.5,<3
29+
cryptography>=3.2,<4
3030
Click>=7.0,<8
3131
cbor>=1.0.0

tools/cmake/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
prettytable==0.7.2
2-
future==0.16.0
3-
Jinja2>=2.10.1,<2.11
2+
future>=0.18.0,<1.0
3+
jinja2>=2.11.3
44
intelhex>=2.3.0,<3.0.0

0 commit comments

Comments
 (0)