diff mbox series

[06/20] py: Remove unused entries in requirements.txt

Message ID 20240611-docker-image-v1-6-51472eb70357@flygoat.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series New CI image and fixes | expand

Commit Message

Jiaxun Yang June 11, 2024, 9:04 p.m. UTC
Many packages in requirements.txt are not actually imported/used
by any test case, some of them was for python2 compatibility.

Remove them to keep our environment clean.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 doc/sphinx/requirements.txt |  1 -
 test/py/requirements.txt    | 18 ------------------
 2 files changed, 19 deletions(-)
diff mbox series

Patch

diff --git a/doc/sphinx/requirements.txt b/doc/sphinx/requirements.txt
index 426f41e1a028..12447386d29b 100644
--- a/doc/sphinx/requirements.txt
+++ b/doc/sphinx/requirements.txt
@@ -10,7 +10,6 @@  MarkupSafe==2.1.3
 packaging==23.2
 Pygments==2.17.2
 requests==2.31.0
-six==1.16.0
 snowballstemmer==2.2.0
 Sphinx==7.2.6
 sphinx-prompt==1.8.0
diff --git a/test/py/requirements.txt b/test/py/requirements.txt
index 0f67c3c61949..f24a842bfe6f 100644
--- a/test/py/requirements.txt
+++ b/test/py/requirements.txt
@@ -1,30 +1,12 @@ 
-atomicwrites==1.4.1
-attrs==19.3.0
 concurrencytest==0.1.2
 coverage==4.5.4
-extras==1.0.0
 filelock==3.0.12
-fixtures==3.0.0
-importlib-metadata==0.23
-linecache2==1.0.0
-more-itertools==7.2.0
 packaging==23.2
-pbr==5.4.3
-pluggy==0.13.0
-py==1.11.0
 pycryptodomex==3.19.1
 pyelftools==0.27
 pygit2==1.13.3
 pyparsing==3.0.7
 pytest==6.2.5
 pytest-xdist==2.5.0
-python-mimeparse==1.6.0
-python-subunit==1.3.0
 requests==2.31.0
 setuptools==65.5.1
-six==1.16.0
-testtools==2.3.0
-traceback2==1.4.0
-unittest2==1.1.0
-wcwidth==0.1.7
-zipp==0.6.0