Skip to content

Commit

Permalink
Remove Unused Dependencies: six, python-dateutil (#377)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
gdrosos and e0d authored Sep 8, 2023
1 parent c421125 commit 56aca55
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 0 additions & 3 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 56aca55

Please sign in to comment.