Skip to content

Commit 56f7dc4

Browse files
committed
scripts: make sure we do not install vulunerable python packages
Make sure we install packages with no issues, some of the issues being reporting on packages we might install using pip: Warn: Project is vulnerable to: PYSEC-2019-41 / GHSA-qfc5-mcwq-26q8 Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56 Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg Warn: Project is vulnerable to: PYSEC-2017-74 Warn: Project is vulnerable to: GHSA-55x5-fj6c-h6m8 Warn: Project is vulnerable to: PYSEC-2014-9 / GHSA-57qw-cc2g-pv5p Warn: Project is vulnerable to: PYSEC-2021-19 / GHSA-jq4v-f5q6-mjqq Warn: Project is vulnerable to: GHSA-pgww-xf46-h92r Warn: Project is vulnerable to: PYSEC-2022-230 / GHSA-wrxv-2j5q-m38w Warn: Project is vulnerable to: PYSEC-2018-12 / GHSA-xp26-p53h-6h2p Warn: Project is vulnerable to: PYSEC-2024-4 / GHSA-2mqj-m65w-jghx Warn: Project is vulnerable to: PYSEC-2023-165 / GHSA-cwvm-v4w8-q58c Warn: Project is vulnerable to: PYSEC-2022-42992 / GHSA-hcpj-qp55-gfph Warn: Project is vulnerable to: PYSEC-2023-137 / GHSA-pr76-5cm5-w9cj Warn: Project is vulnerable to: PYSEC-2023-161 / GHSA-wfm5-v35h-vwf4 Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3 Warn: Project is vulnerable to: GHSA-56pw-mpj4-fxww Warn: Project is vulnerable to: GHSA-j7hp-h8jx-5ppr Warn: Project is vulnerable to: PYSEC-2023-175 Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6 Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52 Warn: Project is vulnerable to: GHSA-c6fm-rgw4-8q73 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 4bbb617 commit 56f7dc4

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

scripts/requirements-base.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ canopen
1818
packaging
1919
progress
2020
patool
21-
psutil
21+
psutil>=5.6.6
2222
pylink-square
2323
pyserial
24-
requests
24+
requests>=2.32.0
2525
semver
26-
tqdm
26+
tqdm>=4.67.1
2727

2828
# for ram/rom reports
2929
anytree

scripts/requirements-compliance.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
clang-format>=15.0.0
66
gitlint
77
junitparser>=2
8-
lxml
8+
lxml>=5.3.0
99
pykwalify
1010
pylint>=3
1111
python-magic-bin; sys_platform == "win32"

scripts/requirements-extras.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
anytree
55

66
# to use in ./scripts for memory footprint, code coverage, etc.
7-
gitpython
7+
gitpython>=3.1.41
88

99
# helper for developers - check git commit messages
1010
gitlint
@@ -16,7 +16,7 @@ junit2html
1616
lpc_checksum
1717

1818
# used by scripts/build/gen_cfb_font_header.py - helper script for user
19-
Pillow>=10.0
19+
Pillow>=10.3.0
2020

2121
# used by scripts/release/bug_bash.py for generating top ten bug squashers
2222
PyGithub

scripts/requirements-run-test.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ natsort
1313
cbor>=1.0.0
1414

1515
# use for twister
16-
psutil
16+
psutil>=5.6.6
1717

1818
# used for CAN <=> host testing
1919
python-can>=4.3.0
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy
1+
numpy>=2.2.3
22
protobuf>=5.27.2
33
grpcio-tools>=1.66.0
44
logic2-automation>=1.0.7
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CoAPthon3
1+
CoAPthon3>=1.0.2

0 commit comments

Comments
 (0)