Skip to contentSkip to conversation

python: Update requirements.txt for security issues

PATCH In review Tom Rini 2 participants 3 messages May 30, 2023 – Jun 21, 2023

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 python: Update requirements.txt for security issues

Per GitHub Dependabot:
- Use setuptools 65.5.1 to avoid some DoS issue
- Use requests 2.31.0 to avoid leaking some proxy information

---
Cc: Simon Glass <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>

---
 doc/sphinx/requirements.txt | 2 +-
 test/py/requirements.txt    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
doc/sphinx/requirements.txt +1 -1
index f9f6cc6e928b..aed449211711 100644
@@ -11,7 +11,7 @@ packaging==21.3
 Pygments==2.11.2
 pyparsing==3.0.7
 pytz==2022.1
-requests==2.27.1
+requests==2.31.0
 six==1.16.0
 snowballstemmer==2.2.0
 Sphinx==3.4.3
test/py/requirements.txt +2 -2
index 86d6266053fd..f7e76bdb9181 100644
@@ -20,8 +20,8 @@ pytest==6.2.5
 pytest-xdist==2.5.0
 python-mimeparse==1.6.0
 python-subunit==1.3.0
-requests==2.27.1
-setuptools==58.3.0
+requests==2.31.0
+setuptools==65.5.1
 six==1.16.0
 testtools==2.3.0
 traceback2==1.4.0
Signature · 1 line
2.34.1
Tested-by on v1 1/1
#1 lore raw
Quoted 5 lines · Tom Rini

Per GitHub Dependabot:
- Use setuptools 65.5.1 to avoid some DoS issue
- Use requests 2.31.0 to avoid leaking some proxy information

Documentation builds fine with the patch.

Quoted 36 lines

---
Cc: Simon Glass <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>

---
  doc/sphinx/requirements.txt | 2 +-
  test/py/requirements.txt    | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)
doc/sphinx/requirements.txt +1 -1
index f9f6cc6e928b..aed449211711 100644
@@ -11,7 +11,7 @@ packaging==21.3
  Pygments==2.11.2
  pyparsing==3.0.7
  pytz==2022.1
-requests==2.27.1
+requests==2.31.0
  six==1.16.0
  snowballstemmer==2.2.0
  Sphinx==3.4.3
test/py/requirements.txt +2 -2
index 86d6266053fd..f7e76bdb9181 100644
@@ -20,8 +20,8 @@ pytest==6.2.5
  pytest-xdist==2.5.0
  python-mimeparse==1.6.0
  python-subunit==1.3.0
-requests==2.27.1
-setuptools==58.3.0
+requests==2.31.0
+setuptools==65.5.1
  six==1.16.0
  testtools==2.3.0
  traceback2==1.4.0