From 56aca559279bc24ae5a66c732aa71698ecfdc791 Mon Sep 17 00:00:00 2001 From: Giorgos Drosos <56369797+gdrosos@users.noreply.github.com> Date: Fri, 8 Sep 2023 15:59:05 +0200 Subject: [PATCH] Remove Unused Dependencies: six, python-dateutil (#377) * build(deps): remove dependency: six Six dependency wasnot directly used in the project. * build(deps): remove dependency: python-dateutil python-dateutil was not directly used in the source code. * docs: update changelog Updated changelog with the changes regarding the removal of unused direct dependencies. --------- Co-authored-by: Edward Zarecor --- CHANGELOG.rst | 7 +++++++ requirements/base.in | 2 -- requirements/base.txt | 6 ------ requirements/dev.txt | 3 --- requirements/test.txt | 3 --- 5 files changed, 7 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ffc7a2d4..d0556c42 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -27,6 +27,13 @@ Changed [8.9.1] - 2023-08-22 -------------------- +Removed +~~~~~~~ + +* Removed unused direct dependency on ``six``. +* Removed unused direct dependency on ``python-dateutil``. + + Fixed ~~~~~ * Fixed Django 40 middleware deprecation warning diff --git a/requirements/base.in b/requirements/base.in index ffe4cf86..181dd873 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -7,7 +7,5 @@ django-waffle edx-django-utils>=3.8.0 # using new set_custom_attribute method edx-opaque-keys pyjwt[crypto]>=2.1.0 # depends on newer jwt.decode and jwt.encode -python-dateutil>=2.0 requests>=2.7.0 semantic_version -six diff --git a/requirements/base.txt b/requirements/base.txt index 097d36b4..96a9e92a 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -61,8 +61,6 @@ pymongo==3.13.0 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils -python-dateutil==2.8.2 - # via -r requirements/base.in pytz==2023.3.post1 # via # django @@ -71,10 +69,6 @@ requests==2.31.0 # via -r requirements/base.in semantic-version==2.10.0 # via -r requirements/base.in -six==1.16.0 - # via - # -r requirements/base.in - # python-dateutil sqlparse==0.4.4 # via django stevedore==5.1.0 diff --git a/requirements/dev.txt b/requirements/dev.txt index 694a7cc8..6d0f1e0e 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -270,7 +270,6 @@ pytest-django==4.5.2 # via -r requirements/test.txt python-dateutil==2.8.2 # via - # -r requirements/base.txt # -r requirements/test.txt # faker python-slugify==8.0.1 @@ -301,10 +300,8 @@ semantic-version==2.10.0 # -r requirements/test.txt six==1.16.0 # via - # -r requirements/base.txt # -r requirements/test.txt # edx-lint - # python-dateutil # tox snowballstemmer==2.2.0 # via diff --git a/requirements/test.txt b/requirements/test.txt index 83fdaa72..858cf717 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -175,7 +175,6 @@ pytest-django==4.5.2 # via -r requirements/test.in python-dateutil==2.8.2 # via - # -r requirements/base.txt # faker python-slugify==8.0.1 # via code-annotations @@ -192,9 +191,7 @@ semantic-version==2.10.0 # via -r requirements/base.txt six==1.16.0 # via - # -r requirements/base.txt # edx-lint - # python-dateutil # tox sqlparse==0.4.4 # via